Rollladen_alle: SZ klein tögl. um 5:00 zu fahren

This commit is contained in:
rxf
2026-07-13 09:16:05 +02:00
parent 5fe4b27a82
commit b2a2651527
2 changed files with 72 additions and 6 deletions
+71 -5
View File
@@ -251,7 +251,7 @@
"id": "c46bc662805c3ea3", "id": "c46bc662805c3ea3",
"type": "junction", "type": "junction",
"z": "86a9e7aa0c304b46", "z": "86a9e7aa0c304b46",
"x": 540, "x": 560,
"y": 2280, "y": 2280,
"wires": [ "wires": [
[ [
@@ -2025,8 +2025,9 @@
"type": "function", "type": "function",
"z": "86a9e7aa0c304b46", "z": "86a9e7aa0c304b46",
"name": "function 2", "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, "outputs": 1,
"timeout": "",
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
@@ -2126,7 +2127,7 @@
"type": "debug", "type": "debug",
"z": "86a9e7aa0c304b46", "z": "86a9e7aa0c304b46",
"name": "debug 28", "name": "debug 28",
"active": false, "active": true,
"tosidebar": true, "tosidebar": true,
"console": false, "console": false,
"tostatus": false, "tostatus": false,
@@ -3213,7 +3214,7 @@
"type": "debug", "type": "debug",
"z": "86a9e7aa0c304b46", "z": "86a9e7aa0c304b46",
"name": "debug 197", "name": "debug 197",
"active": true, "active": false,
"tosidebar": true, "tosidebar": true,
"console": false, "console": false,
"tostatus": false, "tostatus": false,
@@ -3224,6 +3225,27 @@
"y": 1200, "y": 1200,
"wires": [] "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", "id": "e094b15a0b12dd71",
"type": "mqtt in", "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", "id": "9e617dec92526da1",
"type": "comment", "type": "comment",
@@ -11901,7 +11967,7 @@
"type": "debug", "type": "debug",
"z": "958848d44d119e45", "z": "958848d44d119e45",
"name": "Push an Handy", "name": "Push an Handy",
"active": false, "active": true,
"tosidebar": true, "tosidebar": true,
"console": false, "console": false,
"tostatus": false, "tostatus": false,
+1 -1
View File
@@ -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=="
} }