From 5ccce6952320700a46449fa4073385a64cd7d96c Mon Sep 17 00:00:00 2001 From: Adrian Jagielak Date: Fri, 25 Jul 2025 13:33:58 +0200 Subject: [PATCH] Update demo mode data --- futurehome/CHANGELOG.md | 1 + futurehome/src/mqtt/demo_data/device.json | 78 ++--------------------- futurehome/src/mqtt/demo_data/state.json | 75 +++------------------- 3 files changed, 18 insertions(+), 136 deletions(-) diff --git a/futurehome/CHANGELOG.md b/futurehome/CHANGELOG.md index d40cf9c..b71a900 100644 --- a/futurehome/CHANGELOG.md +++ b/futurehome/CHANGELOG.md @@ -4,6 +4,7 @@ ## 0.1.3 (25.07.2025) - Added support for 'chargepoint' service (EV chargers). +- Updated demo mode data to add thermostat with dual setpoint system (heat+cool). ## 0.1.2 (24.07.2025) diff --git a/futurehome/src/mqtt/demo_data/device.json b/futurehome/src/mqtt/demo_data/device.json index 078d738..123f686 100644 --- a/futurehome/src/mqtt/demo_data/device.json +++ b/futurehome/src/mqtt/demo_data/device.json @@ -114,11 +114,15 @@ "props": { "is_secure": false, "is_unsecure": true, - "sup_modes": ["off", "heat"], - "sup_setpoints": ["heat"], + "sup_modes": ["off", "heat", "cool", "auto", "fan", "dry"], + "sup_setpoints": ["heat", "cool"], "sup_temperatures": { "heat": { - "max": 35, + "max": 40, + "min": 10 + }, + "cool": { + "max": 30, "min": 5 } } @@ -918,74 +922,6 @@ "type": "light" } }, - { - "client": { - "name": "Connecte Thermostat" - }, - "fimp": { - "adapter": "zigbee", - "address": "9", - "group": "ch_1" - }, - "functionality": null, - "id": 193, - "lrn": true, - "model": "zb - _TZE200_4hbx5cvx - TS0601", - "modelAlias": "Connecte Thermostat", - "param": { - "targetTemperature": 17, - "temperature": 21, - "timestamp": "2022-02-23 00:06:14 +0100" - }, - "problem": false, - "room": null, - "services": { - "indicator_ctrl": { - "addr": "/rt:dev/rn:zigbee/ad:1/sv:indicator_ctrl/ad:9_1", - "enabled": true, - "intf": ["cmd.indicator.set_visual_element"], - "props": { - "is_secure": true, - "is_unsecure": false - } - }, - "sensor_temp": { - "addr": "/rt:dev/rn:zigbee/ad:1/sv:sensor_temp/ad:9_1", - "enabled": true, - "intf": ["cmd.sensor.get_report", "evt.sensor.report"], - "props": { - "is_secure": true, - "is_unsecure": false, - "sup_units": ["C"], - "thing_role": "main" - } - }, - "thermostat": { - "addr": "/rt:dev/rn:zigbee/ad:1/sv:thermostat/ad:9_1", - "enabled": true, - "intf": [ - "cmd.setpoint.get_report", - "cmd.setpoint.set", - "evt.setpoint.report" - ], - "props": { - "is_secure": true, - "is_unsecure": false, - "sup_modes": [], - "sup_setpoints": ["heat"] - } - } - }, - "supports": ["clear", "poll"], - "thing": 147, - "type": { - "subtype": null, - "supported": { - "thermostat": [] - }, - "type": "thermostat" - } - }, { "client": { "name": "TS0121" diff --git a/futurehome/src/mqtt/demo_data/state.json b/futurehome/src/mqtt/demo_data/state.json index 5a2df1a..36ee997 100644 --- a/futurehome/src/mqtt/demo_data/state.json +++ b/futurehome/src/mqtt/demo_data/state.json @@ -20,6 +20,15 @@ "unit": "C" }, "val_t": "str_map" + }, + { + "ts": "2021-11-15 21:30:00 +0100", + "val": { + "temp": "25.000000", + "type": "cool", + "unit": "C" + }, + "val_t": "str_map" } ] }, @@ -28,7 +37,7 @@ "values": [ { "ts": "2021-11-15 20:31:03 +0100", - "val": "heat", + "val": "auto", "val_t": "string" } ] @@ -568,70 +577,6 @@ } ] }, - { - "id": 193, - "services": [ - { - "addr": "/rt:dev/rn:zigbee/ad:1/sv:thermostat/ad:9_1", - "attributes": [ - { - "name": "state", - "values": [ - { - "ts": "2022-02-23 00:06:14 +0100", - "val": "Idle", - "val_t": "string" - } - ] - }, - { - "name": "mode", - "values": [ - { - "ts": "2022-02-23 00:06:13 +0100", - "val": "Manual", - "val_t": "string" - } - ] - }, - { - "name": "setpoint", - "values": [ - { - "ts": "2022-02-23 00:06:13 +0100", - "val": { - "temp": "17", - "type": "heat", - "unit": "C" - }, - "val_t": "str_map" - } - ] - } - ], - "name": "thermostat" - }, - { - "addr": "/rt:dev/rn:zigbee/ad:1/sv:sensor_temp/ad:9_1", - "attributes": [ - { - "name": "sensor", - "values": [ - { - "props": { - "unit": "C" - }, - "ts": "2022-02-23 00:06:13 +0100", - "val": 21, - "val_t": "float" - } - ] - } - ], - "name": "sensor_temp" - } - ] - }, { "id": 196, "services": [