Zuidwijk SlimmeLezer(+): Add new template for newer devices (#14896)
This commit is contained in:
parent
7772d00ba7
commit
94f27d4b50
1 changed files with 102 additions and 0 deletions
102
templates/definition/meter/slimmelezer-v2.yaml
Normal file
102
templates/definition/meter/slimmelezer-v2.yaml
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
template: slimmelezer-V2
|
||||
products:
|
||||
- brand: Zuidwijk
|
||||
description:
|
||||
generic: SlimmeLezer(+) V2
|
||||
requirements:
|
||||
description:
|
||||
de: Neuere Slimmelezer-Geräte verwenden eine andere Konfiguration. Probieren Sie diese Vorlage aus, wenn die andere fehlschlägt.
|
||||
en: More recent slimmelezer devices use a different configuration. Try this template if the other one fails.
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["grid"]
|
||||
- name: host
|
||||
render: |
|
||||
type: custom
|
||||
power:
|
||||
source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_consumed
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: 1000
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_produced
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: -1000
|
||||
energy:
|
||||
source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/energy_produced_tariff_1
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/energy_produced_tariff_2
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
currents:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/current_phase_1
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/current_phase_2
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/current_phase_3
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
powers:
|
||||
- source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_produced_phase_1
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: 1000
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_consumed_phase_1
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: -1000
|
||||
- source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_produced_phase_2
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: 1000
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_consumed_phase_2
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: -1000
|
||||
- source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_produced_phase_3
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: 1000
|
||||
- source: http
|
||||
uri: http://{{ .host }}/sensor/power_consumed_phase_3
|
||||
headers:
|
||||
- content-type: application/json
|
||||
jq: .value
|
||||
scale: -1000
|
||||
Loading…
Add table
Add a link
Reference in a new issue