Skip to content
New issue

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

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

Already on GitHub? # to your account

Add Status to Deye SG04LP3 #686

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ requests:
- start: 0x0085
end: 0x0085
mb_functioncode: 0x03
- start: 0x01F4
end: 0x01F4
mb_functioncode: 0x03
- start: 0x0202
end: 0x022E
mb_functioncode: 0x03
Expand Down Expand Up @@ -486,6 +489,27 @@ parameters:

- group: Inverter
items:
- name: "Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x01F4]
isstr: true
lookup:
- key: 0
value: "Stand-by"
- key: 1
value: "Self-checking"
- key: 2
value: "Normal"
- key: 3
value: "Alarm"
- key: 4
value: "FAULT"
icon: 'mdi:home-lightning-bolt'

- name: "Current L1"
class: "current"
state_class: "measurement"
Expand Down