Skip to content

Commit

Permalink
Define register request for hybrid inverter bms
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Białek <[email protected]>
  • Loading branch information
kbialek committed Nov 1, 2024
1 parent 171bb56 commit 16a406b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ha_definitions/deye_hybrid_ha_custom.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
requests:
- start: 0x0106
end: 0x010b
mb_functioncode: 0x03
- start: 0x0138
end: 0x013f
mb_functioncode: 0x03

parameters:
- group: Time of Use
items:
Expand Down
3 changes: 2 additions & 1 deletion src/deye_sensors_deye_hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,9 @@
deye_hybrid_register_ranges = [
SensorRegisterRange(group="deye_hybrid_battery", first_reg_address=3, last_reg_address=112),
SensorRegisterRange(group="deye_hybrid", first_reg_address=3, last_reg_address=112),
SensorRegisterRange(group="deye_hybrid_timeofuse", first_reg_address=150, last_reg_address=249),
SensorRegisterRange(group="deye_hybrid_battery", first_reg_address=150, last_reg_address=249),
SensorRegisterRange(group="deye_hybrid", first_reg_address=150, last_reg_address=249),
SensorRegisterRange(group="deye_hybrid_timeofuse", first_reg_address=150, last_reg_address=249),
SensorRegisterRange(group="deye_hybrid_timeofuse", first_reg_address=250, last_reg_address=279),
SensorRegisterRange(group="deye_hybrid_bms", first_reg_address=312, last_reg_address=319),
]

0 comments on commit 16a406b

Please sign in to comment.