Anker SOLIX X1: fix battery SOC/power register mapping and word order (#31107)
This commit is contained in:
parent
0a62ba106b
commit
394b271bbc
1 changed files with 12 additions and 12 deletions
|
|
@ -27,14 +27,14 @@ render: |
|
|||
register:
|
||||
address: 10644 # Meter Total Active Power (W, positive = import, negative = export)
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
energy:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 10656 # Meter Total Forward Active Energy (kWh)
|
||||
type: input
|
||||
decode: uint32
|
||||
decode: uint32s
|
||||
scale: 0.1
|
||||
powers:
|
||||
- source: modbus
|
||||
|
|
@ -42,19 +42,19 @@ render: |
|
|||
register:
|
||||
address: 10638 # Meter Phase A Active Power
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
address: 10640 # Meter Phase B Active Power
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
address: 10642 # Meter Phase C Active Power
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
currents:
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
|
|
@ -107,14 +107,14 @@ render: |
|
|||
register:
|
||||
address: 10183 # Total PV Power (W)
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
energy:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 10026 # Total PV Generation (kWh)
|
||||
address: 10187 # Total PV Generation (kWh)
|
||||
type: input
|
||||
decode: uint32
|
||||
decode: uint32s
|
||||
scale: 0.1
|
||||
maxacpower: {{ .maxacpower }}
|
||||
{{- end }}
|
||||
|
|
@ -123,22 +123,22 @@ render: |
|
|||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 10006 # Battery Power (W, positive = discharging, negative = charging)
|
||||
address: 10008 # Battery Power (W, positive = discharging, negative = charging)
|
||||
type: input
|
||||
decode: int32
|
||||
decode: int32s
|
||||
energy:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 10264 # Battery Total Discharge Energy (kWh)
|
||||
type: input
|
||||
decode: uint32
|
||||
decode: uint32s
|
||||
scale: 0.1
|
||||
soc:
|
||||
source: modbus
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
register:
|
||||
address: 10010 # SOC (%)
|
||||
address: 10014 # SOC (%)
|
||||
type: input
|
||||
decode: uint16
|
||||
{{- include "battery-params" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue