ruuvi

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Ruuvi

Saves ruuvi tag measurements to InfluxDB. You can use Graphana to view results from database. This code has been run on RaspberryPi. So it should work at least there.

Application stores Temperature, Pressure, Humidity%. It will also calculate absolutely humidity and dew point. Those are also stored to DB.

Building

This should be compiled with go 1.15 or later Set env variable GO111MODULE so that golang uses correct version of modules export GO111MODULE=on

You need to have installed golang and make to be able to compile. First you need to add dependencies and only after that build application. Steps:

  1. make env
  2. make build

This will create ruuvi binary.

Executing

Before executing setup config.yml. You need to give name for sensors and provide MAC address of those sensors. Only those sensors are stored to db which MAC address is provided in config.yml. Each device is stored in 15s interval. True interval is some where 15s-17s because Ruuvi Tag is sending every 2s measurements.

It is expected that config.yml is in the same directory with binary.

DB

Database name is weather. Presission is second.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址