Wattsonic: add battery control (#22907)

This commit is contained in:
andig 2025-08-11 13:08:17 +02:00 • committed by GitHub
parent 79cbddca3d
commit 0d578fd788
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@ products:
- brand: Solinteng
- brand: A-Tronix
- brand: St-ems
capabilities: ["battery-control"]
params:
- name: usage
choice: ["grid", "pv", "battery"]
@ -15,6 +16,14 @@ params:
id: 247
- name: capacity
advanced: true
- name: minsoc
type: int
default: 20
advanced: true
- name: maxsoc
type: int
default: 95
advanced: true
- name: delay
default: 100ms
advanced: true
@ -108,5 +117,13 @@ render: |
address: 43000 # SOC
type: holding
decode: int16
limitsoc:
source: modbus
{{- include "modbus" . | indent 2 }}
delay: {{ .delay }}
register:
address: 52503 # min soc
type: writeholding
encoding: uint16
capacity: {{ .capacity }} # kWh
{{- end }}