Skip to content

Commit

Permalink
fix: Generator port energy registers - Deye Hybrid P3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Dec 20, 2024
1 parent ebb9edc commit 1efa7ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions custom_components/solarman/inverter_definitions/deye_p3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ parameters:
uom: "kWh"
scale: 0.1
rule: 1
registers: [0x01F5]
registers: [0x0218]
icon: "mdi:generator-stationary"

- name: "Total Generation"
Expand All @@ -1672,7 +1672,7 @@ parameters:
uom: "kWh"
scale: 0.1
rule: 3
registers: [0x01F8, 0x01F9]
registers: [0x0219, 0x021A]
icon: "mdi:generator-stationary"
validation:
min: 0.1
Expand Down Expand Up @@ -1710,12 +1710,12 @@ parameters:
rule: 1
digits: 1
scale: 0.1
registers: [0x01F5, 0x0208, 0x0211, 0x0203, 0x0209, 0x020E, 0x0202]
registers: [0x0208, 0x0211, 0x0218, 0x0203, 0x0209, 0x020E, 0x0202]
uint: enforce
sensors:
- registers: [0x01F5]
- registers: [0x0208]
- registers: [0x0211]
- registers: [0x0218]
- registers: [0x0203]
- operator: subtract
registers: [0x0209]
Expand All @@ -1735,12 +1735,12 @@ parameters:
scale: 0.1
registers:
[
0x01F8,
0x01F9,
0x020A,
0x020B,
0x0216,
0x0217,
0x0219,
0x021A,
0x0206,
0x0207,
0x020C,
Expand All @@ -1752,9 +1752,9 @@ parameters:
]
uint: enforce
sensors:
- registers: [0x01F8, 0x01F9]
- registers: [0x020A, 0x020B]
- registers: [0x0216, 0x0217]
- registers: [0x0219, 0x021A]
- registers: [0x0206, 0x0207]
- operator: subtract
registers: [0x020C, 0x020D]
Expand Down

0 comments on commit 1efa7ee

Please sign in to comment.