Open Joshuawo1 opened 1 year ago
For a Deye Sun-5k-SG03LP1-EU, I had to modify the config\custom_components\solarman\inverter_definitions\deye_hybrid.yaml as follow (no warranty it will work for you) :
LOOKUP means there is no value specified for the current state.
NOTE : The Battery status register [0x00BD] does not work for me.
...
- name: "SmartLoad Enable Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x00C3]
isstr: true
lookup:
- key: 16
value: "OFF"
- key: 17
value: "ON"
icon: 'mdi:lightning-bolt-outline'
...
- group: Inverter
items:
- name: "Running Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x003B]
isstr: true
lookup:
- key: 0
value: "Stand-by"
- key: 1
value: "Self-checking"
- key: 2
value: "Normal"
- key: 3
value: "FAULT"
icon: 'mdi:home-lightning-bolt'
...
- name: "Grid-connected Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x00C2]
isstr: true
lookup:
- key: 0
value: "Off-Grid"
- key: 1
value: "On-Grid"
- name: "Gen-connected Status"
class: ""
uom: ""
state_class: ""
scale: 1
rule: 1
registers: [0x00A6]
isstr: true
lookup:
- key: 0
value: "none"
- key: 1
value: "On"
...
- name: "Time of use"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x00F8]
isstr: true
lookup:
- key: 0
value: "Disable"
- key: 1
value: "Enable"
...
- name: "Work Mode"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 3
registers: [0x00F4,0x00F7]
isstr: true
lookup:
- key: 0
value: "Selling First"
- key: 1
value: "0-Export to Load"
- key: 2
value: "0-Export to CT"
- key: 65537
value: "0-Export to Load & Sell"
- key: 65538
value: "0-Export to CT & Sell"
icon: 'mdi:home-lightning-bolt'
Good evening all. Looking guidance. Missing the following values.