butter_fry
New Member
Hey folks,
mostly a new lurker but I thought it interesting to share something new that is being worked on. For you DiY'ers this will make your tesla-snorting buddies jealous.
It's not my project, but I think I was one of if not the first to get it up and running aside from the creator. Consider this a plug and a nudge to go help develop/test it.
The setup: Super vanilla budget 8s Lishen/Eve 280ah build with an Overkill BMS fed by a Growatt spf-3000. Nothing exciting to see.
I wanted a way to monitor all this for the remote install location, so I started poking around Github to see what the nerds were up to. I ran across a little script that @tgalarneau was just in the process of publishing and tweaking. Over the course of a few days we adapted his 16cell code to the 8cell version. The result is some pretty cool stat porn. He also is a member here aparently and started his own thread about his work. Consider this a boost and endorsement, totally worth getting this up and going for anyone who is into stat meditations. Give him props.
I'm not done filling it all in, but all the metrics are there waiting to be used. At this point, communication is receive only (it's not a replacement for the App that can change settings) but that is all that anyone really needs for monitoring. I'm mentioning this because after some searching around here it doesn't look like anyone on the forums/interwebs has taken it as far, or cracked open the wonky communication protocol over bluetooth LE as far as he has.
The installation is pretty straightforward for those with basic unix skills and some patience to get it setup. I'm a total kludge, but am plenty proficient with the basics and hardware/software install portion. After that, the script just runs and feeds data into a influxdb database for displaying by Grafana.
Both he and I are running the code on Raspberry Pis'. I'm using a ultra fast one, he's using the most basic of all. His observation is that the RPi Zero-w is a bit anemic for the TIG (telegraf, Influx, Grafana) stack. Mine barely notices it's doing work and is running a bunch of other containers and processes too.
The end goal for mine is to display this dashboard on a little RPi touch panel screen that is mounted onsite for the client to interact with and monitor the system.
Stats come in at any speed you want, but i'm working with a 10s update. Unfortunately the Growatt maxes out a 1minute updates, which leaves a bit to be desired on that portion of the stats. It prevents me from doing some more advanced synchronous calculations (BMS and Solar aren't in sync) It's a budget system limitation, but maybe I'll dig into it and see if I can hijack it further to grab stats at a lower level instead of the http sends to the growatt online server. I'm using a cool little package called grott for that. It feeds metrics into the same database as well as forwards it to the growatt server and can be consumed by Grafana as well.
The screenshot below is a snip from Home Assistant located in yet another location. This other remote RPi and the onsite one are connected via a VPN over a 4g celluar modem. The second Pi (at my client's home) is the one running Grafana and consuming/displaying the data. I have Home Assistant monitoring alerts and alarms produced by the BMS script. I get notified of battery depletion, Over current, BMS and Charger error states, Float cycle start, temps... When the battery gets down to 15%ish Home Assistant remote-starts a little suitcase generator to supplement the storage for as long as needed. Metrics are cool
mostly a new lurker but I thought it interesting to share something new that is being worked on. For you DiY'ers this will make your tesla-snorting buddies jealous.
It's not my project, but I think I was one of if not the first to get it up and running aside from the creator. Consider this a plug and a nudge to go help develop/test it.
The setup: Super vanilla budget 8s Lishen/Eve 280ah build with an Overkill BMS fed by a Growatt spf-3000. Nothing exciting to see.
I wanted a way to monitor all this for the remote install location, so I started poking around Github to see what the nerds were up to. I ran across a little script that @tgalarneau was just in the process of publishing and tweaking. Over the course of a few days we adapted his 16cell code to the 8cell version. The result is some pretty cool stat porn. He also is a member here aparently and started his own thread about his work. Consider this a boost and endorsement, totally worth getting this up and going for anyone who is into stat meditations. Give him props.
I'm not done filling it all in, but all the metrics are there waiting to be used. At this point, communication is receive only (it's not a replacement for the App that can change settings) but that is all that anyone really needs for monitoring. I'm mentioning this because after some searching around here it doesn't look like anyone on the forums/interwebs has taken it as far, or cracked open the wonky communication protocol over bluetooth LE as far as he has.
The installation is pretty straightforward for those with basic unix skills and some patience to get it setup. I'm a total kludge, but am plenty proficient with the basics and hardware/software install portion. After that, the script just runs and feeds data into a influxdb database for displaying by Grafana.
Both he and I are running the code on Raspberry Pis'. I'm using a ultra fast one, he's using the most basic of all. His observation is that the RPi Zero-w is a bit anemic for the TIG (telegraf, Influx, Grafana) stack. Mine barely notices it's doing work and is running a bunch of other containers and processes too.
The end goal for mine is to display this dashboard on a little RPi touch panel screen that is mounted onsite for the client to interact with and monitor the system.
Stats come in at any speed you want, but i'm working with a 10s update. Unfortunately the Growatt maxes out a 1minute updates, which leaves a bit to be desired on that portion of the stats. It prevents me from doing some more advanced synchronous calculations (BMS and Solar aren't in sync) It's a budget system limitation, but maybe I'll dig into it and see if I can hijack it further to grab stats at a lower level instead of the http sends to the growatt online server. I'm using a cool little package called grott for that. It feeds metrics into the same database as well as forwards it to the growatt server and can be consumed by Grafana as well.
The screenshot below is a snip from Home Assistant located in yet another location. This other remote RPi and the onsite one are connected via a VPN over a 4g celluar modem. The second Pi (at my client's home) is the one running Grafana and consuming/displaying the data. I have Home Assistant monitoring alerts and alarms produced by the BMS script. I get notified of battery depletion, Over current, BMS and Charger error states, Float cycle start, temps... When the battery gets down to 15%ish Home Assistant remote-starts a little suitcase generator to supplement the storage for as long as needed. Metrics are cool
Last edited: