Skip to content

Commit

Permalink
Solax/Fronius Gen24: add MaxACPower (#16662)
Browse files Browse the repository at this point in the history
  • Loading branch information
farcorben authored Oct 15, 2024
1 parent 4acc6f5 commit f0d851a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/definition/meter/fronius-gen24.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ params:
deprecated: true
- name: capacity
advanced: true
- name: maxacpower
render: |
# reference: https://github.com/volkszaehler/mbmd/blob/master/meters/sunspec/models.go
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -164,4 +165,5 @@ render: |
id: 1
value: 124:0:InOutWRte_RvrtTms
capacity: {{ .capacity }} # kWh
maxacpower: {{ .maxacpower }} # W
{{- end }}
2 changes: 2 additions & 0 deletions templates/definition/meter/solax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ params:
baudrate: 19200
- name: capacity
advanced: true
- name: maxacpower
render: |
type: custom
power:
Expand Down Expand Up @@ -135,4 +136,5 @@ render: |
type: writesingle
decode: uint16
capacity: {{ .capacity }} # kWh
maxacpower: {{ .maxacpower }} # W
{{- end }}

0 comments on commit f0d851a

Please sign in to comment.