blog/content/posts/2015/05/02/sunpowered-data.md
2022-06-25 08:47:06 +01:00

1.8 KiB

title date tags series
Update on the sunpowered server 2015-05-02 14:54:05
observability
sunpowered

Some, rather long, time ago I've added a custom python data acquisition and graphing to my sunpowered RaspberryPi installation on the balcony. Since then I've upgraded it to Raspi2 and ported the data thingy to influxdb + grafana. All 3 of those things I am very positively surprised by.

RaspberryPi2 - definitely worth the upgrade - it's a speed demon now.  Small caveat - I recommend installing raspbian from scratch, especially if you had some custom overclocking config, as these do not seem to be compatible between Pi1 and Pi2. Also RasPi2 needs a microsd card instead of full-sized one. As for the software - since everything went surprisingly smoothly this post is not much of a tutorial. Just go to influxdb and Grafana and go through the respective installation documentation. You need x86 64bit server to host this, so unfortunately no self-hosting on RaspberryPi - at least I wasn't able to compile the software there. I've changed the original python scripts slightly, to upload the data to influxdb instead of graphing directly via matplotlib. Then configured grafana to display some cool graphs and that was pretty much it - you can see the result at data.cyplo.net.

Right now I'm testing 2 different sizes of solar panels and batteries, hooked at the same time. The ADC is connected as it was before though, so a TODO is to add more measurements, to see how the individual  panels' output change during the data and how does it affect each of the batteries.

{{< gallery dir="galleries/sunpowered-data" />}}