Compare commits
4 Commits
505183a5cc
...
e1b85ecdb7
| Author | SHA1 | Date | |
|---|---|---|---|
| e1b85ecdb7 | |||
| 4c13bcc402 | |||
| e79567ffab | |||
| babb5e932b |
503
flows.json
503
flows.json
@@ -578,6 +578,18 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "80f9225c7314df4f",
|
||||
"type": "junction",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"x": 1060,
|
||||
"y": 2560,
|
||||
"wires": [
|
||||
[
|
||||
"319767102ece53fb"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c46833d59903b816",
|
||||
"type": "mqtt-broker",
|
||||
@@ -733,30 +745,6 @@
|
||||
"id": "c398618f77baaf6f",
|
||||
"type": "ewelink-credentials"
|
||||
},
|
||||
{
|
||||
"id": "37bd8485e5bff627",
|
||||
"type": "mongodb4-client",
|
||||
"name": "",
|
||||
"protocol": "mongodb",
|
||||
"hostname": "",
|
||||
"port": "",
|
||||
"dbName": "smarthome",
|
||||
"appName": "",
|
||||
"authSource": "",
|
||||
"authMechanism": "DEFAULT",
|
||||
"tls": false,
|
||||
"tlsCAFile": "",
|
||||
"tlsCertificateKeyFile": "",
|
||||
"tlsInsecure": false,
|
||||
"connectTimeoutMS": "30000",
|
||||
"socketTimeoutMS": "0",
|
||||
"minPoolSize": "0",
|
||||
"maxPoolSize": "100",
|
||||
"maxIdleTimeMS": "0",
|
||||
"uri": "mongodb+srv://rexfue:9JzUXgrZgy1BUqwU@cluster0.2bjs2fc.mongodb.net/?retryWrites=true&w=majority",
|
||||
"advanced": "{}",
|
||||
"uriTabActive": "tab-uri-advanced"
|
||||
},
|
||||
{
|
||||
"id": "874361936f1ce815",
|
||||
"type": "mongodb4-client",
|
||||
@@ -1048,37 +1036,6 @@
|
||||
"logrotatecount": "5",
|
||||
"logsize": "1000"
|
||||
},
|
||||
{
|
||||
"id": "18fed68ccdfeed7d",
|
||||
"type": "ui_tab",
|
||||
"name": "Garage",
|
||||
"icon": "dashboard",
|
||||
"order": 4,
|
||||
"disabled": false,
|
||||
"hidden": false
|
||||
},
|
||||
{
|
||||
"id": "f46af736de5b6e66",
|
||||
"type": "ui_group",
|
||||
"name": "Tor",
|
||||
"tab": "18fed68ccdfeed7d",
|
||||
"order": 1,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
"id": "bc1acb6b016af1c1",
|
||||
"type": "ui_group",
|
||||
"name": "Switch",
|
||||
"tab": "",
|
||||
"order": 1,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
"id": "9a5095b780d6917f",
|
||||
"type": "ui-page",
|
||||
@@ -1115,17 +1072,6 @@
|
||||
"visible": "true",
|
||||
"disabled": "false"
|
||||
},
|
||||
{
|
||||
"id": "group1",
|
||||
"type": "ui_group",
|
||||
"name": "Computer_Tisch",
|
||||
"tab": "tab1",
|
||||
"order": 1,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
"id": "tab1",
|
||||
"type": "ui_tab",
|
||||
@@ -1155,17 +1101,6 @@
|
||||
"disabled": false,
|
||||
"hidden": false
|
||||
},
|
||||
{
|
||||
"id": "63fd87c9bbd93a47",
|
||||
"type": "ui_group",
|
||||
"name": "CL_Heizung",
|
||||
"tab": "261c60c1322869d9",
|
||||
"order": 1,
|
||||
"disp": true,
|
||||
"width": "6",
|
||||
"collapse": false,
|
||||
"className": ""
|
||||
},
|
||||
{
|
||||
"id": "1d0cfd7b0bb56a24",
|
||||
"type": "ui-group",
|
||||
@@ -1286,6 +1221,20 @@
|
||||
"disabled": "false",
|
||||
"groupType": "default"
|
||||
},
|
||||
{
|
||||
"id": "d4177dcf79a5a58b",
|
||||
"type": "ui-group",
|
||||
"name": "Computer_Tisch_rxf",
|
||||
"page": "9a5095b780d6917f",
|
||||
"width": "6",
|
||||
"height": "1",
|
||||
"order": -1,
|
||||
"showTitle": true,
|
||||
"className": "",
|
||||
"visible": "true",
|
||||
"disabled": "false",
|
||||
"groupType": "default"
|
||||
},
|
||||
{
|
||||
"id": "4d2812cbd43e95b7",
|
||||
"type": "mqtt in",
|
||||
@@ -7898,8 +7847,8 @@
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 610,
|
||||
"y": 2600,
|
||||
"x": 630,
|
||||
"y": 2440,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
@@ -7978,6 +7927,241 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b965a87ea3c8ed6e",
|
||||
"type": "comment",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "Rollladen SZ klein per WandTaster",
|
||||
"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": 2520,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "f85db79d181819ac",
|
||||
"type": "mqtt in",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"topic": "hm/status/#",
|
||||
"qos": "2",
|
||||
"datatype": "auto-detect",
|
||||
"broker": "c46833d59903b816",
|
||||
"nl": false,
|
||||
"rap": true,
|
||||
"rh": 0,
|
||||
"inputs": 0,
|
||||
"x": 290,
|
||||
"y": 2580,
|
||||
"wires": [
|
||||
[
|
||||
"e2f3a46fa9f5ce72"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d277b2fc65eb166c",
|
||||
"type": "function",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "block first message",
|
||||
"func": "// function node\nlet alreadySeen = context.get(\"alreadySeen\") || false;\n\nif (!alreadySeen) {\n // erste Message blockieren\n context.set(\"alreadySeen\", true);\n return null;\n} else {\n // alle weiteren durchlassen\n return msg;\n}\n",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 470,
|
||||
"y": 2640,
|
||||
"wires": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "23dbcf7311cd422d",
|
||||
"type": "comment",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "evtl. passend einfügen",
|
||||
"info": "",
|
||||
"x": 480,
|
||||
"y": 2680,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "e2f3a46fa9f5ce72",
|
||||
"type": "switch",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"property": "topic",
|
||||
"propertyType": "msg",
|
||||
"rules": [
|
||||
{
|
||||
"t": "regex",
|
||||
"v": "hm/status/Rollladen_SZ_klein_Taster:1/PRESS_SHORT",
|
||||
"vt": "str",
|
||||
"case": false
|
||||
},
|
||||
{
|
||||
"t": "regex",
|
||||
"v": "hm/status/Rollladen_SZ_klein_Taster:2/PRESS_SHORT",
|
||||
"vt": "str",
|
||||
"case": false
|
||||
},
|
||||
{
|
||||
"t": "regex",
|
||||
"v": "hm/status/Rollladen_SZ_klein:1/WORKING",
|
||||
"vt": "str",
|
||||
"case": false
|
||||
}
|
||||
],
|
||||
"checkall": "true",
|
||||
"repair": false,
|
||||
"outputs": 3,
|
||||
"x": 650,
|
||||
"y": 2580,
|
||||
"wires": [
|
||||
[
|
||||
"cd91d141df98baed"
|
||||
],
|
||||
[
|
||||
"698e9cf53136dbc7"
|
||||
],
|
||||
[
|
||||
"8b5b54a3f4935199",
|
||||
"a9f1d162e5f51668"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fa1ffb5c8ba0d243",
|
||||
"type": "mqtt out",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "Rollladen_SZ_klein",
|
||||
"topic": "",
|
||||
"qos": "0",
|
||||
"retain": "",
|
||||
"respTopic": "",
|
||||
"contentType": "",
|
||||
"userProps": "",
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "c46833d59903b816",
|
||||
"x": 1490,
|
||||
"y": 2560,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "698e9cf53136dbc7",
|
||||
"type": "change",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"rules": [
|
||||
{
|
||||
"t": "set",
|
||||
"p": "payload",
|
||||
"pt": "msg",
|
||||
"to": "0.0",
|
||||
"tot": "num"
|
||||
}
|
||||
],
|
||||
"action": "",
|
||||
"property": "",
|
||||
"from": "",
|
||||
"to": "",
|
||||
"reg": false,
|
||||
"x": 840,
|
||||
"y": 2600,
|
||||
"wires": [
|
||||
[
|
||||
"80f9225c7314df4f"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cd91d141df98baed",
|
||||
"type": "change",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"rules": [
|
||||
{
|
||||
"t": "set",
|
||||
"p": "payload",
|
||||
"pt": "msg",
|
||||
"to": "1.0",
|
||||
"tot": "num"
|
||||
}
|
||||
],
|
||||
"action": "",
|
||||
"property": "",
|
||||
"from": "",
|
||||
"to": "",
|
||||
"reg": false,
|
||||
"x": 840,
|
||||
"y": 2540,
|
||||
"wires": [
|
||||
[
|
||||
"80f9225c7314df4f"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8b5b54a3f4935199",
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 195",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 830,
|
||||
"y": 2720,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "a9f1d162e5f51668",
|
||||
"type": "change",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"rules": [
|
||||
{
|
||||
"t": "set",
|
||||
"p": "szk_move",
|
||||
"pt": "flow",
|
||||
"to": "payload.val",
|
||||
"tot": "msg"
|
||||
}
|
||||
],
|
||||
"action": "",
|
||||
"property": "",
|
||||
"from": "",
|
||||
"to": "",
|
||||
"reg": false,
|
||||
"x": 850,
|
||||
"y": 2660,
|
||||
"wires": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "319767102ece53fb",
|
||||
"type": "function",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "function 72",
|
||||
"func": "let moving = flow.get(\"szk_move\")\nif (moving) {\n msg.topic = \"hm/set/Rollladen_SZ_klein:1/STOP\"\n msg.payload = true\n} else {\n msg.topic = \"hm/set/Rollladen_SZ_klein:1/LEVEL\"\n}\nreturn msg",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 1190,
|
||||
"y": 2560,
|
||||
"wires": [
|
||||
[
|
||||
"fa1ffb5c8ba0d243"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9e617dec92526da1",
|
||||
"type": "comment",
|
||||
@@ -10006,12 +10190,12 @@
|
||||
"z": "0ecc4a0267296324",
|
||||
"group": "ed415db654fe4777",
|
||||
"order": 1,
|
||||
"width": "6",
|
||||
"width": "3",
|
||||
"height": "1",
|
||||
"name": "",
|
||||
"label": "Garage ist: ",
|
||||
"format": "{{msg.payload}}",
|
||||
"layout": "row-center",
|
||||
"layout": "row-spread",
|
||||
"style": true,
|
||||
"font": "Arial Black,Arial Black,Gadget,sans-serif",
|
||||
"fontSize": "24",
|
||||
@@ -11255,7 +11439,7 @@
|
||||
"userProps": "",
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "c7cf83a81a522047",
|
||||
"broker": "c46833d59903b816",
|
||||
"x": 1480,
|
||||
"y": 320,
|
||||
"wires": []
|
||||
@@ -11420,6 +11604,64 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "a4c236de356e571e",
|
||||
"type": "inject",
|
||||
"z": "d7346bc232ce6ad2",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "true",
|
||||
"payloadType": "bool",
|
||||
"x": 1110,
|
||||
"y": 160,
|
||||
"wires": [
|
||||
[
|
||||
"601e7dacd6fbf0a5"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "aa9d57da685f6f2f",
|
||||
"type": "inject",
|
||||
"z": "d7346bc232ce6ad2",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "false",
|
||||
"payloadType": "bool",
|
||||
"x": 1090,
|
||||
"y": 460,
|
||||
"wires": [
|
||||
[
|
||||
"601e7dacd6fbf0a5"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "82edfa2b4ee8173d",
|
||||
"type": "mqtt in",
|
||||
@@ -12165,7 +12407,7 @@
|
||||
"type": "debug",
|
||||
"z": "958848d44d119e45",
|
||||
"name": "Briefkasten_Switch_gefiltert",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -12232,37 +12474,31 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "switch1",
|
||||
"type": "ui_switch",
|
||||
"z": "9af67c7112bb80c5",
|
||||
"name": "Lampe",
|
||||
"label": "Monitore",
|
||||
"tooltip": "",
|
||||
"group": "group1",
|
||||
"order": 1,
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"passthru": true,
|
||||
"decouple": "false",
|
||||
"topic": "licht/wohnzimmer",
|
||||
"topicType": "str",
|
||||
"style": "",
|
||||
"onvalue": "true",
|
||||
"onvalueType": "bool",
|
||||
"onicon": "",
|
||||
"oncolor": "",
|
||||
"offvalue": "false",
|
||||
"offvalueType": "bool",
|
||||
"officon": "",
|
||||
"offcolor": "",
|
||||
"animate": true,
|
||||
"className": "",
|
||||
"x": 610,
|
||||
"y": 200,
|
||||
"id": "6dd34ba09c7114fa",
|
||||
"type": "inject",
|
||||
"z": "958848d44d119e45",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "{\"contact\": false}",
|
||||
"payloadType": "json",
|
||||
"x": 240,
|
||||
"y": 320,
|
||||
"wires": [
|
||||
[
|
||||
"debug1",
|
||||
"cc9ef585fe86bc66"
|
||||
"d72d7548f9c77cf6"
|
||||
]
|
||||
]
|
||||
},
|
||||
@@ -12277,6 +12513,8 @@
|
||||
"tostatus": false,
|
||||
"complete": "payload",
|
||||
"targetType": "msg",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 810,
|
||||
"y": 140,
|
||||
"wires": []
|
||||
@@ -12296,7 +12534,7 @@
|
||||
"expiry": "",
|
||||
"broker": "c46833d59903b816",
|
||||
"x": 1140,
|
||||
"y": 200,
|
||||
"y": 220,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
@@ -12324,7 +12562,7 @@
|
||||
"y": 160,
|
||||
"wires": [
|
||||
[
|
||||
"switch1"
|
||||
"3124d27a1df4471e"
|
||||
]
|
||||
]
|
||||
},
|
||||
@@ -12353,7 +12591,42 @@
|
||||
"y": 260,
|
||||
"wires": [
|
||||
[
|
||||
"switch1"
|
||||
"3124d27a1df4471e"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3124d27a1df4471e",
|
||||
"type": "ui-switch",
|
||||
"z": "9af67c7112bb80c5",
|
||||
"name": "",
|
||||
"label": "Monitore:",
|
||||
"group": "d4177dcf79a5a58b",
|
||||
"order": 0,
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"passthru": false,
|
||||
"decouple": false,
|
||||
"topic": "topic",
|
||||
"topicType": "msg",
|
||||
"style": "",
|
||||
"className": "",
|
||||
"layout": "row-left",
|
||||
"clickableArea": "switch",
|
||||
"onvalue": "ON",
|
||||
"onvalueType": "str",
|
||||
"onicon": "",
|
||||
"oncolor": "",
|
||||
"offvalue": "OFF",
|
||||
"offvalueType": "str",
|
||||
"officon": "",
|
||||
"offcolor": "",
|
||||
"x": 620,
|
||||
"y": 220,
|
||||
"wires": [
|
||||
[
|
||||
"cc9ef585fe86bc66",
|
||||
"debug1"
|
||||
]
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"$": "a5da4d8ddfe236d371e9cfb713dda026GacQ5+3xYunmp7cLN97oGi64ebTxC5yAQSM5hcmdw01Pun401t+YWETIfhexMSGfkxY1mIyp57rwIv6k9GBPkrQR0N1RxdjG4PBE31c3i0/g7OjE2ljZ9M6Y+smpbUP2PJ06I8lPLFMKSrCOnrlIKMZQRrILORW9cm6TfLyBdOnf3kxt0rFEGs7lx4J2O/1QXS+5qGKJILgisoBEYgnJPuq7MHitg0K99mpdHJ4aPZ2N2Q=="
|
||||
"$": "2e9019a5f31046180335082bce4b2557uydRIFoaOzGc24wPAXu6ua6pR05iKxTjc3GCMZBXs0PWPUMAMstJu5d1J8N/EnxOBgtmecwyk6ZEku+gO+7shJtfqSKatVK1JeAc57U/rgq2izOK7TOkVsXQH5Ek257qwPKfb3OQpA/wAR2CeUtralR6be+nl7PWd9KaSUFmv/+mbxTuO8480bRsRz9cT6xrUrA0ykuAD3HGshRbzHdiVX1Hhcd8n8rS5wzc7TlHC9nY4J8pY8JEQQUQONHjLZisyWrifS4rJGkKdLaIH6L5It4EyWID7rpKqHggv8FtweUDdLKBSh6MLI9Y0HotsuVN8jo1VZYPgaf2vOHhNn28yQaWm9eLEz1oD1STT43aI3UZ7HiCD2UVx4+1DQ=="
|
||||
}
|
||||
Reference in New Issue
Block a user