HogeBlekker / chirp-graphite

Take data from a Chirp soil moisture sensor and put it into graphite.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chirp/Graphite

Some code to talk to a Chirp soil moisture sensor over i2c (e.g. on a raspberry pi), and then send the data to graphite.

setup

# apt-get install python-smbus

add the user that's going to run the code to group i2c, this avoids having to run it as root:

# usermod -a -G i2c <user>

notes

The sensor source code is here:

https://github.com/Miceuz/PlantWateringAlarm/blob/release/sensor/src/main.c

About

Take data from a Chirp soil moisture sensor and put it into graphite.


Languages

Language:Python 100.0%