Hallo,
ich versuche nun schon seit einiger Zeit einen Flow von mir mittels GT2 zu de/aktivieren. Der Flow wird mehrmals am Tag mit einer Inject-Node gestartet (Intervall) jedoch würde ich gerne den Flow über den GT2 de/aktivieren.
Ich habe schon einiges versucht, Function Noder (if - else) und auch die Combine - If Node, aber irgendwie komm ich nicht weiter, bin für jeden Tipp dankbar.
Zurzeit verwende ich eine UND Logik, das funktioniert, aber gibt bestimmt schönere Lösungen. Ich bin doch bestimmt nicht der einzige der seinen Flow gerne über Taster schalten möchte.
Lg
ich versuche nun schon seit einiger Zeit einen Flow von mir mittels GT2 zu de/aktivieren. Der Flow wird mehrmals am Tag mit einer Inject-Node gestartet (Intervall) jedoch würde ich gerne den Flow über den GT2 de/aktivieren.
Ich habe schon einiges versucht, Function Noder (if - else) und auch die Combine - If Node, aber irgendwie komm ich nicht weiter, bin für jeden Tipp dankbar.
Zurzeit verwende ich eine UND Logik, das funktioniert, aber gibt bestimmt schönere Lösungen. Ich bin doch bestimmt nicht der einzige der seinen Flow gerne über Taster schalten möchte.
Code:
[ { "id": "cb94dae72b52787d", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": [] }, { "id": "b3bab377eeb5196a", "type": "knxUltimate", "z": "cb94dae72b52787d", "server": "46bc7c174d9cbb62", "topic": "23/1/0", "outputtopic": "1", "dpt": "1.001", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0", "listenallga": false, "name": "Beschattung ein/aus", "outputtype": "write", "outputRBE": false, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 260, "y": 280, "wires": [ [ "9f797de0d49f4172", "5b81a727abd404f8", "28f2e05ff898b2ec" ] ] }, { "id": "9f797de0d49f4172", "type": "debug", "z": "cb94dae72b52787d", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 570, "y": 220, "wires": [] }, { "id": "5b81a727abd404f8", "type": "knxUltimate", "z": "cb94dae72b52787d", "server": "46bc7c174d9cbb62", "topic": "23/1/1", "outputtopic": "", "dpt": "1.001", "initialread": 0, "notifyreadrequest": false, "notifyresponse": false, "notifywrite": true, "notifyreadrequestalsorespondtobus": false, "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0", "listenallga": false, "name": "Beschattung status", "outputtype": "write", "outputRBE": false, "inputRBE": false, "formatmultiplyvalue": 1, "formatnegativevalue": "leave", "formatdecimalsvalue": 999, "passthrough": "no", "x": 590, "y": 280, "wires": [ [] ] }, { "id": "53b3045781867257", "type": "time-inject", "z": "cb94dae72b52787d", "name": "Inject", "nameInt": "Sonnenaufgang Ende - Sonnenuntergang B... =... ↻30min", "positionConfig": "d836509a.67bc4", "props": [ { "p": "", "pt": "msgPayload", "v": "true", "vt": "bool", "o": "", "oT": "none", "oM": "60000", "f": 0, "fS": 0, "fT": "Millisekunden UNIX-Zeit", "fI": "0", "next": true, "days": "*", "months": "*", "onlyOddDays": false, "onlyEvenDays": false, "onlyOddWeeks": false, "onlyEvenWeeks": false }, { "p": "", "pt": "msgTopic", "v": "2", "vt": "str", "o": "", "oT": "none", "oM": "60000", "f": 0, "fS": 0, "fT": "Millisekunden UNIX-Zeit", "fI": "0", "next": false, "days": "*", "months": "*", "onlyOddDays": false, "onlyEvenDays": false, "onlyOddWeeks": false, "onlyEvenWeeks": false } ], "injectTypeSelect": "interval-time", "intervalCount": "30", "intervalCountType": "num", "intervalCountMultiplier": 60000, "time": "sunriseEnd", "timeType": "pdsTime", "offset": 0, "offsetType": "none", "offsetMultiplier": 60000, "timeEnd": "sunsetStart", "timeEndType": "pdsTime", "timeEndOffset": 0, "timeEndOffsetType": "none", "timeEndOffsetMultiplier": 60000, "timeDays": "*", "timeOnlyOddDays": false, "timeOnlyEvenDays": false, "timeOnlyOddWeeks": false, "timeOnlyEvenWeeks": false, "timeMonths": "*", "timedatestart": "", "timedateend": "", "property": "", "propertyType": "none", "propertyCompare": "true", "propertyThreshold": "", "propertyThresholdType": "num", "timeAlt": "", "timeAltType": "entered", "timeAltDays": "*", "timeAltOnlyOddDays": false, "timeAltOnlyEvenDays": false, "timeAltOnlyOddWeeks": false, "timeAltOnlyEvenWeeks": false, "timeAltMonths": "*", "timeAltOffset": 0, "timeAltOffsetType": "none", "timeAltOffsetMultiplier": 60000, "once": false, "onceDelay": 0.1, "recalcTime": 2, "x": 210, "y": 380, "wires": [ [ "c8ddf5a5f8fadf07", "28f2e05ff898b2ec" ] ] }, { "id": "c8ddf5a5f8fadf07", "type": "debug", "z": "cb94dae72b52787d", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 370, "y": 440, "wires": [] }, { "id": "28f2e05ff898b2ec", "type": "BooleanLogic", "z": "cb94dae72b52787d", "name": "", "operation": "AND", "inputCount": 2, "topic": "result", "x": 520, "y": 380, "wires": [ [ "ec68c7f109cc5394", "3f146cd9e0e2d4b5" ] ] }, { "id": "ec68c7f109cc5394", "type": "debug", "z": "cb94dae72b52787d", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 690, "y": 340, "wires": [] }, { "id": "3f146cd9e0e2d4b5", "type": "switch", "z": "cb94dae72b52787d", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "true" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 990, "y": 380, "wires": [ [] ] }, { "id": "46bc7c174d9cbb62", "type": "knxUltimate-config", "host": "192.168.178.21", "port": "3671", "physAddr": "1.0.251", "suppressACKRequest": true, "csv": "", "KNXEthInterface": "Auto", "KNXEthInterfaceManuallyInput": "", "statusDisplayLastUpdate": true, "statusDisplayDeviceNameWhenALL": true, "statusDisplayDataPoint": false, "stopETSImportIfNoDatapoint": "stop", "loglevel": "error", "name": "MDT KNX IP Interface ", "localEchoInTunneling": true, "delaybetweentelegrams": "40", "delaybetweentelegramsfurtherdelayREAD": "1", "ignoreTelegramsWithRepeatedFlag": false, "keyringFileXML": "", "autoReconnect": "yes" }, { "id": "d836509a.67bc4", "type": "position-config", "name": "Johnsdorf/Brunn", "isValide": "true", "longitude": "0", "latitude": "0", "angleType": "deg", "timeZoneOffset": "99", "timeZoneDST": "0", "stateTimeFormat": "3", "stateDateFormat": "12", "contextStore": "" } ]
Kommentar