Skip to content

Commit

Permalink
SolarEdge: disable battery control for time being
Browse files Browse the repository at this point in the history
Depends on #11166
  • Loading branch information
andig committed Dec 21, 2023
1 parent 08b2cb6 commit a1d1484
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions templates/definition/meter/solaredge-hybrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,35 @@ render: |
address: 62852 # Battery 1 State of Energy (SOE)
type: holding
decode: float32s
batterymode:
source: sequence
set:
- source: const
value: {{ (toDuration .watchdog).Seconds }}
set:
source: watchdog
timeout: {{ .watchdog }} # re-write at timeout/2
set:
source: modbus
{{- include "modbus" . | indent 8 }}
timeout: {{ .timeout }}
register:
address: 0xE00B # StorageRemoteCtrl_CommandTimeout
type: writemultiple
decode: uint32
- source: map
values:
1: 7 # normal
2: 1 # hold
3: 3 # charge
set:
source: modbus
{{- include "modbus" . | indent 6 }}
timeout: {{ .timeout }}
register:
address: 0xE00D # StorageRemoteCtrl_CommandMode
type: writesingle
decode: uint16
# batterymode:
# source: sequence
# set:
# - source: const
# value: {{ (toDuration .watchdog).Seconds }}
# set:
# source: watchdog
# timeout: {{ .watchdog }} # re-write at timeout/2
# set:
# source: modbus
# {{- include "modbus" . | indent 8 }}
# timeout: {{ .timeout }}
# register:
# address: 0xE00B # StorageRemoteCtrl_CommandTimeout
# type: writemultiple
# decode: uint32
# - source: map
# values:
# 1: 7 # normal
# 2: 1 # hold
# 3: 3 # charge
# set:
# source: modbus
# {{- include "modbus" . | indent 6 }}
# timeout: {{ .timeout }}
# register:
# address: 0xE00D # StorageRemoteCtrl_CommandMode
# type: writesingle
# decode: uint16
{{- if .capacity }}
capacity: {{ .capacity }} # kWh
{{- end }}
Expand Down

0 comments on commit a1d1484

Please sign in to comment.