evcc-io/templates/definition/meter/solarman.yaml
2024-01-07 15:49:59 +01:00

32 lines
705 B
YAML

template: solarman
covers: ["deye"]
products:
- brand: IGEN Tech
description:
generic: Solarman Logger
params:
- name: usage
choice: ["pv"]
- name: host
- name: user
default: admin
- name: password
default: admin
render: |
type: custom
power:
source: http
uri: http://{{ .host }}/status.html
auth: # basic authorization
type: basic
user: {{ .user }}
password: {{ .password }}
regex: webdata_now_p\s*=\s*\"(\d+)\"
energy:
source: http
uri: http://{{ .host }}/status.html
auth: # basic authorization
type: basic
user: {{ .user }}
password: {{ .password }}
regex: webdata_total_e\s*=\s*\"(\d+[.]\d+)\"