Water Monitor
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
supervisor
.gitignore
LICENSE
README.md
start.sh
watermon.py

README.md

Water Monitor

Reads a HMC5883L sensor to detect a magnet spinning inside a water meter. Reverses to field strength on the y axis are counted to detect water is flowing. Liters in a period are uploaded to grovestreams for graphing.

Wiring:

HMC5883L Pin Raspberry Pi Pin
Vin 1
Gnd 6
SDA 3
SCL 5

Requires the Think Bowl i2c libraries for python http://think-bowl.com/raspberry-pi/installing-the-think-bowl-i2c-libraries-for-python/ or https://github.com/quick2wire/quick2wire-python-api.git

Derived from http://seductiveequations.com/2015/11/09/water-meter.html and ported to python (thanks!).