Skip to content

Commit

Permalink
Update battery capacity register (#355)
Browse files Browse the repository at this point in the history
* Update battery capacity register

@RafAustralia found battery capacity register 13038 if more functional. #354

* Add some descriptions and update last update date

---------

Co-authored-by: mkaiser <29856783+mkaiser@users.noreply.github.com>
  • Loading branch information
purcell-lab and mkaiser authored Oct 1, 2024
1 parent eb4f945 commit 33dc7e9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modbus_sungrow.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Home Assistant Sungrow inverter integration
# https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant
# by Martin Kaiser
# last update: 2024-10-01
# last update: 2024-10-01 (2)
#
# Note: This YAML file will only work with Home Assistant >= 2023.10

Expand Down Expand Up @@ -1613,11 +1613,13 @@ modbus:
scale: 10
scan_interval: 10

#undocumented sensor (reverse engineered by some guys of photovoltaikforum.com and forum.iobroker.net )

# was reg 33048 before as an undocumented sensor (reverse engineered by some guys of photovoltaikforum.com and forum.iobroker.net )
# but now it is in sungrow's datasheet
- name: Battery capacity
unique_id: sg_battery_capacity
device_address: !secret sungrow_modbus_slave
address: 33048 # reg 33049
address: 13038 # reg 13039
input_type: holding
data_type: uint16
precision: 1
Expand Down

0 comments on commit 33dc7e9

Please sign in to comment.