81 lines
1.8 KiB
YAML
81 lines
1.8 KiB
YAML
template: storaxe
|
|
products:
|
|
- brand: Ads-tec
|
|
description:
|
|
generic: StoraXe
|
|
params:
|
|
- name: usage
|
|
choice: ["battery"]
|
|
- name: modbus
|
|
choice: ["tcpip"]
|
|
id: 2
|
|
- preset: battery-params
|
|
render: |
|
|
type: custom
|
|
power:
|
|
source: modbus
|
|
{{- include "modbus" . | indent 2 }}
|
|
register:
|
|
address: 1 # RealPower
|
|
type: input
|
|
decode: int16
|
|
scale: 100
|
|
energy:
|
|
source: modbus
|
|
{{- include "modbus" . | indent 2 }}
|
|
register:
|
|
address: 114 # EnergyExportedAC
|
|
type: input
|
|
decode: uint32
|
|
voltages:
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 6 # ACVoltageL1
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 7 # ACVoltageL2
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 8 # ACVoltageL3
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
currents:
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 9 # ACCurrentL1
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 10 # ACCurrentL2
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
- source: modbus
|
|
{{- include "modbus" . | indent 4 }}
|
|
register:
|
|
address: 11 # ACCurrentL3
|
|
type: input
|
|
decode: int16
|
|
scale: 0.1
|
|
soc:
|
|
source: modbus
|
|
{{- include "modbus" . | indent 2 }}
|
|
register:
|
|
address: 125 # SXSSOC
|
|
type: input
|
|
decode: int16
|
|
{{- include "battery-params" . }}
|