From 92a63d92e243f76457fc1b92819d0060f5bf92b8 Mon Sep 17 00:00:00 2001 From: FrankvdAa Date: Wed, 3 Jun 2026 21:05:53 +0200 Subject: [PATCH] Atmoce: add returnEnergy (#30471) --- templates/definition/meter/atmoce.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/definition/meter/atmoce.yaml b/templates/definition/meter/atmoce.yaml index 9b41735b0..766dcbfe9 100644 --- a/templates/definition/meter/atmoce.yaml +++ b/templates/definition/meter/atmoce.yaml @@ -46,6 +46,14 @@ render: | type: holding decode: uint64 scale: 0.01 + returnenergy: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 60178 # Cumulative Electricity Sales Volume (kWh * 100) + type: holding + decode: uint64 + scale: 0.01 currents: - source: modbus {{- include "modbus" . | indent 2 }} @@ -127,6 +135,14 @@ render: | type: holding decode: uint64 scale: 0.01 + returnenergy: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 60166 # Cumulative Energy Storage Charging Capacity (kWh * 100) + type: holding + decode: uint64 + scale: 0.01 soc: source: modbus {{- include "modbus" . | indent 2 }}