From 50ccce70259f2fe852a1a9cf863b02dc7c0da3cf Mon Sep 17 00:00:00 2001 From: SwoopX Date: Wed, 27 Dec 2023 21:51:17 +0100 Subject: [PATCH] Add resource item for external temperature measurement for Bosch Thermostat II (#7467) --- devices/bosch/thermostat2.json | 39 +++++++++++++++++++++++++++++++++- general.xml | 2 +- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/devices/bosch/thermostat2.json b/devices/bosch/thermostat2.json index b92d81a0fe..caf713476e 100644 --- a/devices/bosch/thermostat2.json +++ b/devices/bosch/thermostat2.json @@ -110,6 +110,35 @@ }, "default": false }, + { + "name": "config/externalsensortemp", + "refresh.interval": 360, + "read": { + "at": "0x4040", + "cl": "0x0201", + "ep": 1, + "fn": "zcl:attr", + "mf": "0x1209" + }, + "parse": { + "at": "0x4040", + "cl": "0x0201", + "ep": 1, + "eval": "Item.val = Attr.val;", + "fn": "zcl:attr", + "mf": "0x1209" + }, + "write": { + "at": "0x4040", + "cl": "0x0201", + "dt": "0x29", + "ep": 1, + "eval": "Item.val = Attr.val;", + "fn": "zcl:attr", + "mf": "0x1209" + }, + "default": 0 + }, { "name": "config/externalwindowopen", "refresh.interval": 3660, @@ -209,7 +238,15 @@ "name": "config/reachable" }, { - "name": "config/schedule" + "name": "config/schedule", + "refresh.interval": 3660, + "read": { + "fn": "zcl:cmd", + "ep": "0x01", + "cl": "0x0201", + "cmd": "0x02", + "eval": "'7F01'" + } }, { "name": "config/schedule_on", diff --git a/general.xml b/general.xml index 36a70db440..8568a9b4e2 100644 --- a/general.xml +++ b/general.xml @@ -2590,7 +2590,7 @@ Note: It does not clear or delete previous weekly schedule programming configura - +