SunSpec: align battery control (#18446)
This commit is contained in:
parent
be3983b684
commit
4541a535ca
1 changed files with 4 additions and 14 deletions
|
|
@ -10,6 +10,8 @@ params:
|
|||
choice: ["battery"]
|
||||
- name: modbus
|
||||
choice: ["tcpip", "rs485"]
|
||||
- name: maxchargerate
|
||||
advanced: true
|
||||
- name: capacity
|
||||
advanced: true
|
||||
render: |
|
||||
|
|
@ -41,12 +43,6 @@ render: |
|
|||
set:
|
||||
source: sequence
|
||||
set:
|
||||
- source: const
|
||||
value: 0 # off
|
||||
set:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 10 }}
|
||||
value: 124:0:ChaGriSet
|
||||
- source: const
|
||||
value: 0
|
||||
set:
|
||||
|
|
@ -63,12 +59,6 @@ render: |
|
|||
set:
|
||||
source: sequence
|
||||
set:
|
||||
- source: const
|
||||
value: 0 # off
|
||||
set:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 10 }}
|
||||
value: 124:0:ChaGriSet
|
||||
- source: const
|
||||
value: 2
|
||||
set:
|
||||
|
|
@ -92,7 +82,7 @@ render: |
|
|||
source: sequence
|
||||
set:
|
||||
- source: const
|
||||
value: 1 # off
|
||||
value: 1 # on
|
||||
set:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 10 }}
|
||||
|
|
@ -104,7 +94,7 @@ render: |
|
|||
{{- include "modbus" . | indent 10 }}
|
||||
value: 124:0:StorCtl_Mod
|
||||
- source: const
|
||||
value: -100 # %
|
||||
value: -{{ .maxchargerate }} # %
|
||||
set:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 10 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue