Files
gree-controller/presets/device_resilience.json
T
2026-09-02 08:50:51 +02:00

93 lines
2.5 KiB
JSON

{
"id": "device_resilience",
"category": "reliability",
"name": {
"pl": "Sterowanie tylko przy sprawnym urządzeniu",
"en": "Only when device is healthy"
},
"description": {
"pl": "Uruchamia termostat tylko gdy urządzenie jest włączone, online i tryb domu pozwala na pracę.",
"en": "Runs the thermostat only when the device is enabled, online and house mode allows operation."
},
"flow": {
"nodes": [
{
"id": "node-00000000-0000-4000-8000-000000000157",
"kind": "device_state",
"x": 40,
"y": 55,
"config": {
"device_id": "$device1",
"field": "online",
"operator": "eq",
"value": "true"
}
},
{
"id": "node-00000000-0000-4000-8000-000000000158",
"kind": "device_state",
"x": 40,
"y": 175,
"config": {
"device_id": "$device1",
"field": "enabled",
"operator": "eq",
"value": "true"
}
},
{
"id": "node-00000000-0000-4000-8000-000000000159",
"kind": "house_mode",
"x": 40,
"y": 295,
"config": {
"operator": "neq",
"value": "off"
}
},
{
"id": "node-00000000-0000-4000-8000-000000000160",
"kind": "logic_and",
"x": 315,
"y": 175,
"config": {}
},
{
"id": "node-00000000-0000-4000-8000-000000000161",
"kind": "zone_thermostat",
"x": 570,
"y": 175,
"config": {
"zone_id": "$zone1",
"preset": "auto",
"setpoint": 21,
"mode": "auto",
"cooldown_seconds": 90
}
}
],
"edges": [
{
"id": "edge-00000000-0000-4000-8000-000000000162",
"from": "node-00000000-0000-4000-8000-000000000157",
"to": "node-00000000-0000-4000-8000-000000000160"
},
{
"id": "edge-00000000-0000-4000-8000-000000000163",
"from": "node-00000000-0000-4000-8000-000000000158",
"to": "node-00000000-0000-4000-8000-000000000160"
},
{
"id": "edge-00000000-0000-4000-8000-000000000164",
"from": "node-00000000-0000-4000-8000-000000000159",
"to": "node-00000000-0000-4000-8000-000000000160"
},
{
"id": "edge-00000000-0000-4000-8000-000000000165",
"from": "node-00000000-0000-4000-8000-000000000160",
"to": "node-00000000-0000-4000-8000-000000000161"
}
]
}
}