Skip to content

Commit

Permalink
Support für Siemens Junelight Batterie.
Browse files Browse the repository at this point in the history
Wurde allerdings nur ein Jahr vertrieben und ist aktuell nicht mehr auf dem Markt erhältlich.
  • Loading branch information
deadrabbit87 committed Oct 29, 2024
1 parent de704d2 commit 6e809ef
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions templates/definition/meter/siemens-junelight.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
template: siemens-junelight
products:
- brand: Siemens
description:
generic: Junelight Smart Battery
requirements:
description:
de: |
Die Batterie muss mit dem Installer Zugang auf Loxone gestellt werden.
en: |
The battery has to be set to Loxone with the installer account.
params:
- name: usage
choice: ["grid", "pv", "battery"]
allinone: true
- name: capacity
advanced: true
- name: modbus
choice: ["tcpip"]
render: |
type: custom
{{- if eq .usage "grid" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 14
type: holding
decode: int32
timeout: 5s
{{- end }}
{{- if eq .usage "pv" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 16
type: holding
decode: int32
timeout: 5s
{{- end }}
{{- if eq .usage "battery" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 6 # "Battery output power"
type: holding
decode: int32
soc:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8 # "battery soc"
type: holding
decode: int32
capacity: {{ .capacity }} # kWh
{{- end }}

0 comments on commit 6e809ef

Please sign in to comment.