evcc-io/templates/definition/meter/thor.yaml
2024-03-06 19:20:42 +01:00

15 lines
339 B
YAML

template: thor
products:
- brand: my-PV
description:
generic: AC•THOR
params:
- name: usage
choice: ["aux"]
- name: host
render: |
type: custom
power:
source: http
uri: http://{{ .host }}/data.jsn
jq: if .power_act == null then 0 else .power_act end + if .power_ac9 == null then 0 else .power_ac9 end