Skip to content
Merged
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
13 changes: 12 additions & 1 deletion templates/definition/meter/solaredge-hybrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ params:
- name: capacity
advanced: true
- name: maxacpower
- name: maxchargepower
- name: maxdischargepower
default: 5000
- name: minsoc
advanced: true
- name: maxsoc
advanced: true
- name: watchdog
type: duration
default: 60s
Expand Down Expand Up @@ -142,6 +149,8 @@ render: |
address: 0xE184 # Battery 1 State of Energy (SOE)
type: holding
decode: float32nans
minsoc: {{ .minsoc }} # %
maxsoc: {{ .maxsoc }} # %
batterymode:
source: watchdog
timeout: {{ .watchdog }}
Expand All @@ -163,7 +172,7 @@ render: |
type: writesingle
encoding: uint16
- source: const
value: 5000 # W
value: {{ .maxdischargepower }} # W
set:
source: modbus
{{- include "modbus" . | indent 12 }}
Expand Down Expand Up @@ -216,4 +225,6 @@ render: |
type: writemultiple
encoding: float32s
capacity: {{ .capacity }} # kWh
maxchargepower: {{ .maxchargepower }} # W
maxdischargepower: {{ .maxdischargepower }} # W
{{- end }}
Loading