diy solar

diy solar

Monitoring MPP/Clone systems with freeware Pi/Grafana

@BarkingSpider I forked your projekt and updated it to latest protocol version. spend some afford to make some settings switchable (protocol version / cellcount / device port)

Be carefull, a lot of firts in it:
- First time I use Pyhton
- First time I use with Grafana
- First time i use Prometheus / Node-Exporter
- ...

Have fun:


Found some issue with the Command 58, it reports the cell impedance. for 16 cells, it should be 40byte long but I always get 59byte.
 
Looks good! I want to get the new Growatt 48v 6kw unit that is out now. I can probably use your code to monitor it.

Is your system working good? Are you getting that data you want?
 
Well BMS is working fine.

Expect for the Impedance Output. For 16 cells, I should get 40bytes but it outputs 59 Bytes. This cause lengt and checksum check to fail (it added this too :p)

Can't get getMPPSolar.sh working. I tryed to make it executable using chmod -x. But now success. Just using a basic raspberry installation. NO extra user added only "pi" user...
 
Out of curiosity... since I already have a computer running a Debian-based operating system, with quite a few USB ports (what I'm writing this on) would I need an additional one, like a Raspberry Pi, or could I just plug the MPP into a port on this and see the graphs?
 
Yes, the only reason i was using a Pi is because of its low power usage, it's small size and cost. Any Linux based system with serial ports should work. Obviously running the same linux distribution will make life easier. Have fun!
 
Hi, I've been trying for 48 hours to get this thing working but I've encountered a lot of difficulties and honestly I'm a little lost.

I have a Raspberry Pi3 B as hardware. photovoltaic inverter is edison 3024 and uses wathpower like many.
I have attempted to follow BarkingSpider's guide and as I said I have had various problems and nothing seems to really work.
I managed to install Raspberry OS Minimal as described in the guide.

I managed to create the solar user and with a lot of effort insert it into the sudoers group (not explained but I think necessary)
I installed phyton 3
I managed to log in remotely with ssh using the solar user, I noticed that it still asks for the password, I think it's wrong..
I managed to install grafana
I managed to install prometheus and node_exporter but both don't start on boot and give some errors
now if I connect to port 3000 I find the grafana homepage which seems ok, however ports 9100 and 9090 do not respond.
if I start prometheus manually port 9100 responds but if I restart the system it won't do so anymore. 9090 there is no way that responds instead...

I'm very frustrated and I don't know how to continue given the amount of problems and errors, my only hope is that someone can guide me and explain what I'm doing wrong.
so please help me.
I wrote a summary of the situation so as not to make the post too long
 
Back
Top