Kostal Plenticore: replace older plenticore template (BC) (#30854)
This commit is contained in:
parent
06f6eb1d26
commit
3000b94e42
2 changed files with 12 additions and 100 deletions
|
|
@ -2,20 +2,23 @@ template: kostal-plenticore-gen2
|
|||
products:
|
||||
- brand: Kostal
|
||||
description:
|
||||
de: Plenticore Hybrid, inkl. Netzladung der Hausbatterie
|
||||
en: Plenticore Hybrid, incl. grid charging of the house battery
|
||||
de: Plenticore Hybrid
|
||||
en: Plenticore Hybrid
|
||||
capabilities: ["battery-control"]
|
||||
covers: ["kostal-plenticore-hw0200"]
|
||||
covers: ["kostal-plenticore-hw0200", "kostal-plenticore"]
|
||||
caveats:
|
||||
- description:
|
||||
de: |
|
||||
Nur ein System kann und darf auf den Wechselrichter zugreifen!
|
||||
en: |
|
||||
Only a single system may access the inverter!
|
||||
link: https://github.com/evcc-io/evcc/wiki/Kostal-Plenticore_
|
||||
requirements:
|
||||
description:
|
||||
de: |
|
||||
Nur ein System kann und darf auf den Wechselrichter zugreifen! Für die aktive Batteriesteuerung muss die Funktion externe Batteriesteuerung über Modbus mit dem Handwerkerzugang aktiviert sein. **_Ist grundsätzlich anwendbar für verschiedene Wechselrichter Generationen (G1/G2/G3)._**
|
||||
**Das Netzladen der Batterie steht mit dieser Vorlage zur Verfügung, ist aktuell jedoch inkompatibel mit wenigen älteren Wechselrichtern - _sorgfältig testen_!**
|
||||
_siehe auch https://github.com/evcc-io/evcc/wiki/Kostal-Plenticore_
|
||||
Anwendbar für verschiedene Wechselrichter Generationen (G1/G2/G3). Für die aktive Batteriesteuerung muss die Funktion externe Batteriesteuerung über Modbus mit dem Handwerkerzugang aktiviert sein.
|
||||
en: |
|
||||
Only a single system may access the inverter! For active battery control, the feature external battery control via modbus must be activated using installer access. **_Can basically be used for various inverter generations (G1/G2/G3)._**
|
||||
**The function for grid charging the battery is available using this template, but is currently incompatible with some older inverters - _test carefully_!**
|
||||
_see also https://github.com/evcc-io/evcc/wiki/Kostal-Plenticore_
|
||||
Compatible with various inverter generations (G1/G2/G3). For active battery control, the feature external battery control via Modbus must be activated using installer access.
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["pv", "battery"]
|
||||
|
|
|
|||
|
|
@ -1,91 +0,0 @@
|
|||
template: kostal-plenticore
|
||||
products:
|
||||
- brand: Kostal
|
||||
description:
|
||||
generic: Plenticore Hybrid
|
||||
capabilities: ["battery-control"]
|
||||
requirements:
|
||||
description:
|
||||
de: |
|
||||
Nur ein System kann und darf auf den Wechselrichter zugreifen! Für die aktive Batteriesteuerung muss die Funktion externe Batteriesteuerung über Modbus mit dem Handwerkerzugang aktiviert sein.
|
||||
**Das Netzladen der Batterie steht nicht zur Verfügung!** _siehe auch https://github.com/evcc-io/evcc/wiki/Kostal-Plenticore_
|
||||
en: |
|
||||
Only a single system may access the inverter! For active battery control the function external battery control via Modbus must be activated using installer access.
|
||||
**Grid charging is not available!** _see also https://github.com/evcc-io/evcc/wiki/Kostal-Plenticore_
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["pv", "battery"]
|
||||
- name: modbus
|
||||
choice: ["tcpip"]
|
||||
id: 71
|
||||
port: 1502
|
||||
- name: endianness
|
||||
description:
|
||||
de: Byte-Reihenfolge (Little/Big)
|
||||
en: Endianness (Little/Big)
|
||||
type: choice
|
||||
choice: ["little", "big"]
|
||||
default: little
|
||||
advanced: true
|
||||
- name: maxacpower
|
||||
service: modbus/read?address=531&type=holding&encoding=uint16&{modbus}
|
||||
- preset: battery-params
|
||||
- name: capacity
|
||||
service: modbus/read?address=1068&type=holding&encoding=float32s&scale=0.001&{modbus}
|
||||
- name: minsoc
|
||||
service: modbus/read?address=1042&type=holding&encoding=float32s&{modbus}
|
||||
- name: maxsoc
|
||||
service: modbus/read?address=1044&type=holding&encoding=float32s&{modbus}
|
||||
- name: maxchargepower
|
||||
service: modbus/read?address=1038&type=holding&encoding=float32s&resulttype=int&{modbus}
|
||||
- name: maxdischargepower
|
||||
service: modbus/read?address=1040&type=holding&encoding=float32s&resulttype=int&{modbus}
|
||||
- name: watchdog
|
||||
default: 60s
|
||||
render: |
|
||||
{{- if eq .usage "pv" }}
|
||||
type: custom
|
||||
power:
|
||||
source: calc
|
||||
add: # The add plugin sums up all string values
|
||||
- source: sunspec
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
value: 160:1:DCW # string 1
|
||||
- source: sunspec
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
value: 160:2:DCW # string 2
|
||||
- source: sunspec
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
value: 160:3:DCW # string 3
|
||||
energy:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 1056 # total DC PV energy (sum), Wh
|
||||
type: holding
|
||||
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
|
||||
scale: 0.001 # Wh -> kWh
|
||||
maxacpower: {{ .maxacpower }} # W
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
type: custom
|
||||
power:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
value: 802:W # 802 battery control
|
||||
soc:
|
||||
source: sunspec
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
value: 802:SoC # 802 battery control
|
||||
limitsoc:
|
||||
source: watchdog
|
||||
timeout: {{ .watchdog }} # re-write at timeout/2
|
||||
set:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
address: 1042 # limit soc
|
||||
type: writemultiple
|
||||
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
|
||||
{{- include "battery-params" . }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue