Skip to content

oehnstro/RuuviChip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RuuviTag to Grafana

Send RuuviTag data to Grafana.

Install dependencies

Switch to root

sudo su

Install dependencies

apt-get install libbz2-dev liblzma-dev libsqlite3-dev \
libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev \
python3-pip python3-dev python3-psutil \
libssl-dev tk-dev bluetooth bluez bluez-hcidump


pip3 install --upgrade setuptools
pip3 install ptyprocess requests ruuvitag_sensor

Edit the ruuvi.py script to include the correct InfluxDB host and update interval

Test the script

python3 ruuvi.py

Copy the ruuvi_start.sh and ruuvi.py to /root/

cp ruuvi_start.sh ruuvi.py /root/

Make the script start after reboot by adding it to root's crontab: crontab -e

@reboot /root/ruuvi_start.sh

Finally reboot to apply all the changes

Sources

License

Licensed under the MIT License.

About

Temperature sensors using C.H.I.P and RuuviTag

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published