I can’t use the direct LAN Port of the Sungrow, can’t get it working, so i must use the WiFi Dongle with LAN.
Therefore as discribed on the top i cannot get all Modbus Commands.
Now i have connected a RS485 Cable on the Inverter with a USB-Modbus Stick on my HA Server.
What do i have to change for using ttyUSB1 instead of Modbus-LAN?
It just worked “out of the box”… I additional connected the LAN-Port (at the moment I even have the WiNetS running for the iSolarCloud) and then changed the IP-Adress in the secrets.yaml and it was running
ok, i got it running too!
My mistake was to asume that the Website of the SungrowInverter is also reachable over the LAN Port!
This LAN Port seems to be good ONLY for the Modbus-TCP Datas!
So the Solution with 2 LAN Cables seems to be the best if one want MODBUS and Website.
hey
did you find how to handle this, where to do it? - as a rookie, i’m struggling to “decrypt” this solution implementation - cannot figure out where to add/change that script config.
[Edit]
Solved because it rly was a defect port
[/Edit]
I am struggling getting this ModBus Port running. I am having a SH10RT-V112 with an WiNet-S Adapter. Both Ports, the “internal” one as well as the WiNet-S Adapter are connected using LAN. I tested both LAN cable with an cable tester and both are absolutely fine.
I am getting an IP address of the WiNet-S wired-connection but the “internal” LAN Port is not connected. No IP address in my router, no blinking light at the switch … nothing. I already did the Cold-Start thing from the Known-Errors section. Nothing seems to work. Is there a hidden option I have to enable to enable that ModBus-Port?
Hello
thanks for the great work.
My configuration is: the Dongle (Lan) for iSolar and the Lan-Connector for Modbus and your Application.
It works mosttime pretty, but sometimes I get Errors:
Warning
modbus SungrowSHx communication closed
Error
Pymodbus: SungrowSHx: Modbus Error: [Connection] ModbusTcpClient(192.168.178.84:502): Connection unexpectedly closed 3.2901763916015625e-05 seconds into read of 8 bytes without response from unit before it closed connection
I‘ve another question.
The template sensor of the sungrow inverter state is allways “Unknown - should not see me!” because the modbus sensor of the system state is 0 if the inverter is running normal.
In the Logs I can also find these values for the system state modbus sensor: 0, 21760, 5120 and 5632.
I’m using a SH10RT. All other values for example for the device type are correct.
- name: System state
unique_id: sg_system_state
slave: !secret sungrow_modbus_slave
address: 12999 # reg 13000
input_type: input
count: 1
data_type: uint16
swap: word
precision: 0
scale: 1
scan_interval: 10
Just install 2023.8.2 and wait for 2023.8.4. the current release 2023.8.3 the modbus is broken. You also don’t need to restore a backup. Just use terminal and execute „ha core update —version 2023.8.2“
check the last update - it was an issue with my code
I used “word swaps” for int16 uint16 data types, which does no sense. The latest modbus updates found this possible issue and the validator was updated accordingly. Then it did not allow the integration to load, which is actually a desired behaviour…
I installed your cool sungrow integration for our SH10RT, it works but i dont get the battery charge/discharge gauge working. The binary types also are still without function.
Is this a known issue ? what can i check ?