SolarEdge Hybrid: add min/max soc maxcharge/discharge power (#25929)
Some checks failed
Some checks failed
This commit is contained in:
parent
d92ee4f157
commit
bb78ce2ff1
1 changed files with 12 additions and 1 deletions
|
|
@ -24,6 +24,13 @@ params:
|
||||||
- name: capacity
|
- name: capacity
|
||||||
advanced: true
|
advanced: true
|
||||||
- name: maxacpower
|
- name: maxacpower
|
||||||
|
- name: maxchargepower
|
||||||
|
- name: maxdischargepower
|
||||||
|
default: 5000
|
||||||
|
- name: minsoc
|
||||||
|
advanced: true
|
||||||
|
- name: maxsoc
|
||||||
|
advanced: true
|
||||||
- name: watchdog
|
- name: watchdog
|
||||||
type: duration
|
type: duration
|
||||||
default: 60s
|
default: 60s
|
||||||
|
|
@ -142,6 +149,8 @@ render: |
|
||||||
address: 0xE184 # Battery 1 State of Energy (SOE)
|
address: 0xE184 # Battery 1 State of Energy (SOE)
|
||||||
type: holding
|
type: holding
|
||||||
decode: float32nans
|
decode: float32nans
|
||||||
|
minsoc: {{ .minsoc }} # %
|
||||||
|
maxsoc: {{ .maxsoc }} # %
|
||||||
batterymode:
|
batterymode:
|
||||||
source: watchdog
|
source: watchdog
|
||||||
timeout: {{ .watchdog }}
|
timeout: {{ .watchdog }}
|
||||||
|
|
@ -163,7 +172,7 @@ render: |
|
||||||
type: writesingle
|
type: writesingle
|
||||||
encoding: uint16
|
encoding: uint16
|
||||||
- source: const
|
- source: const
|
||||||
value: 5000 # W
|
value: {{ .maxdischargepower }} # W
|
||||||
set:
|
set:
|
||||||
source: modbus
|
source: modbus
|
||||||
{{- include "modbus" . | indent 12 }}
|
{{- include "modbus" . | indent 12 }}
|
||||||
|
|
@ -216,4 +225,6 @@ render: |
|
||||||
type: writemultiple
|
type: writemultiple
|
||||||
encoding: float32s
|
encoding: float32s
|
||||||
capacity: {{ .capacity }} # kWh
|
capacity: {{ .capacity }} # kWh
|
||||||
|
maxchargepower: {{ .maxchargepower }} # W
|
||||||
|
maxdischargepower: {{ .maxdischargepower }} # W
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue