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
304 stars 79 forks source link

Retrieved data through modbus not containing data of both inverters #260

Open bqzero opened 4 months ago

bqzero commented 4 months ago

I always had an issue that the retrieved data was not matching the data in isolarcloud. Since I believe that some deviation is to be expected (iSolarcloud showing some "nicer" numbers) I was not questioning the data at all. However last weekend I analysed it more detailed. and found out that the data of my second (slave) inverter is not showing up in the modbus numbers at all.

My Sungrow inverters:

Home Assistant version:

modbus_sungrow.yaml:

Inverter Firmware Status:

Additional context The setup consists of a SH-10.RT-V112, a SG6.0RT and a SBR128 Battery. SG6.0RT and SBR are connected to the SH via modbus by cable as indented by the manufacturer.

iSolar shows all information correctly for each inverter. Modbus is only showing the information of the SH and Battery, production of the SG Inverter is not added or shown.

`# Home Assistant Sungrow inverter integration

https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant

by Martin Kaiser

last update: 2023-09-29

modbus:

Has anyone an idea on what to do so I can get the information of the second inverter to my HA too?

BR, Christian

vistree commented 4 months ago

Yes, you need to connect the second inverter also to your local network and use a second entry in security.yml and a second modbus yml Have a look at this fork - which is not fully up to date with the original git from mkaiser

https://github.com/reesaroo74/Sungrow-SHx-Inverter-Modbus-Home-Assistant