Skip to content

Commit

Permalink
Add Slimmelezer ESPHome DSMR (#9087)
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply authored Jul 23, 2023
1 parent f7789d0 commit eea6614
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 1 deletion.
115 changes: 115 additions & 0 deletions templates/definition/meter/slimmelezer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
template: slimmelezer
products:
- brand: Zuidwijk
description:
generic: SlimmeLezer(+)
- brand: ESPHome
description:
generic: DSMR
params:
- name: usage
choice: ["grid"]
- name: host
required: true
render: |
type: custom
power:
- source: calc
add:
- source: http
uri: http://{{ .host }}/sensor/power_delivered
method: GET
headers:
- content-type: application/json
jq: .value
scale: 1000
- source: http
uri: http://{{ .host }}/sensor/power_returned
method: GET
headers:
- content-type: application/json
jq: .value
scale: -1000
energy:
source: calc
add:
- source: http
uri: http://{{ .host }}/sensor/energy_delivered_tariff1
method: GET
headers:
- content-type: application/json
jq: .value
- source: http
uri: http://{{ .host }}/sensor/energy_delivered_tariff2
method: GET
headers:
- content-type: application/json
jq: .value
currents:
- source: http
uri: http://{{ .host }}/sensor/current_l1
method: GET
headers:
- content-type: application/json
jq: .value
- source: http
uri: http://{{ .host }}/sensor/current_l2
method: GET
headers:
- content-type: application/json
jq: .value
- source: http
uri: http://{{ .host }}/sensor/current_l3
method: GET
headers:
- content-type: application/json
jq: .value
powers:
- source: calc
add:
- source: http
uri: http://{{ .host }}/sensor/power_delivered_l1
method: GET
headers:
- content-type: application/json
jq: .value
scale: 1000
- source: http
uri: http://{{ .host }}/sensor/power_returned_l1
method: GET
headers:
- content-type: application/json
jq: .value
scale: -1000
- source: calc
add:
- source: http
uri: http://{{ .host }}/sensor/power_delivered_l2
method: GET
headers:
- content-type: application/json
jq: .value
scale: 1000
- source: http
uri: http://{{ .host }}/sensor/power_returned_l2
method: GET
headers:
- content-type: application/json
jq: .value
scale: -1000
- source: calc
add:
- source: http
uri: http://{{ .host }}/sensor/power_delivered_l3
method: GET
headers:
- content-type: application/json
jq: .value
scale: 1000
- source: http
uri: http://{{ .host }}/sensor/power_returned_l3
method: GET
headers:
- content-type: application/json
jq: .value
scale: -1000
10 changes: 10 additions & 0 deletions templates/docs/meter/slimmelezer_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
product:
brand: Zuidwijk
description: SlimmeLezer(+)
render:
- usage: grid
default: |
type: template
template: slimmelezer
usage: grid
host: 192.0.2.2 # IP-Adresse oder Hostname
10 changes: 10 additions & 0 deletions templates/docs/meter/slimmelezer_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
product:
brand: ESPHome
description: DSMR
render:
- usage: grid
default: |
type: template
template: slimmelezer
usage: grid
host: 192.0.2.2 # IP-Adresse oder Hostname
4 changes: 3 additions & 1 deletion templates/evcc.io/brands.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"E3/DC",
"Eastron",
"Enphase",
"ESPHome",
"FENECON",
"FoxESS",
"Fronius",
Expand Down Expand Up @@ -128,7 +129,8 @@
"Victron",
"Volkszähler",
"Youless",
"ZCS Azzurro"
"ZCS Azzurro",
"Zuidwijk"
],
"PVBattery": [
"Alpha ESS",
Expand Down

0 comments on commit eea6614

Please sign in to comment.