Wattsonic: add battery control (#22907)
This commit is contained in:
parent
79cbddca3d
commit
0d578fd788
1 changed files with 17 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue