mletenay
Members
-
Joined
-
Last visited
Reputation Activity
-
mletenay got a reaction from Cef in Goodwe 5048ES Protocol reverse engineeringIt seems various inverter models and/or firmware versions slightly differ in the response data (resp. their lengths).
So I've replaced the primitive response length check with proper checksum and response type validation.
Now it should be more robust in respect to different inverters.
-
mletenay got a reaction from Weasel in Goodwe 5048ES Protocol reverse engineeringThere's no real need for udp traffic sniffing anymore, I believe we have managed to understand most of the protocol.
The python library is still being tweaked here and there, but it is close to being stable.
Although java (which Openhab is written in) is my "native" language, to be honest, I don't have much intention (or time to be more precise) to port it there at the moment.
I was selecting between Home Assistant and OpenHab, decided for the HA and I'm happy so far.
-
mletenay got a reaction from Niel in Goodwe 5048ES Protocol reverse engineeringBit shift by 8, but it is a big endian encoding so the most significant byte is on the left.
Plus be aware some values need some (sign) conversion magic "if value > 32768 then value = value - 65535".
Look at the python sources, they are pretty self descriptive.
-
mletenay got a reaction from Niel in Goodwe 5048ES Protocol reverse engineeringIt seems various inverter models and/or firmware versions slightly differ in the response data (resp. their lengths).
So I've replaced the primitive response length check with proper checksum and response type validation.
Now it should be more robust in respect to different inverters.
-
mletenay got a reaction from gbyleveldt in Goodwe 5048ES Protocol reverse engineeringIt seems various inverter models and/or firmware versions slightly differ in the response data (resp. their lengths).
So I've replaced the primitive response length check with proper checksum and response type validation.
Now it should be more robust in respect to different inverters.