From 394553c1982f1e00c0b2eaa21a91bcd885e7712f Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 15 May 2026 16:19:51 +0200 Subject: [PATCH] Xtherma: fix registers and add dimmer (#29854) --- templates/definition/charger/xtherma.yaml | 40 +++++++++++++++++------ 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/templates/definition/charger/xtherma.yaml b/templates/definition/charger/xtherma.yaml index c1a32576d..93286966c 100644 --- a/templates/definition/charger/xtherma.yaml +++ b/templates/definition/charger/xtherma.yaml @@ -1,3 +1,4 @@ +# https://github.com/Xtherma/xtherma_tcp template: xtherma products: - brand: Xtherma @@ -10,26 +11,31 @@ params: render: | type: heatpump setmaxpower: - source: modbus - {{- include "modbus" . | indent 2 }} - register: - address: 72 - type: holding - encoding: uint32 + source: watchdog + timeout: 120s + reset: 0 + set: + source: modbus + {{- include "modbus" . | indent 4 }} + register: + address: 71 + type: holding + encoding: uint16 getmaxpower: source: modbus {{- include "modbus" . | indent 2 }} register: - address: 72 + address: 177 type: holding - encoding: uint32 + encoding: uint16 + scale: 10 temp: source: modbus {{- include "modbus" . | indent 2 }} register: address: 124 type: input - encoding: int32 + encoding: int16 scale: 10 limittemp: source: modbus @@ -37,4 +43,18 @@ render: | register: address: 51 type: input - encoding: int32 + encoding: int16 + dim: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 65 + type: holding + encoding: uint16 + dimmed: + source: modbus + {{- include "modbus" . | indent 2 }} + register: + address: 103 + type: input + encoding: uint16