mvandersteen / SungrowInverter

Allows to pull data from a Sungrow residential inverter via Modbus TCP
Other
25 stars 16 forks source link

SG2.5RS-S timeout on 'self._send(GET_KEY)' #19

Open laszlobortel opened 3 weeks ago

laszlobortel commented 3 weeks ago

My SunGrow SG2.5RS-S inverter times out on 'self._send(GET_KEY)'. After (the default 60s) timeout the communication proceeds without encryption and returns valid values. When commenting out 'self._send(GET_KEY)' the communication completes very quickly, without timeout. I think this problem affects all SGxxRS models (type codes 0x2600-0x2607) and possibly others. A possible (very ugly) workaround is to decrease the timeout value, but I do not really want to do this.

@jarod1990-Developper: Could you please confirm if you have the same timeout problem with your SG2.0RS-S inverter? @mvandersteen: Please look into the problem and provide a solution! Thanks!

laszlobortel commented 3 weeks ago

I think the WiNet-S dongle handles the modbus/RS485 <=> modbus/tcp translation, therefore all inverters with this dongle are affected. Firmware versions:

Version | M_WiNet-S_V01_V01_A

Device Model | SG2.5RS-S Rated Active Power | 2.5 kW Rated Reactive Power | 1.5 kvar ARM Software Version | SUNSTONE-S_01011.01.32 MDSP Software Version | SUNSTONE-S_03011.01.18 SDSP Software Version | SUNSTONE-S_04011.01.01 PVD Software Version | -- CPLD Software Version | SUNSTONE-S_08011.01.01 AFCI Software Version | AFCI_06002.01.06

The inverter is relatively new. I have purchased the inverter with the dongle last year and I wonder if a firmware update is available.