[ { "id": "061dd09709412d4e", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": [] }, { "id": "6ceebb18ba574528", "type": "group", "z": "061dd09709412d4e", "name": "Lösungsvorschlag", "style": { "label": true }, "nodes": [ "3493c74a26e57ff5", "9168e7bb258243c7", "982bf09b8cc6a191", "1e04be1a61c62b55", "95678e49ae5538b8", "0dceda8e8292b61b", "9c2f24db885c1063", "6886729110a696f9" ], "x": 54, "y": 59, "w": 892, "h": 322 }, { "id": "70900baa9c1eb060", "type": "group", "z": "061dd09709412d4e", "name": "Jalousie-Dummy", "style": { "label": true }, "nodes": [ "fdee8ec4b431180c", "794135184c6cbafe", "46ececedf755a6a5", "830a4dfc244da163", "317dc6b03fd3c7fb" ], "x": 34, "y": 599, "w": 832, "h": 202 }, { "id": "5ff31b7b0c293dc8", "type": "group", "z": "061dd09709412d4e", "name": "Windmesser-Dummy", "style": { "label": true }, "nodes": [ "9ee840e0f97780ad", "6fbca2bc24b10fc1", "ad5705d1082f72b3" ], "x": 294, "y": 439, "w": 532, "h": 142 }, { "id": "3493c74a26e57ff5", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "server": "04b434119cdf5fb6", "topic": "2/2/34", "outputtopic": "", "dpt": "9.005", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Windgeschwindigkeit", "outputtype": "write", "outputRBE": true, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 190, "y": 160, "wires": [ [ "9168e7bb258243c7", "982bf09b8cc6a191" ] ] }, { "id": "9168e7bb258243c7", "type": "debug", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "name": "Windgeschwindigkeit", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 480, "y": 100, "wires": [] }, { "id": "982bf09b8cc6a191", "type": "function", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "name": "Entscheidung", "func": "let wind = msg.payload;\nlet jalousieStatus = flow.get(\"jalousiestatus\");\n\nmsg.payload = true;\n\n// nur eingreifen, wenn die Jalousie unten ist\nif (jalousieStatus == true)\n{\n // hochfahren wenn zu stürmisch\n if (wind > 12)\n {\n msg.payload = false;\n }\n}\n\nreturn msg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 460, "y": 160, "wires": [ [ "9c2f24db885c1063" ] ] }, { "id": "1e04be1a61c62b55", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "server": "04b434119cdf5fb6", "topic": "2/2/119", "outputtopic": "", "dpt": "1.008", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Jalousiestatus", "outputtype": "write", "outputRBE": true, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 170, "y": 280, "wires": [ [ "95678e49ae5538b8", "0dceda8e8292b61b" ] ] }, { "id": "95678e49ae5538b8", "type": "debug", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "name": "Jalousiestatus", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 420, "y": 340, "wires": [] }, { "id": "0dceda8e8292b61b", "type": "change", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "name": "flow.jalousiestatus", "rules": [ { "t": "set", "p": "jalousiestatus", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 430, "y": 280, "wires": [ [] ] }, { "id": "9c2f24db885c1063", "type": "switch", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "name": "if false", "property": "payload", "propertyType": "msg", "rules": [ { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 650, "y": 160, "wires": [ [ "6886729110a696f9" ] ] }, { "id": "6886729110a696f9", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "6ceebb18ba574528", "server": "04b434119cdf5fb6", "topic": "2/2/19", "outputtopic": "", "dpt": "1.008", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Jalousie fahren", "outputtype": "write", "outputRBE": false, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 840, "y": 160, "wires": [ [] ] }, { "id": "fdee8ec4b431180c", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "70900baa9c1eb060", "server": "04b434119cdf5fb6", "topic": "2/2/119", "outputtopic": "", "dpt": "1.008", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Jalousiestatus senden", "outputtype": "write", "outputRBE": false, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 740, "y": 700, "wires": [ [] ] }, { "id": "794135184c6cbafe", "type": "inject", "z": "061dd09709412d4e", "g": "70900baa9c1eb060", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 490, "y": 640, "wires": [ [ "fdee8ec4b431180c" ] ] }, { "id": "46ececedf755a6a5", "type": "inject", "z": "061dd09709412d4e", "g": "70900baa9c1eb060", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "false", "payloadType": "bool", "x": 490, "y": 760, "wires": [ [ "fdee8ec4b431180c" ] ] }, { "id": "9ee840e0f97780ad", "type": "inject", "z": "061dd09709412d4e", "g": "5ff31b7b0c293dc8", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "5", "payloadType": "num", "x": 390, "y": 480, "wires": [ [ "6fbca2bc24b10fc1" ] ] }, { "id": "6fbca2bc24b10fc1", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "5ff31b7b0c293dc8", "server": "04b434119cdf5fb6", "topic": "2/2/34", "outputtopic": "", "dpt": "9.005", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Windgeschwindigkeit publizieren", "outputtype": "write", "outputRBE": true, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 650, "y": 520, "wires": [ [] ] }, { "id": "ad5705d1082f72b3", "type": "inject", "z": "061dd09709412d4e", "g": "5ff31b7b0c293dc8", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "15", "payloadType": "num", "x": 390, "y": 540, "wires": [ [ "6fbca2bc24b10fc1" ] ] }, { "id": "830a4dfc244da163", "type": "knxUltimate", "z": "061dd09709412d4e", "g": "70900baa9c1eb060", "server": "04b434119cdf5fb6", "topic": "2/2/19", "outputtopic": "", "dpt": "1.008", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0", "listenallga": false, "name": "Jalousiebefehl empfangen", "outputtype": "write", "outputRBE": true, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 190, "y": 700, "wires": [ [ "317dc6b03fd3c7fb" ] ] }, { "id": "317dc6b03fd3c7fb", "type": "delay", "z": "061dd09709412d4e", "g": "70900baa9c1eb060", "name": "", "pauseType": "delay", "timeout": "5", "timeoutUnits": "seconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "allowrate": false, "outputs": 1, "x": 460, "y": 700, "wires": [ [ "fdee8ec4b431180c" ] ] }, { "id": "04b434119cdf5fb6", "type": "knxUltimate-config", "host": "224.0.23.12", "port": "3671", "physAddr": "15.15.22", "hostProtocol": "Multicast", "suppressACKRequest": false, "csv": "", "KNXEthInterface": "Auto", "KNXEthInterfaceManuallyInput": "", "statusDisplayLastUpdate": true, "statusDisplayDeviceNameWhenALL": true, "statusDisplayDataPoint": false, "stopETSImportIfNoDatapoint": "stop", "loglevel": "error", "name": "Schulaufgabengateway", "localEchoInTunneling": true, "delaybetweentelegrams": "50", "delaybetweentelegramsfurtherdelayREAD": "1", "ignoreTelegramsWithRepeatedFlag": false, "autoReconnect": true } ]