MichaluxPL / Sofar_LSW3

Get MODBUS data from Sofar (K-TLX) inverter through LSW-3 or LSE module
GNU General Public License v3.0
94 stars 45 forks source link

Wifi logger Protocol #43

Closed GusakIurii closed 2 years ago

GusakIurii commented 2 years ago

MichaluxPL, thanks for a great start with inverters via Wifi logger. Would you like to make a similar module for the new G3 series inverters, could you share the WiFi Loggera protocol? I searched the entire Internet, I can’t find anything ... Maybe you can send it to the post office if you don’t want to post it for everyone: spenikolaev@gmail.com

MichaluxPL commented 2 years ago

Everything I know about WiFI Logger protocol You can find in my script - look at lines 133-143. Unfortunately I do not own G3 series inverter, so I won't be able to write anything for it :(

GusakIurii commented 2 years ago

And if I give access to my inverter and the modbus table, could they register? If you are interested, please send me your personal email, I will send all the information

rimelis commented 1 year ago

The logger protocol is defined here: https://pysolarmanv5.readthedocs.io/en/latest/solarmanv5_protocol.html#further-reading G3 series inverter has absolutely different function codes and address ranges. The protocol is pinned in https://github.com/pawsuch/Sofar_G3_LSW3 fork.

jochym commented 1 month ago

The function code for reading is 0x03 not 0x04 for G3 inverters (I do not know what it is for other types). After changing this value, I got proper response. I will post my changes for KTLX-G3 inverter when I finish register map.