Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ require (
github.com/teslamotors/vehicle-command v0.4.1
github.com/tess1o/go-ecoflow v1.1.1-0.20251003083510-2ccc15a17e29
github.com/traefik/yaegi v0.16.1
github.com/volkszaehler/mbmd v0.0.0-20260609133612-a18fb7d50aeb
github.com/volkszaehler/mbmd v0.0.0-20260623211432-fb8f9c22f121
github.com/warthog618/go-gpiocdev v0.9.1
gitlab.com/bboehmke/sunny v0.17.0
go.bug.st/serial v1.7.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
github.com/volkszaehler/mbmd v0.0.0-20260609133612-a18fb7d50aeb h1:qpSpkXp+U9oEbrBFMfbGwKLW4UE+XOWVEMm7ShrirP0=
github.com/volkszaehler/mbmd v0.0.0-20260609133612-a18fb7d50aeb/go.mod h1:hx00iJeEiVti6jY7HwLIiShGWdjAAxY7vDdhx/Ys1ys=
github.com/volkszaehler/mbmd v0.0.0-20260623211432-fb8f9c22f121 h1:eDW8HHhwxp1HQQu9uNPMs7TUKZQkTKhe5LkBfhQ+bZA=
github.com/volkszaehler/mbmd v0.0.0-20260623211432-fb8f9c22f121/go.mod h1:hx00iJeEiVti6jY7HwLIiShGWdjAAxY7vDdhx/Ys1ys=
github.com/warthog618/go-gpiocdev v0.9.1 h1:pwHPaqjJfhCipIQl78V+O3l9OKHivdRDdmgXYbmhuCI=
github.com/warthog618/go-gpiocdev v0.9.1/go.mod h1:dN3e3t/S2aSNC+hgigGE/dBW8jE1ONk9bDSEYfoPyl8=
github.com/warthog618/go-gpiosim v0.1.1 h1:MRAEv+T+itmw+3GeIGpQJBfanUVyg0l3JCTwHtwdre4=
Expand Down
46 changes: 46 additions & 0 deletions templates/definition/meter/eltako-dsz15dzmod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
template: eltako-dsz15dzmod
products:
- brand: Eltako
description:
generic: DSZ15DZMOD
- brand: Eltako
description:
generic: DSZ16
params:
- name: usage
choice: ["grid", "pv", "charge"]
- name: modbus
choice: ["rs485"]
render: |
type: mbmd
{{- include "modbus" . }}
model: eltakodsz15
{{- if ne .usage "pv" }}
power: Power
energy: Import
returnenergy: Export
currents:
- CurrentL1
- CurrentL2
- CurrentL3
powers:
- PowerL1
- PowerL2
- PowerL3
{{- else }}
power: -Power
energy: Export
returnenergy: Import
currents:
- -CurrentL1
- -CurrentL2
- -CurrentL3
powers:
- -PowerL1
- -PowerL2
- -PowerL3
{{- end }}
voltages:
- VoltageL1
- VoltageL2
- VoltageL3
Loading