4 comments

[ 2.2 ms ] story [ 20.6 ms ] thread
Did a similar thing. MQTT broker and small node server to include current values. It's not generalized and tuned, but could be a nice starting point. https://github.com/martinlechner1/raspberry-node-mqtt
Super useful.

Have you worked out how to run for a long time from a smallish battery?

I'm running 4 of these sensors right now and I am just using the small free-gift type of USB power packs. They are lasting several days without using deep sleep optimizations.

In the next post I'll show how to aggregate the data into InfluxDB for charting.