Skip to content

Commit

Permalink
Add slimmelezer-luxembourg (#17810)
Browse files Browse the repository at this point in the history
  • Loading branch information
othi authored Dec 19, 2024
1 parent 02b4d60 commit e33a682
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions templates/definition/meter/slimmelezer-luxembourg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
template: slimmelezer-luxembourg
products:
- brand: Zuidwijk
description:
generic: SlimmeLezer(+) in Luxembourg
requirements:
description:
de: Slimmelezer-Geräte in Luxemburg verwenden für verschiedene Sensoren andere Namen.
en: Slimmelezer devices use different sensor names in Luxembourg.
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: http
uri: http://{{ .host }}/sensor/energy_produced_luxembourg
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

0 comments on commit e33a682

Please sign in to comment.