Sungrow SG5K-D PV EVCC modbus not working #17611
Replies: 3 comments 7 replies
-
I have never heard of modbus encryption. Just ask Sungrow for docs. |
Beta Was this translation helpful? Give feedback.
-
Yeah Sungrow added it in a while back circa 2020 for their PV inverters (at least here in Australia, but elsewhere too I'm guessing). See:
I linked above an implementation in Python of the encrypted wrapper around the modbus requests. Could that be something that could be worked into EVCC to support these PV inverters? |
Beta Was this translation helpful? Give feedback.
-
Same issue for me! Would love this to work <3, Any iodate on your testing @michael-robbins ? |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm trying to get EVCC working with my Sungrow SG5K-D PV inverter. It's connected with the comms dongle over wifi, and exposes a modbus interface on TCP/502. There isn't an 'internal ethernet' port or anything on this model.
I'm currently using SunGather to connect at the moment to export all the registers over MQTT to HA (and understand if EVCC is setup it offers a modbus server that this can use).
But it's not working at the moment and I'm not sure why, looking at SunGather it uses a TCP modbus client, but under the hood it looks like Sungrow actually have an encryption layer sitting over the top of the modbus connection.
The above repo uses Sungrow-Modbus under the hood, which does the lightweight encryption/decryption of the modbus packets.
Here's my meter config:
And here's some of the logs:
And the traces:
Any pointers on this? Could it be the encryption requirement on these Sungrow SG inverters modbus comms?
Beta Was this translation helpful? Give feedback.
All reactions