Skip to content

Commit

Permalink
feat: Extended SG01HP3 based on SG04LP3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Jul 28, 2024
1 parent bf667c0 commit 81f415c
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 5 deletions.
187 changes: 186 additions & 1 deletion custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ parameters:
rule: 5
registers: [0x0003, 0x0004, 0x0005, 0x0006, 0x0007]
icon: "mdi:information"
isstr: true

# Device - Rated Power
- name: "Device Rated Power"
Expand Down Expand Up @@ -592,6 +591,192 @@ parameters:
max: 2359
icon: mdi:sun-clock

- name: Program 1 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009A]
configurable:
range:
min: 0000
max: 12000
icon: mdi:sun-clock

- name: Program 2 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009B]
configurable:
range:
min: 0000
max: 12000
icon: mdi:sun-clock

- name: Program 3 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009C]
configurable:
range:
min: 0000
max: 12000

icon: mdi:sun-clock
- name: Program 4 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009D]
configurable:
range:
min: 0000
max: 12000
icon: mdi:sun-clock

- name: Program 5 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009E]
configurable:
range:
min: 0000
max: 12000
icon: mdi:sun-clock

- name: Program 6 Power
update_interval: 300
class: "power"
state_class: measurement
uom: "W"
scale: 1
rule: 1
registers: [0x009F]
configurable:
range:
min: 0000
max: 12000
icon: mdi:sun-clock

- name: Program 1 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A0]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 2 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A1]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 3 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A2]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 4 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A3]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 5 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A4]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 6 Voltage
update_interval: 300
class: "voltage"
state_class: measurement
uom: "V"
scale: 0.01
rule: 1
registers: [0x00A5]
configurable:
min: 38
max: 61
step: 0.1
range:
min: 3800
max: 6100
icon: mdi:sun-clock

- name: Program 1 SOC
update_interval: 300
class: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ parameters:
rule: 5
registers: [0x0003, 0x0004, 0x0005, 0x0006, 0x0007]
icon: "mdi:information"
isstr: true

# Device - Rated Power
- name: "Device Rated Power"
Expand Down Expand Up @@ -598,8 +597,6 @@ parameters:
max: 2359
icon: mdi:sun-clock

# Program x power is the max discharge power during the time slot
#
- name: Program 1 Power
update_interval: 300
class: "power"
Expand Down Expand Up @@ -684,7 +681,6 @@ parameters:
max: 12000
icon: mdi:sun-clock

# Program x voltage is the voltage at/until the program operation is valid.
- name: Program 1 Voltage
update_interval: 300
class: "voltage"
Expand Down

0 comments on commit 81f415c

Please sign in to comment.