Skip to content

Commit

Permalink
SAX Homespeicher: add battery control (#12462)
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply authored and naltatis committed Mar 26, 2024
1 parent 619c721 commit 8616134
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions templates/definition/meter/sax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,29 @@ render: |
address: 46 # SOC vom Speicher (Messwert)
type: holding
decode: uint16
batterymode:
source: switch
switch:
- case: 1 # normal
set:
source: const
value: 4600 # W
set:
source: modbus
{{- include "modbus" . | indent 8 }}
register:
address: 43 # Leistungsgrenzwert für Entladung
type: writesingle
decode: uint16
- case: 2 # hold
set:
source: const
value: 0 # W
set:
source: modbus
{{- include "modbus" . | indent 8 }}
register:
address: 43 # Leistungsgrenzwert für Entladung
type: writesingle
decode: uint16
{{- end }}

0 comments on commit 8616134

Please sign in to comment.