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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Battery Capacity wrong

tobaco opened this issue · comments

Describe the bug:

My battery capacity shows a wrong value. It shows 0.0 instead of 9.6

Your Sungrow inverter:

  • Model: SH-10.RT

  • The inverter is connected via (mark one)

    • LAN (internal port)
    • WiNet-S (LAN)
    • WiNet-S (WLAN)
  • Are you using a Modbus Proxy (mark one)

    • yes
    • no
    • I don't know what that is

Home Assistant version:

  • Version: 2024.3.3

modbus_sungrow.yaml:

  • Version/ time stamp : 2024-03-26
  • I ensured to use the most recent version

Inverter Firmware Status:

  • I made sure that the newest firmware is installed via the installers account

Additional context
I tried several modbus addresses mentioned in other issues, but nothing showed the correct value (eg. 655).

Here's my current setup (including my tried addresses):

      - name: Battery capacity
        unique_id: sg_battery_capacity
        device_address: !secret sungrow_modbus_slave
        address: 33048 # changed from 33048 to 13038 to 13039 to 33049 to 13038 to 33048 # reg 33049
        input_type: holding # changed from holding to input to holding
        data_type: uint16
        precision: 1
        unit_of_measurement: kWh
        device_class: energy_storage
        scale: 0.01
        scan_interval: 600

can you check this?

#88 (comment)

I'll try. It's something my solateur has to do. And getting him to react and to do this, will be a challenge. Thanks for the link!

you can also setup a new isolarcloud account with another email adress and register yourself as "installer". Sungrow does not check this (we all did this :) )

Then you can add the plant to you as installer and have complete access to your hardware

Oh, I didn't knew this. Is my original installer then still in control or will he be out of the system. I don't want to jeopardize my warranty.
Thanks!

can you check this?

#88 (comment)

My installer answered me in a record time (😳) and told me, he has corrected the value and also did a firmware update.
But the sensor still shows "0,0".
I also tried the other modbus addresses, but it only changed to "655".

Is it a big problem if the sensor has an incorrect value? So does that have any effect?

Could I just set it via the developer tools or define it statically somehow? It shouldn't actually change, should it?

The sensor shouldn't change, except when you expand or shrink the battery, e.g. adding or removing a module. If you aren't using the sensor, I don't see why you would want to change it. If you are using it, like for predicting the amount of charge left after a night, you can create a helper to set that capacity.

you can also setup a new isolarcloud account with another email adress and register yourself as "installer". Sungrow does not check this (we all did this :) )

Then you can add the plant to you as installer and have complete access to your hardware

OK, New Installer Account is created, but how can one add the inverter to the new installer account? If I am trying to add it via it´s serial number that does not work.

You need to share it from the existing customer account to the new installer account:

image

Thanks a lot!