solmoller / eversolar-monitor

Script to capture data and create statistics from Eversolar/zeversolar Solar Inverters. Includes easy install image files for Raspberry Pi. Working edition since 2012 :-)
https://github.com/solmoller/eversolar-monitor/blob/wiki/Introduction.md
MIT License
30 stars 20 forks source link

Active power control #66

Open solmoller opened 10 months ago

solmoller commented 10 months ago

We should add power control to the system, as negative prices become normal..

Here is the command to set inverter at 90% Header

Header         Source Address Destination Address Control Code Function Code Data length Data0 Data1 Checksum
0xAA             2 Bytes               2 Bytes                     0x13                   0x20                 0x02          90      30        2 Bytes

Data1 is adjust time in seconds

Integration to HA the other way may pose an interesting problem

henrykuijpers commented 5 months ago

@solmoller Is there any specification sheet and/or documentation about the inverter? I sent an e-mail to SMA / Zeversolar, but they told me there is no specification of the protocol. How did you find out about this (nowhere documented?) command?

henrykuijpers commented 5 months ago

Also, integration to HA could be realized pretty easily, no? A slider could be added that defaults to 100%, that can be controlled. If one controls the slider, the Perl script should be able to catch that configuration (read mqtt for example?) and interact with the inverter to set the desired percentage.

I am very curious to know what more configurations / actions can take place with this inverter. It seems to have a lot of functionality, that is not visible at first sight. I thought it only had a button to scroll through a menu that contains very limited information. There is definitely, in the menu of the inverter, no option to set that power percentage, I think?

solmoller commented 4 months ago

Hi, send me a PM, and I'll find the factory documentation for you

henrykuijpers commented 4 months ago

@solmoller how can I send you a pm? I don't think GitHub has a pm functionality?

solmoller commented 4 months ago

Got what? ;-)