diff --git a/templates/definition/meter/youless.yaml b/templates/definition/meter/youless.yaml new file mode 100644 index 000000000..68d076b57 --- /dev/null +++ b/templates/definition/meter/youless.yaml @@ -0,0 +1,22 @@ +template: youless +products: + - brand: Youless + description: + generic: Energy Monitor +params: + - name: usage + choice: ["grid"] + - name: host + required: true +render: | + type: custom + power: + source: http + uri: http://{{ .host }}/e + method: GET + jq: .[0]|.pwr + energy: + source: http + uri: http://{{ .host }}/e + method: GET + jq: .[0]|.p1+.p2 diff --git a/templates/docs/meter/youless_0.yaml b/templates/docs/meter/youless_0.yaml new file mode 100644 index 000000000..ee9f7460d --- /dev/null +++ b/templates/docs/meter/youless_0.yaml @@ -0,0 +1,10 @@ +product: + brand: Youless + description: Energy Monitor +render: + - usage: grid + default: | + type: template + template: youless + usage: grid + host: 192.0.2.2 # IP-Adresse oder Hostname diff --git a/templates/evcc.io/brands.json b/templates/evcc.io/brands.json index ed5dc7fed..ed42d0650 100644 --- a/templates/evcc.io/brands.json +++ b/templates/evcc.io/brands.json @@ -127,6 +127,7 @@ "VARTA", "Victron", "Volkszähler", + "Youless", "ZCS Azzurro" ], "PVBattery": [