[1]: https://getchip.com/
[2]: https://sensing.honeywell.com/HIH8120-021-001S-humidity-sens...
[3]: https://www.influxdata.com/time-series-platform/chronograf/
[1]: https://getchip.com/
[2]: https://sensing.honeywell.com/HIH8120-021-001S-humidity-sens...
[3]: https://www.influxdata.com/time-series-platform/chronograf/
I've been ~hoping~ to use Go to access the GPIO pins, but haven't had much success - any suggestions?
http://pi.tafkas.net/temperatures/
Blog post: http://blog.tafkas.net/2012/10/03/gathering-and-charting-tem...
Here's the program I wrote to read the sensor over I2C: https://gist.github.com/tsyd/f48e933a21fb40b9f9eea28118f54e0...
This has the added benefits of being able to be powered with a solar panel.
1. Why not just run InfluxDB and Chronograf on one of the CHIPs?
2. How are you sending data to the Pi?
I started off with a single C.H.I.P. and ran everything on it but then when I added a second C.H.I.P. I wanted to have all the data in a central location. I also found Chronograf lag a lot when trying to browse more than a couple day's worth of data. The Raspberry Pi has much faster storage and CPU.
> How are you sending data to the Pi?
The C.H.I.P. has a Python script that runs on a cron that calls a C program to read the sensor and then sends it to the Pi using InfluxDB's HTTP API.
https://steve.fi/Hardware/d1-temperature-humidity/
While I don't have any particular reason for collecting the data it can be fun to look at. For example you can easily spot when somebody has a shower because the humidity spikes in the bathroom:
https://twitter.com/Stolen_Souls/status/848444075296641025
Naively I expected to track the weather, because I figure on a hot day the temperature of my living-room/etc would spike. Turns out this house is pretty well insulated so the internal temperature has essentially no relationship to the external one. I guess that makes sense in a country where you might have -25'C in the winters.