diff --git a/templates/definition/meter/enphase.yaml b/templates/definition/meter/enphase.yaml new file mode 100644 index 000000000..4b7a51176 --- /dev/null +++ b/templates/definition/meter/enphase.yaml @@ -0,0 +1,23 @@ +template: enphase +products: + - brand: Enphase + description: + generic: IQ Envoy +params: + - name: usage + choice: ["pv"] + - name: host + required: true +render: | + type: custom + power: + source: http + uri: http://{{ .host }}/production.json + method: GET + jq: .production[0].wNow + energy: + source: http + uri: http://{{ .host }}/production.json + method: GET + jq: .production[0].whLifetime + scale: 0.001 diff --git a/templates/docs/meter/enphase_0.yaml b/templates/docs/meter/enphase_0.yaml new file mode 100644 index 000000000..56bb9b54c --- /dev/null +++ b/templates/docs/meter/enphase_0.yaml @@ -0,0 +1,10 @@ +product: + brand: Enphase + description: IQ Envoy +render: + - usage: pv + default: | + type: template + template: enphase + usage: pv + host: 192.0.2.2 # IP-Adresse oder Hostname diff --git a/templates/evcc.io/brands.json b/templates/evcc.io/brands.json index a3fb012e4..310b17910 100644 --- a/templates/evcc.io/brands.json +++ b/templates/evcc.io/brands.json @@ -129,6 +129,7 @@ "Bosswerk", "Deye", "E3/DC", + "Enphase", "FENECON", "FoxESS", "Fronius",