From b4f7a42306c78b91c91e510c7c09d46eef904790 Mon Sep 17 00:00:00 2001 From: Lars Gellrich Date: Sat, 6 Jun 2026 19:52:07 +0200 Subject: [PATCH] AlphaESS: add returnEnergy support (#30568) --- templates/definition/meter/alpha-ess-smile.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/templates/definition/meter/alpha-ess-smile.yaml b/templates/definition/meter/alpha-ess-smile.yaml index 01350deaf..c5c7b5e4b 100644 --- a/templates/definition/meter/alpha-ess-smile.yaml +++ b/templates/definition/meter/alpha-ess-smile.yaml @@ -34,7 +34,14 @@ render: | {{- include "modbus" . | indent 2 }} register: address: 18 # 0x12 Total energy consumed from grid (Grid) - # 0x10 (address 16) Total energy feed to grid (Grid) - for future grid energy import/export split + type: holding + decode: uint32 + scale: 0.01 + returnenergy: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 16 # 0x10 Total energy feed to grid (Grid) type: holding decode: uint32 scale: 0.01 @@ -133,6 +140,14 @@ render: | type: holding decode: uint32 scale: 0.1 + returnenergy: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 288 # 0x120 Battery charge energy + type: holding + decode: uint32 + scale: 0.1 soc: source: modbus {{- include "modbus" . | indent 2 }}