From e97e66a60c3ee56a2b08dd642777eb1e65392f5f Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 5 Jun 2022 15:59:33 +0200 Subject: [PATCH] Specifiy sunspec model --- templates/definition/meter/sunspec-hybrid-inverter.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/definition/meter/sunspec-hybrid-inverter.yaml b/templates/definition/meter/sunspec-hybrid-inverter.yaml index ca83e18e7..6b03c55db 100644 --- a/templates/definition/meter/sunspec-hybrid-inverter.yaml +++ b/templates/definition/meter/sunspec-hybrid-inverter.yaml @@ -44,9 +44,11 @@ render: | source: calc add: - source: modbus + model: sunspec {{- include "modbus" . | indent 4 }} value: 160:1:DCW # mppt 1 - source: modbus + model: sunspec {{- include "modbus" . | indent 4 }} value: 160:2:DCW # mppt 2 {{- end }} @@ -56,10 +58,12 @@ render: | source: calc add: - source: modbus + model: sunspec {{- include "modbus" . | indent 4 }} value: 160:3:DCW # mppt 3 charge scale: -1 - source: modbus + model: sunspec {{- include "modbus" . | indent 4 }} value: 160:4:DCW # mppt 4 discharge soc: