diff --git a/templates/definition/meter/hoymiles-ahoydtu.yaml b/templates/definition/meter/hoymiles-ahoydtu.yaml new file mode 100644 index 000000000..a3bce9a83 --- /dev/null +++ b/templates/definition/meter/hoymiles-ahoydtu.yaml @@ -0,0 +1,25 @@ +template: hoymiles-ahoydtu +products: + - brand: Hoymiles + description: + generic: HM & HMS Series (via AhoyDTU) +params: + - name: usage + choice: ["pv"] + - name: host + - name: id + type: number + description: + de: Wechselrichter ID (falls mehrere vorhanden) + en: Inverter ID (if multiple exist) + default: 0 +render: | + type: custom + power: + source: http + uri: http://{{ .host }}/api/inverter/id/{{ .id }} + jq: .ch[0][2] + energy: + source: http + uri: http://{{ .host }}/api/inverter/id/{{ .id }} + jq: .ch[0][6] diff --git a/templates/definition/meter/hoymiles-opendtu.yaml b/templates/definition/meter/hoymiles-opendtu.yaml index 86f7ec1c4..027825caa 100644 --- a/templates/definition/meter/hoymiles-opendtu.yaml +++ b/templates/definition/meter/hoymiles-opendtu.yaml @@ -2,7 +2,7 @@ template: hoymiles-opendtu products: - brand: Hoymiles description: - generic: HM and HMS Series (via OpenDTU) + generic: HM & HMS Series (via OpenDTU) params: - name: usage choice: ["pv"]