From ef01f9ea6bae9d6836e2570a7f618a7c261ca045 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 16 Apr 2023 16:55:15 +0200 Subject: [PATCH] Add Deye / Bowsswerk micro inverter (#7501) --- templates/definition/meter/deye.yaml | 28 ++++++++++++++++++++++++++++ templates/docs/meter/deye_0.yaml | 13 +++++++++++++ templates/docs/meter/deye_1.yaml | 13 +++++++++++++ templates/evcc.io/brands.json | 2 ++ 4 files changed, 56 insertions(+) create mode 100644 templates/definition/meter/deye.yaml create mode 100644 templates/docs/meter/deye_0.yaml create mode 100644 templates/docs/meter/deye_1.yaml diff --git a/templates/definition/meter/deye.yaml b/templates/definition/meter/deye.yaml new file mode 100644 index 000000000..1ed97ffa6 --- /dev/null +++ b/templates/definition/meter/deye.yaml @@ -0,0 +1,28 @@ +template: deye +products: + - brand: Deye + description: + generic: SUN series micro inverter + - brand: Bosswerk + description: + generic: MI series micro inverter +params: + - name: usage + choice: ["pv"] + allinone: true + - name: host + - name: port + default: 80 + - name: user + default: admin + - name: password +render: | + type: custom + power: + source: http + uri: http://{{ .host }}:{{ .port }}/status.html + auth: # basic authorization + type: basic + user: {{ .user }} + password: {{ .password }} + regex: webdata_now_p\s*=\s*\"(\d+)\" diff --git a/templates/docs/meter/deye_0.yaml b/templates/docs/meter/deye_0.yaml new file mode 100644 index 000000000..ed78ec7bd --- /dev/null +++ b/templates/docs/meter/deye_0.yaml @@ -0,0 +1,13 @@ +product: + brand: Deye + description: SUN series micro inverter +render: + - usage: pv + default: | + type: template + template: deye + usage: pv + host: 192.0.2.2 # IP-Adresse oder Hostname + port: 80 # Port (Optional) + user: admin # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (Optional) + password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (Optional) diff --git a/templates/docs/meter/deye_1.yaml b/templates/docs/meter/deye_1.yaml new file mode 100644 index 000000000..0f1abaccd --- /dev/null +++ b/templates/docs/meter/deye_1.yaml @@ -0,0 +1,13 @@ +product: + brand: Bosswerk + description: MI series micro inverter +render: + - usage: pv + default: | + type: template + template: deye + usage: pv + host: 192.0.2.2 # IP-Adresse oder Hostname + port: 80 # Port (Optional) + user: admin # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (Optional) + password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (Optional) diff --git a/templates/evcc.io/brands.json b/templates/evcc.io/brands.json index 469311475..338e65b64 100644 --- a/templates/evcc.io/brands.json +++ b/templates/evcc.io/brands.json @@ -119,6 +119,8 @@ "PVBattery": [ "Alpha ESS", "AVM", + "Bosswerk", + "Deye", "E3/DC", "FENECON", "FoxESS",