From b2a26515278b271fec2a84ded2168b30208288ed Mon Sep 17 00:00:00 2001 From: rxf Date: Mon, 13 Jul 2026 09:16:05 +0200 Subject: [PATCH] =?UTF-8?q?Rollladen=5Falle:=20SZ=20klein=20t=C3=B6gl.=20u?= =?UTF-8?q?m=205:00=20zu=20fahren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flows.json | 76 +++++++++++++++++++++++++++++++++++++++++++++---- flows_cred.json | 2 +- 2 files changed, 72 insertions(+), 6 deletions(-) diff --git a/flows.json b/flows.json index 82c3ea8..0ae98f9 100644 --- a/flows.json +++ b/flows.json @@ -251,7 +251,7 @@ "id": "c46bc662805c3ea3", "type": "junction", "z": "86a9e7aa0c304b46", - "x": 540, + "x": 560, "y": 2280, "wires": [ [ @@ -2025,8 +2025,9 @@ "type": "function", "z": "86a9e7aa0c304b46", "name": "function 2", - "func": "const s2r = [\n { name: \"TH_1\", room: \"SZ\" }, \n { name: \"TH_2\", room: \"KT\" },\n { name: \"TH_3\", room: \"CL\" }, \n { name: \"TH_4\", room: \"KU\" },\n { name: \"TH_5\", room: \"WZ\" },\n { name: \"TH_6\", room: \"EZ\" },\n { name: \"TH_7\", room: \"FL\" },\n { name: \"TH_8\", room: \"KO\" },\n { name: \"TH_9\", room: \"AU\" },\n { name: \"Temp_Feuchte_Mini_1\", room: \"BA\" },\n { name: \"Licht_Sensor\", room: \"BD\" }\n]\nlet room = \"\"\nlet s = msg.topic.split('/')\nfor (let x of s2r) {\n if (x.name === s[1]) {\n room = x.room\n break\n }\n}\nmsg.measurement = room\ndelete msg.payload.linkquality\nreturn msg;", + "func": "const s2r = [\n { name: \"TH_1\", room: \"SZ\" }, \n { name: \"TH_2\", room: \"KT\" },\n { name: \"TH_3\", room: \"CL\" }, \n { name: \"TH_4\", room: \"KU\" },\n { name: \"TH_5\", room: \"WZ\" },\n { name: \"TH_6\", room: \"EZ\" },\n { name: \"TH_7\", room: \"FL\" },\n { name: \"TH_8\", room: \"KO\" },\n { name: \"TH_9\", room: \"AU\" },\n { name: \"TH_10\", room: \"AU1\" },\n { name: \"Temp_Feuchte_Mini_1\", room: \"BA\" },\n { name: \"Licht_Sensor\", room: \"BD\" }\n]\nlet room = \"\"\nlet s = msg.topic.split('/')\nfor (let x of s2r) {\n if (x.name === s[1]) {\n room = x.room\n break\n }\n}\nmsg.measurement = room\ndelete msg.payload.linkquality\nreturn msg;", "outputs": 1, + "timeout": "", "noerr": 0, "initialize": "", "finalize": "", @@ -2126,7 +2127,7 @@ "type": "debug", "z": "86a9e7aa0c304b46", "name": "debug 28", - "active": false, + "active": true, "tosidebar": true, "console": false, "tostatus": false, @@ -3213,7 +3214,7 @@ "type": "debug", "z": "86a9e7aa0c304b46", "name": "debug 197", - "active": true, + "active": false, "tosidebar": true, "console": false, "tostatus": false, @@ -3224,6 +3225,27 @@ "y": 1200, "wires": [] }, + { + "id": "55932211b99a22d1", + "type": "mqtt in", + "z": "86a9e7aa0c304b46", + "name": "AU-TH_10", + "topic": "zigbee2mqtt/TH_10", + "qos": "0", + "datatype": "auto-detect", + "broker": "c46833d59903b816", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 240, + "y": 2680, + "wires": [ + [ + "c46bc662805c3ea3" + ] + ] + }, { "id": "e094b15a0b12dd71", "type": "mqtt in", @@ -7471,6 +7493,50 @@ ] ] }, + { + "id": "d09814fba249cf91", + "type": "cronplus", + "z": "85bb16dbe6fb391c", + "name": "", + "outputField": "payload", + "timeZone": "Europe/Berlin", + "storeName": "", + "commandResponseMsgOutput": "output1", + "defaultLocation": "48.804783197350694 9.19624328613281", + "defaultLocationType": "fixed", + "outputs": 1, + "options": [ + { + "name": "schedule1", + "topic": "topic1", + "payloadType": "num", + "payload": "1", + "expressionType": "cron", + "expression": "0 0 5 * * *", + "location": "48.776826823252065 9.12689208984375", + "offset": "1", + "solarType": "selected", + "solarEvents": "sunset" + } + ], + "x": 289, + "y": 2838, + "wires": [ + [ + "80f9225c7314df4f" + ] + ] + }, + { + "id": "5253d7a68f1ba892", + "type": "comment", + "z": "85bb16dbe6fb391c", + "name": "tägl. um 5 den SZ_klein ZU machen", + "info": "Da der Wandtaster ein IP-Taster ist, der Rollladenaktor aber nicht,\nkann keine Direktverknüpfung eingestellt werden.\nDeshalb muss über diese Konstruktion hier gegangen werden.\nrxf 2026-01-21", + "x": 360, + "y": 2780, + "wires": [] + }, { "id": "9e617dec92526da1", "type": "comment", @@ -11901,7 +11967,7 @@ "type": "debug", "z": "958848d44d119e45", "name": "Push an Handy", - "active": false, + "active": true, "tosidebar": true, "console": false, "tostatus": false, diff --git a/flows_cred.json b/flows_cred.json index 25f0c99..13c95c2 100644 --- a/flows_cred.json +++ b/flows_cred.json @@ -1,3 +1,3 @@ { - "$": "bb1765bdcec6b585abda27c230c5c23cRp+UQOKNzoB4sBABpRvcSaO7MTJ/JzYtvYBmyORkqhb8J8TaJfJ21yvNhcjzTXXgNkIQoO2MniXbsrmnXfHEHap3hB+3+lZphfn8PtFz2GFRD/NB67ZVRCpI+6+qVCagUEgAInu/7T8n9Aq8sfG3q1Aml49vRVXLKXk3TWxciG070lDPa2n+6Fvk6OrZy0w2/R83j6MdaI6IvCWQ+DipdTGIvn+WkpAx6MYFeNNhzAjo8A==" + "$": "2aa616640b3ba48fd35b16f66fdff8b7Hpe629jmBOriUk5biPZnodXIyxGC8X113RY4xAt8UV8qta5pYmK+29bnPYEeklvaAP9oVPMe9T1MXHQTGK6MUQ0cBixaWoMROF3d9hIcQNVhNgqLgVXCwzxD3xMe5GAdXTweT5ZSq2acAa5s8vYcoKn3EBE8DNg9ebfK64ersDgfLxHLQJM/PV8i7iLv9B/EcwBRO/ASvOsPN+kn5CqHje5OiTdWpsZpm+5IpNMcOdm4nwsc0pPe0j99our8KmDXaT29RIW5t/ImRESCysI46mGd5boxU7dqUPp5kq5W3bWb1o+cgMP95xTwWePFWnuhw3FE2FZcFPzMPbvjAx6irUONlEge5bcfWxNDPAkwSkcngIcCT39GAn7ZeA==" } \ No newline at end of file