Varta: fix register type (#4928)
This commit is contained in:
parent
b6e10163c6
commit
3a2b3f547b
2 changed files with 7 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1078 # grid power
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
scale: -1
|
||||
{{- end }}
|
||||
|
|
@ -28,7 +28,7 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1066 # active power
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
scale: -1
|
||||
soc:
|
||||
|
|
@ -37,6 +37,6 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1068 # SOC
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1078 # grid power
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
scale: -1
|
||||
{{- end }}
|
||||
|
|
@ -28,14 +28,14 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1102 # PV-sensor power
|
||||
type: input
|
||||
type: holding
|
||||
decode: uint16
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
id: 255
|
||||
register:
|
||||
address: 1066 # active power
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
scale: -1
|
||||
soc:
|
||||
|
|
@ -44,6 +44,6 @@ render: |
|
|||
id: 255
|
||||
register:
|
||||
address: 1068 # SOC
|
||||
type: input
|
||||
type: holding
|
||||
decode: int16
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue