mkaiser / Sungrow-SHx-Inverter-Modbus-Home-Assistant

Sungrow SH Integration for Home Assistant for SH3K6, SH4K6, SH5K-20, SH5K-V13, SH3K6-30, SH4K6-30, SH5K-30, SH3.RS, SH3.6RS, SH4.0RS, SH5.0RS, SH6.0RS, SH5.0RT, SH6.0RT, SH8.0RT, SH10RT, SH5.0RT-20, SH6.0RT-20, SH8.0RT-20, SH10RT-20, SH5.0RT-V112, SH6.0RT-V112, SH8.0RT-V112, SH10RT-V112, SH5.0RT-V122, SH6.0RT-V122, SH8.0RT-V122, SH10RT-V122, SH4.6R
376 stars 95 forks source link

binary sensors battery charging and discharging are off #79

Closed Falkoh150 closed 1 year ago

Falkoh150 commented 1 year ago

What can be the reason for the sensors mentioned switching off again and again and no longer supplying any values? I'm new to home assistant and don't really understand the connections yet. Many thanks for the help.

dylan09 commented 1 year ago

They are constantly off? Or do they toggling between on and off in short intervals?

Falkoh150 commented 1 year ago

They were on at the beginning and then they went off, so I didn't get any more values ​​for charging and discharging. If I turn them on manually, they turn off again after a short time. Maybe it has to be like this, I'm not that familiar with it. But I would like the values.

dylan09 commented 1 year ago

Where did you connect your LAN cable? WiNet or the separat LAN port?

Falkoh150 commented 1 year ago

WiNet

dylan09 commented 1 year ago

That should be the reason for your trouble. Please read the 3rd paragraph binary sensors battery charging and discharging are off · Issue #79 · mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant. ModbusTCP isn`t working without errors over WiNet Adapter. Use the native LAN port.

Falkoh150 commented 1 year ago

Thanks, I'll test it. Unfortunately, I first have to pull a cable across several rooms. Is that the separate LAN Port? So not the one on WiNet.

dylan09 commented 1 year ago

Maybe you could use the cable connected to the WiNet for testing. I think for a few hours it will be ok to be not connected to iSolarCloud. And be aware that your DHCP server will assign a new IP address to the Sungrow LAN adapter. Must be changed in your secrets.yaml

Falkoh150 commented 1 year ago

Thank you for the tips and help.

mkaiser commented 1 year ago

@Falkoh150

do you have updates? Could you solve the issues?

Falkoh150 commented 1 year ago

With a LAN cable on the separate LAN connecter, all data is now delivered stably. Thank you very much for your help