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

Adding Support for SH8.0RS and SH10RS Inverters #205

Closed ABredhauer closed 8 months ago

ABredhauer commented 8 months ago

Adding support for these device codes

Louisbertelsmann commented 8 months ago

I don't know if this would be needed. The problem is the different registers for anything else.

ABredhauer commented 8 months ago

Yes I am finding that there are some registers not supported by these inverters currently but I'm not sure if this is a firmware issue or not as they are still very new. I thought I would start at least with the model code as the majority of sensors are still functional for me currently - testing on my SH10RS

Louisbertelsmann commented 8 months ago

A problem would be the missing sensors for the new registers. That‘s nothing you can fix with a firmware update. We could do a second version, but I think @mkaiser is already working on something new.

ABredhauer commented 8 months ago

No I'm saying that the new registers listed in the doc are still reporting illegal addresses when I try to poll them - thats what I'm saying requires a firmware update. No point connecting a sensor to something that the inverter says doesn't exist.

I agree that this change doesn't enable full support for the new inverters but its a start. Happy to help you or @mkaiser work on a new file to support these ones, I've only been looking at this integration for a couple of weeks but feel like the architecture is going to need to change somehow to support the different product streams as they seem to be diverging and different models require different registers and sensors

mkaiser commented 8 months ago

hey,

it will take a while until I realized my thoughts on some yaml generation process. But small things like this help on the way! :)

thanks!

mkaiser commented 8 months ago

in case you are wondering... I just ammended your commit message from

"Adding Support for SH8.0RS and SH10RS Inverters #205" to "Adding device id for SH8.0RS and SH10RS Inverters #205"

ABredhauer commented 8 months ago

thanks I'll try and make future commits more specific