Skip to content

A simple solution for collecting ruuvitag data to an influxdb instance on a raspberry pi 3b using Python

License

Notifications You must be signed in to change notification settings

jcalais/pythonruuvi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonruuvi

A simple solution for collecting ruuvitag data to an Influxdb instance on a Raspberry Pi 3b using Python

Compatibility and dependencies

Configuration

Add a .env -file in the root with the following structure:

APPROVED_MACS=["AB:CD:EF:12:34:56","12:34:56:AB:CD:EF"]
INFLUX_DB=ruuvi
INFLUX_HOST=localhost
INFLUX_PORT=8086
RUUVI_FIELDMAP=["temperature","humidity","pressure","txPower","movementCounter","measurementSequenceNumber","tagID", "rssi"]

Where APPROVED_MACS of course are the mac addresses of your existing ruuvi tags and INFLUX_DB is the name of your database in Influxdb that you wish the data to be written to.

Feel free to edit the default RUUVI_FIELDMAP. It determines what Ruuvi Sensor fields are collected.

Protip

You can then use Grafana to easily output all this in a nice looking chart.

About

A simple solution for collecting ruuvitag data to an influxdb instance on a raspberry pi 3b using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors