Can someone recommend the best way to open port 502 and enable Modbus on a 6 kW Sungrow inverter?
The installer is coming today to do it, but he has no idea how to proceed and expects me to guide him.
It would be helpful to know whether it’s better to do it via the iSolarCloud app or by connecting directly to the inverter’s IP address. Thanks!
connected to the wifi dongle with username and password set by the installer, you enter installer mode, and from there by trying I found the modbus menu to enable and choose the port which I left unchanged at 502
Thanks for the great work on this integration. Little by little, I managed to enable everything.
I keep getting these error logs in Home Assistant, and I also see many unavailable entities among the 126 created.
My inverter is single-phase 6kW, so I think it’s normal that many entities don’t have data.
But I was wondering, how can I clean this up? Should I delete each unavailable sensor manually in Home Assistant? Or is it better to edit the .yaml package file?
Thanks!
Registratore: homeassistant.components.modbus.modbus
Fonte: components/modbus/modbus.py:310
Integrazione: Modbus (documentazione, problemi)
Prima occorrenza: 09:27:52 (2 occorrenze)
Ultimo accesso: 09:28:02
Pymodbus: SungrowSHx: Error: device: 1 address: 5740 -> pymodbus returned isError True
o sti errori, probabilmente dati non disponibiliin home assistant
Thank you, a great project, and working with my SH10RS.
Can anyone explain to me what “battery charging start power” and ''battery discharging start power" are and what they are used for?
Also if it helps anyone down the track, when setting up was getting modbus errors that looked like a permission issue “Error:NoError” and “Connection terminated”, even though I was able successfully ping the modbus ip address. Turned out to actually be a bad Ethernet cable.
If it helps anyone else: Start Charging Power and Start Discharging Power were only applicable to old SH*K model inverters.
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
So not applicable my inverter.
Did you need installer specific details to turn modbus on in the first place with the SH10RS? Or is just plugging in to the ethernet port and establishing a connection enough?
ich habe die Integration für meinen Sungrow SH10RT jetzt schon länger und augenscheinlich ist damit alles wunderbar, denn die Werte kommen wie Sie sollen.
Nun habe ich vergangenes Wochenende eine Batterie nachgerüstet und möchte diese über die Integration/ HA steuern. Die Slider und Schalter kann ich auch bewegen und bedienen, nur hat das leider keinen Effekt auf den Sungrow:
Kennt Jemand das Phänomen und weiß, wo ich nach dem Problem suchen kann? Das wäre mir echt wichtig, da ich eine Automation zur Ladesteuerung erstellen möchte.
Hey there,
I’m using HA and the Sungrow Intergration via Modbus for half a year now and all things running good so far. All information show up with correct value/ state.
Last weekend I set up a battery for first time and even their values are correct.
Now I wanted to steer the battery/ inverter with the sliders and drop-downs to set min and max SOC but nothing is happening. (see screenshot above)
You could also install the “EVCC Addon” and the “EVCC Integration”.
The opensource EVCC project is made to control EV charging, but has “native” support for Sungrow inverters, so even without an EV you can control your inverter and see lots of entities from your inverter, via the integration, in Home Assistant.
Had no clue this existed and installed it this morning, amazing add-on and integration. Works seamlessly with my inverter over the modbus IP.
Still can’t get this for some reason to work with my Sungrow SH10.RS for the life of me. Considering EVCC had it out of the box and it just worked makes me more confused.
Any clue which sensors would be appropriate from EVCC to feed the “Energy” fields in HASS?
There is a significant update on mkaiser’s GitHub repo for the Sungrow SHx integration. "update 2026-01-01 “Version 2 of modbus_sungrow.yaml” If you haven’t checked the page recently, you might want to take a look to see how it affects your current Home Assistant setup.
I have installed the latest version of the Sungrow inverter. I have an SH5 and a Sungrow battery.
As soon as I enable forced charging or forced discharging via Home Assistant, the option becomes unavailable after about 10 seconds and then becomes available again. However, nothing actually happens.
Could this be a communication issue with Modbus, or could it be something else?