Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sungrow: fix battery charge/discharge power #18284

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nekronomekron
Copy link

@nekronomekron nekronomekron commented Jan 19, 2025

Sungrow is not updating the "Running State" register 13000 anymore, which was used to determine the charging/discharging state of the battery. This change will calculate to power using the "Battery voltage" and "Battery current" and remove the need of the "Running State".

fixes #18270

Sungrow is not updating the "Running State" register 13000 anymore, which was used to determine the charging/discharging state of the battery.
This change will calculate to power using the "Battery voltage" and "Battery current" and remove the need of the "Running State".
@andig andig added the devices Specific device support label Jan 19, 2025
@premultiply
Copy link
Member

Ab/mit welchen Versionen/Modellen aller beteiligten Komponenten funktioniert das?

@zachelnet
Copy link
Contributor

zachelnet commented Jan 19, 2025

Ab/mit welchen Versionen/Modellen aller beteiligten Komponenten funktioniert das?

Bei mir auf SH8.0RT mit folgende Komponete und Versionen hab ich die Änderung erfolgreich getestet:
WINET: WINET-SV200.001.00.P030
SH8.0RT-V112: SAPPHIRE-H_03011.95.03
SBR096: SBRBCU-S_22011.01.24

@andig andig changed the title Changed calculation of battery charge/discharge power Sungrow: fix battery charge/discharge power Jan 20, 2025
@naltatis
Copy link
Member

Bei meinem Wechselrichter führt diese Änderung zu einer Vorzeichenumkehr.
Ich verwende den Ethernetanschluss direkt am Gerät.

Modellbezeichnung | SH10RT
ARM-Softwareversion | SAPPHIRE-H_01011.31.45
MDSP-Softwareversion | SAPPHIRE-H_03011.31.78
SDSP Softwareversion | SUBCTL-S_04011.01.01

Master

$ evcc meter sungrow_battery
Power:        -684W
Energy:       2760.2kWh
Soc:          2%
Capacity:     12.8kWh
Controllable: true

Dieser PR

$ evcc meter sungrow_battery
Power:        709W
Energy:       2760.2kWh
Soc:          2%
Capacity:     12.8kWh
Controllable: true

@nekronomekron
Copy link
Author

Die Änderung kam von Sungrow anscheinend mit der neuesten Firmware SAPPHIRE-H_03011.95.03 rein. Anscheinend ändert sich hier das Handling für den Ladezustand der Batterie grundlegend. Ich habe leider nichts gefunden wie man über Modbus die Firmware-Version ermitteln kann. Im Worstcase werden 2 Templates für die verschiedenen Firmwarestände benötigt.

type: input
address: 13020 # Battery current
decode: int16
scale: 0.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
scale: 0.1
scale: -0.1

@andig andig marked this pull request as draft January 25, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sungrow SH15 Batterie Ladung wird nicht erkannt.
5 participants