Skip to content

Commit

Permalink
Add ads-tec StoraXe (#9411)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Oct 26, 2023
1 parent c3ba0d8 commit bceed3b
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
50 changes: 50 additions & 0 deletions templates/definition/meter/storaxe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
template: storaxe
products:
- brand: Ads-tec
description:
generic: StoraXe
params:
- name: usage
choice: ["battery"]
- name: modbus
choice: ["tcpip"]
id: 2
render: |
type: custom
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 2 # RealPower
type: holding
decode: int16
scale: 100
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 115 # EnergyExportedAC
type: holding
decode: uint32
currents:
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 10 # ACCurrentL1
type: holding
decode: int16
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 11 # ACCurrentL2
type: holding
decode: int16
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 12 # ACCurrentL3
type: holding
decode: int16
scale: 0.1
15 changes: 15 additions & 0 deletions templates/docs/meter/storaxe_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
product:
brand: Ads-tec
description: StoraXe
render:
- usage: battery
default: |
type: template
template: storaxe
usage: battery
# Modbus TCP
modbus: tcpip
id: 2
host: 192.0.2.2 # Hostname
port: 502 # Port
1 change: 1 addition & 0 deletions templates/evcc.io/brands.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
],
"PVBattery": [
"Acrel",
"Ads-tec",
"Alpha ESS",
"AVM",
"Bosswerk",
Expand Down

0 comments on commit bceed3b

Please sign in to comment.