Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Hoymiles via AhoyDTU #10872

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions templates/definition/meter/hoymiles-ahoydtu.yaml
Original file line number Diff line number Diff line change
@@ -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]
2 changes: 1 addition & 1 deletion templates/definition/meter/hoymiles-opendtu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down