mvandersteen / SungrowInverter

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

Sungrow Device Model: SG5K-D #4

Closed Stephen2615 closed 1 year ago

Stephen2615 commented 1 year ago

Greetings

I have a Sungrow Device Model: SG5K-D with a Wifi V31 dongle on it. When trying the test.py, I get this error.

ERROR:UPSUPPORT INVERTER: Supported inverter device_type_code [294] is not supported

I see that someone has a fix for this with a HA docker but I haven't implemented it yet.

Regards

Stephen

mvandersteen commented 1 year ago

You could try adding the following to the end of the inverter list.

SungrowInverterModel(0x126,'SG5K-D','string',2),

I found a manual for your SG5K-D inverter but those inverter were not part fo the modbus doc's i had so , can't say if that will work or not. note the 294 is decimal for the code which are stored in the list of inverters hex value is 0x126 and that 294 was not included hence the error. I'll be interested how you trave with this one.

Stephen2615 commented 1 year ago

Greetings,

I added that string to the end and it works very well. Thank you for this help.

Cheers

Stephen