From 64421926e1736bd57774ca6e3e4082546a686043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ante=20Karamati=C4=87?= Date: Wed, 15 Jan 2025 13:27:48 +0100 Subject: [PATCH] SolarEdge: add currents to PV meter --- .../definition/meter/solaredge-inverter.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/definition/meter/solaredge-inverter.yaml b/templates/definition/meter/solaredge-inverter.yaml index 3bf5f179da..8afa52dd5d 100644 --- a/templates/definition/meter/solaredge-inverter.yaml +++ b/templates/definition/meter/solaredge-inverter.yaml @@ -102,4 +102,20 @@ render: | - 101:WH - 103:WH scale: 0.001 + currents: + - source: sunspec + {{- include "modbus" . | indent 4 }} + timeout: {{ .timeout }} + value: 101:AphA + value: 103:AphA + - source: sunspec + {{- include "modbus" . | indent 4 }} + timeout: {{ .timeout }} + value: 101:AphB + value: 103:AphB + - source: sunspec + {{- include "modbus" . | indent 4 }} + timeout: {{ .timeout }} + value: 101:AphC + value: 103:AphC {{- end }}