Skip to content

Commit

Permalink
Merge branch 'weblate-translation' of https://github.com/evcc-io/evcc
Browse files Browse the repository at this point in the history
…into weblate-translation
  • Loading branch information
premultiply committed Sep 23, 2024
2 parents 10873e2 + d8c93d1 commit a65edcf
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions templates/definition/meter/sunspec-inverter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,35 @@ params:
render: |
type: custom
{{- if eq .usage "grid" }}
# sunspec model 203 (int+sf)/ 213 (float) meter
# sunspec model 20x (int+sf)/ 21x (float) meter
power:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
value:
- 201:W
- 211:W
- 203:W
- 213:W
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
value:
- 201:TotWhImp
- 211:TotWhImp
- 203:TotWhImp
- 213:TotWhImp
scale: 0.001
currents:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 201:AphA
- 211:AphA
- 203:AphA
- 213:AphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 203:AphB
- 213:AphB
- source: sunspec
Expand All @@ -47,12 +53,14 @@ render: |
voltages:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 201:PhVphA
- 211:PhVphA
- 203:PhVphA
- 213:PhVphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 203:PhVphB
- 213:PhVphB
- source: sunspec
Expand All @@ -63,12 +71,14 @@ render: |
powers:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 201:WphA
- 211:WphA
- 203:WphA
- 213:WphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
value:
- 203:WphB
- 213:WphB
- source: sunspec
Expand All @@ -83,21 +93,17 @@ render: |
{{- include "modbus" . | indent 2 }}
value:
- 101:W
- 103:W
- 111:W
- 103:W
- 113:W
- 102:W
- 112:W
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 101:WH
- 103:WH
- 111:WH
- 103:WH
- 113:WH
- 102:WH
- 112:WH
scale: 0.001
{{- end }}
{{- if eq .usage "battery" }}
Expand All @@ -106,11 +112,9 @@ render: |
{{- include "modbus" . | indent 2 }}
value:
- 101:W
- 103:W
- 111:W
- 103:W
- 113:W
- 102:W
- 112:W
soc:
source: sunspec
{{- include "modbus" . | indent 2 }}
Expand Down

0 comments on commit a65edcf

Please sign in to comment.