File tree 4 files changed +39
-4
lines changed
templates/definition/meter
4 files changed +39
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ require (
90
90
github.com/teslamotors/vehicle-command v0.3.4
91
91
github.com/traefik/yaegi v0.16.1
92
92
github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c
93
- github.com/volkszaehler/mbmd v0.0.0-20250411152441-99388f32e2c3
93
+ github.com/volkszaehler/mbmd v0.0.0-20250503134953-5c7e3f60eee5
94
94
github.com/writeas/go-strip-markdown/v2 v2.1.1
95
95
gitlab.com/bboehmke/sunny v0.16.0
96
96
go.uber.org/mock v0.5.2
Original file line number Diff line number Diff line change @@ -693,8 +693,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
693
693
github.com/vmihailenco/msgpack/v5 v5.4.1 /go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok =
694
694
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g =
695
695
github.com/vmihailenco/tagparser/v2 v2.0.0 /go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds =
696
- github.com/volkszaehler/mbmd v0.0.0-20250411152441-99388f32e2c3 h1:eQmg4LiwllMxNmqChmyKDx6p5HwMK+SYRkGTPQ9aIkY =
697
- github.com/volkszaehler/mbmd v0.0.0-20250411152441-99388f32e2c3 /go.mod h1:egeAZti78O7U6QcdDPze5NHiiLdPSviw6YA7rsNYSMQ =
696
+ github.com/volkszaehler/mbmd v0.0.0-20250503134953-5c7e3f60eee5 h1:1AwOQySiUEmrAQY2X7FJCKJtHsGiTE/T53sIB1qMQ34 =
697
+ github.com/volkszaehler/mbmd v0.0.0-20250503134953-5c7e3f60eee5 /go.mod h1:egeAZti78O7U6QcdDPze5NHiiLdPSviw6YA7rsNYSMQ =
698
698
github.com/writeas/go-strip-markdown/v2 v2.1.1 h1:hAxUM21Uhznf/FnbVGiJciqzska6iLei22Ijc3q2e28 =
699
699
github.com/writeas/go-strip-markdown/v2 v2.1.1 /go.mod h1:UvvgPJgn1vvN8nWuE5e7v/+qmDu3BSVnKAB6Gl7hFzA =
700
700
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 /go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU =
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ params:
10
10
- name : usage
11
11
choice : ["grid", "charge"]
12
12
- name : modbus
13
- choice : ["rs485", "tcpip" ]
13
+ choice : ["rs485"]
14
14
render : |
15
15
type: mbmd
16
16
{{- include "modbus" . }}
Original file line number Diff line number Diff line change
1
+ template : cg-em24_e1
2
+ products :
3
+ - brand : Carlo Gavazzi
4
+ description :
5
+ generic : EM24_E1
6
+ - brand : Victron
7
+ description :
8
+ generic : EM24_E1
9
+ params :
10
+ - name : usage
11
+ choice : ["grid", "charge"]
12
+ - name : modbus
13
+ choice : ["tcpip"]
14
+ render : |
15
+ type: mbmd
16
+ {{- include "modbus" . }}
17
+ model: cgem24_e1
18
+ power: Power
19
+ energy: Import
20
+ currents:
21
+ - CurrentL1
22
+ - CurrentL2
23
+ - CurrentL3
24
+ {{- if eq .usage "grid" }}
25
+ powers:
26
+ - PowerL1
27
+ - PowerL2
28
+ - PowerL3
29
+ {{- end }}
30
+ {{- if eq .usage "charge" }}
31
+ voltages:
32
+ - VoltageL1
33
+ - VoltageL2
34
+ - VoltageL3
35
+ {{- end }}
You can’t perform that action at this time.
0 commit comments