Victron Energy: add grid currents (#15544)

This commit is contained in:
oscarminus 2024-08-21 18:44:27 +02:00 • committed by GitHub
parent 4a49b04819
commit 81f3a1cc46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,31 @@ render: |
address: 822 # L3 grid power
type: input
decode: int16
currents:
- source: modbus
uri: {{ .host }}:{{ .port }}
id: 30
register:
address: 2617 # L1 grid current
type: input
decode: int16
scale: 0.1
- source: modbus
uri: {{ .host }}:{{ .port }}
id: 30
register:
address: 2619 # L2 grid current
type: input
decode: int16
scale: 0.1
- source: modbus
uri: {{ .host }}:{{ .port }}
id: 30
register:
address: 2621 # L3 grid current
type: input
decode: int16
scale: 0.1
{{- end }}
{{- if eq .usage "pv" }}
power: