Aus Backup gehol, viele Nodes nachinstalliert
This commit is contained in:
+58
-138
@@ -451,7 +451,7 @@
|
||||
"id": "d28e11d867e00655",
|
||||
"type": "junction",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"x": 1320,
|
||||
"x": 1180,
|
||||
"y": 2180,
|
||||
"wires": [
|
||||
[
|
||||
@@ -6958,6 +6958,7 @@
|
||||
"name": "function 34",
|
||||
"func": "msg.debug = { \"down\": flow.get(\"mv_down\"), \"up\": flow.get(\"mv_up\") }\nif (flow.get(\"mv_down\")) {\n flow.set(\"mv_down\", false)\n msg.payload = {\"state\": \"STOP\"}\n} else {\n flow.set(\"mv_down\", true)\n flow.set(\"mv_up\", false)\n msg.payload = { \"state\": \"CLOSE\" }\n}\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
@@ -6994,7 +6995,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 120",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7011,7 +7012,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 121",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7027,7 +7028,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 122",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7186,7 +7187,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 127",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7202,7 +7203,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 128",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7218,7 +7219,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 129",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7291,65 +7292,6 @@
|
||||
"y": 2020,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "1b3f2482868d365c",
|
||||
"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": 2200,
|
||||
"wires": [
|
||||
[
|
||||
"6d1949c48f1432b0",
|
||||
"1b13d8e6d4278579"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3289b7e058d79737",
|
||||
"type": "switch",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"property": "topic",
|
||||
"propertyType": "msg",
|
||||
"rules": [
|
||||
{
|
||||
"t": "regex",
|
||||
"v": "hm/status/Fernbedienung_WZ:4/PRESS_SHORT",
|
||||
"vt": "str",
|
||||
"case": false
|
||||
},
|
||||
{
|
||||
"t": "regex",
|
||||
"v": "hm/status/Fernbedienung_WZ:3/PRESS_SHORT",
|
||||
"vt": "str",
|
||||
"case": false
|
||||
}
|
||||
],
|
||||
"checkall": "true",
|
||||
"repair": false,
|
||||
"outputs": 2,
|
||||
"x": 830,
|
||||
"y": 2200,
|
||||
"wires": [
|
||||
[
|
||||
"6c1cf4bdaba813e2",
|
||||
"cda63c1cf0b7f671"
|
||||
],
|
||||
[
|
||||
"1819ea0b09240e1c",
|
||||
"3cb17e998bc9c005"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8648665e86d3093c",
|
||||
"type": "comment",
|
||||
@@ -7397,12 +7339,13 @@
|
||||
"name": "function 43",
|
||||
"func": "if (flow.get(\"mv_downWg\")) {\n flow.set(\"mv_downWg\", false)\n msg.payload = {\"state\": \"STOP\"}\n} else {\n flow.set(\"mv_downWg\", true)\n msg.payload = { \"state\": \"CLOSE\" }\n}\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 1110,
|
||||
"y": 2160,
|
||||
"x": 970,
|
||||
"y": 2180,
|
||||
"wires": [
|
||||
[
|
||||
"d28e11d867e00655"
|
||||
@@ -7416,12 +7359,13 @@
|
||||
"name": "function 44",
|
||||
"func": "if (flow.get(\"mv_upWg\")) {\n flow.set(\"mv_upWg\", false)\n msg.payload = {\"state\": \"STOP\"}\n} else {\n flow.set(\"mv_upWg\", true)\n msg.payload = { \"state\": \"OPEN\" }\n}\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 1110,
|
||||
"y": 2220,
|
||||
"x": 970,
|
||||
"y": 2240,
|
||||
"wires": [
|
||||
[
|
||||
"d28e11d867e00655"
|
||||
@@ -7444,54 +7388,6 @@
|
||||
"y": 2080,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "cda63c1cf0b7f671",
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 140",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 1090,
|
||||
"y": 2060,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "3cb17e998bc9c005",
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 141",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 1110,
|
||||
"y": 2300,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "6d1949c48f1432b0",
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 142",
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 470,
|
||||
"y": 2300,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "c3553c69292506a3",
|
||||
"type": "mqtt out",
|
||||
@@ -7675,25 +7571,6 @@
|
||||
"y": 20,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "1b13d8e6d4278579",
|
||||
"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": 570,
|
||||
"y": 2200,
|
||||
"wires": [
|
||||
[
|
||||
"3289b7e058d79737"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "24f6d467e40e1f52",
|
||||
"type": "mqtt in",
|
||||
@@ -7896,7 +7773,7 @@
|
||||
"type": "debug",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "debug 195",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -7939,6 +7816,7 @@
|
||||
"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,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
@@ -7951,6 +7829,48 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "23a02845bc2a2190",
|
||||
"type": "mqtt in",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"topic": "hm/status/Fernbedienung_WZ:3/PRESS_SHORT",
|
||||
"qos": "2",
|
||||
"datatype": "auto-detect",
|
||||
"broker": "c46833d59903b816",
|
||||
"nl": false,
|
||||
"rap": true,
|
||||
"rh": 0,
|
||||
"inputs": 0,
|
||||
"x": 420,
|
||||
"y": 2240,
|
||||
"wires": [
|
||||
[
|
||||
"1819ea0b09240e1c"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "411d770f1a558990",
|
||||
"type": "mqtt in",
|
||||
"z": "85bb16dbe6fb391c",
|
||||
"name": "",
|
||||
"topic": "hm/status/Fernbedienung_WZ:4/PRESS_SHORT",
|
||||
"qos": "2",
|
||||
"datatype": "auto-detect",
|
||||
"broker": "c46833d59903b816",
|
||||
"nl": false,
|
||||
"rap": true,
|
||||
"rh": 0,
|
||||
"inputs": 0,
|
||||
"x": 420,
|
||||
"y": 2180,
|
||||
"wires": [
|
||||
[
|
||||
"6c1cf4bdaba813e2"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9e617dec92526da1",
|
||||
"type": "comment",
|
||||
|
||||
Reference in New Issue
Block a user