KNX + Node-RED: Bewässerung ansteuern

Mit ** gekennzeichnete Links auf dieser Seite sind Affiliatelinks.

KNX + Node-RED: Bewässerung ansteuern
KNX + Node-RED: Bewässerung ansteuern
  • 25.07.2021
  • Level 1
  • Grundlagen

Nachdem nun das Grundkonzept von Node-RED in Kombination mit KNX steht (und ich auch schon einige Beispiele gezeigt habe), geht es nun an etwas Logik. Die Idee ist, dass die einzelnen Kreise für eine bestimmte Zeit nach und nach bewässert werden. Außerdem möchte ich die Bewässerung über Telegram anstoßen können (siehe vorige Videos).

Im folgenden Video erfährst Du also jede Menge über Trigger, Delay und viele andere Nodes. Unter anderem behandle ich auch den Flow-Context, in welchen man Informationen ablegen kann. Diese Infos werden genutzt, um die Bewässerungszeit zu errechnen und ebenfalls per Telegram zu übermitteln.

Was wird benötigt?

  • Einen Raspberry Pi mit Raspberry Pi OS
  • Eine laufende KNX-Installation
  • Ein KNX IP-Interface (oder IP-Router)

Video

Node-RED-Master-Kurs

Flow

[
    {
        "id": "d3e86e0f.8a17b",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Bewässerung",
        "info": "",
        "x": 110,
        "y": 1000,
        "wires": []
    },
    {
        "id": "f9bbf52c.20c198",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/3",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 1 [Rasen] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 1040,
        "wires": [
            [
                "6993f68a.4afa28",
                "44e963d6.1d8b04"
            ]
        ]
    },
    {
        "id": "79e2f5da.da0534",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/4",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 2 [Rasen] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 1220,
        "wires": [
            [
                "84247aa0.72976",
                "f913dea9.26e238"
            ]
        ]
    },
    {
        "id": "ccc74278.0a0638",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/5",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 3 [Hochbeet] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 170,
        "y": 1400,
        "wires": [
            [
                "35b323eb.0eb2d4",
                "eb1f01fe.2903c"
            ]
        ]
    },
    {
        "id": "477906d3.93fc3",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/0",
        "outputtopic": "",
        "dpt": "1.001",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 1 [Rasen] schalten",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 980,
        "y": 1040,
        "wires": [
            []
        ]
    },
    {
        "id": "d2f687b4.8424a",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/1",
        "outputtopic": "",
        "dpt": "1.001",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 2 [Rasen] schalten",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 980,
        "y": 1220,
        "wires": [
            []
        ]
    },
    {
        "id": "fd38f97b.47b75",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/2",
        "outputtopic": "",
        "dpt": "1.001",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 3 [Hochbeet] schalten",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 1000,
        "y": 1400,
        "wires": [
            []
        ]
    },
    {
        "id": "6993f68a.4afa28",
        "type": "ui_switch",
        "z": "27c0cb25.febbd4",
        "name": "",
        "label": "Rasen 1",
        "tooltip": "",
        "group": "64a38e60.52a478",
        "order": 0,
        "width": 0,
        "height": 0,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": false,
        "x": 620,
        "y": 1040,
        "wires": [
            [
                "477906d3.93fc3"
            ]
        ]
    },
    {
        "id": "84247aa0.72976",
        "type": "ui_switch",
        "z": "27c0cb25.febbd4",
        "name": "",
        "label": "Rasen 2",
        "tooltip": "",
        "group": "64a38e60.52a478",
        "order": 0,
        "width": 0,
        "height": 0,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": false,
        "x": 620,
        "y": 1220,
        "wires": [
            [
                "d2f687b4.8424a"
            ]
        ]
    },
    {
        "id": "35b323eb.0eb2d4",
        "type": "ui_switch",
        "z": "27c0cb25.febbd4",
        "name": "",
        "label": "Hochbeete",
        "tooltip": "",
        "group": "64a38e60.52a478",
        "order": 0,
        "width": 0,
        "height": 0,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": false,
        "x": 630,
        "y": 1400,
        "wires": [
            [
                "fd38f97b.47b75"
            ]
        ]
    },
    {
        "id": "39110807.0d221",
        "type": "function",
        "z": "27c0cb25.febbd4",
        "name": "Invertieren (für enable)",
        "func": "return {\n    enabled: !msg.payload\n};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 1100,
        "wires": [
            [
                "6993f68a.4afa28"
            ]
        ]
    },
    {
        "id": "d8c9c753.2f6b2",
        "type": "function",
        "z": "27c0cb25.febbd4",
        "name": "Invertieren (für enable)",
        "func": "return {\n    enabled: !msg.payload\n};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 1280,
        "wires": [
            [
                "84247aa0.72976"
            ]
        ]
    },
    {
        "id": "8d238352.caf38",
        "type": "function",
        "z": "27c0cb25.febbd4",
        "name": "Invertieren (für enable)",
        "func": "return {\n    enabled: !msg.payload\n};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 1460,
        "wires": [
            [
                "35b323eb.0eb2d4"
            ]
        ]
    },
    {
        "id": "fa03ad13.040028",
        "type": "function",
        "z": "27c0cb25.febbd4",
        "name": "Bewässerung Info",
        "func": "return {\n    payload: {\n        \"chatId\": -12345,\n        \"type\": \"message\",\n        \"content\": \"Bewässerung gestartet (\" + msg.region + \")\"\n    }\n};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1370,
        "y": 1140,
        "wires": [
            [
                "9f5e5f52.7f6d98"
            ]
        ]
    },
    {
        "id": "44e963d6.1d8b04",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "an oder aus",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "false",
        "repair": false,
        "outputs": 2,
        "x": 630,
        "y": 980,
        "wires": [
            [
                "38508bf0.4e1764"
            ],
            [
                "a74be834.99956"
            ]
        ],
        "outputLabels": [
            "an",
            "aus"
        ]
    },
    {
        "id": "269867c8.6035b",
        "type": "function",
        "z": "27c0cb25.febbd4",
        "name": "Bewässerung Info",
        "func": "const dateObj = new Date(msg.endTime - msg.startTime);\nconst duration = dateObj.toISOString().substr(11, 8);\n\nreturn {\n    payload: {\n        \"chatId\": -12345,\n        \"type\": \"message\",\n        \"content\": \"Bewässerung beendet (\" + msg.region + \") - Dauer: \" + duration\n    }\n};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1370,
        "y": 1180,
        "wires": [
            [
                "9f5e5f52.7f6d98"
            ]
        ]
    },
    {
        "id": "38508bf0.4e1764",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit merken",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Rasen 1",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "bewaesserungStartTime1",
                "pt": "flow",
                "to": "",
                "tot": "date"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 960,
        "wires": [
            [
                "fa03ad13.040028"
            ]
        ]
    },
    {
        "id": "cd072cd1.fc694",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit holen",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Rasen 1",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "startTime",
                "pt": "msg",
                "to": "bewaesserungStartTime1",
                "tot": "flow"
            },
            {
                "t": "set",
                "p": "endTime",
                "pt": "msg",
                "to": "",
                "tot": "date"
            },
            {
                "t": "delete",
                "p": "bewaesserungStartTime1",
                "pt": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 1000,
        "wires": [
            [
                "269867c8.6035b"
            ]
        ]
    },
    {
        "id": "a74be834.99956",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit prüfen",
        "property": "bewaesserungStartTime1",
        "propertyType": "flow",
        "rules": [
            {
                "t": "nnull"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 840,
        "y": 1000,
        "wires": [
            [
                "cd072cd1.fc694"
            ],
            []
        ]
    },
    {
        "id": "f913dea9.26e238",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "an oder aus",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "false",
        "repair": false,
        "outputs": 2,
        "x": 630,
        "y": 1160,
        "wires": [
            [
                "89f5a5c.bf50cd8"
            ],
            [
                "c247257f.10b5c"
            ]
        ],
        "outputLabels": [
            "an",
            "aus"
        ]
    },
    {
        "id": "89f5a5c.bf50cd8",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit merken",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Rasen 2",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "bewaesserungStartTime2",
                "pt": "flow",
                "to": "",
                "tot": "date"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 1140,
        "wires": [
            [
                "fa03ad13.040028"
            ]
        ]
    },
    {
        "id": "19f9d540.5d603b",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit holen",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Rasen 2",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "startTime",
                "pt": "msg",
                "to": "bewaesserungStartTime2",
                "tot": "flow"
            },
            {
                "t": "set",
                "p": "endTime",
                "pt": "msg",
                "to": "",
                "tot": "date"
            },
            {
                "t": "delete",
                "p": "bewaesserungStartTime2",
                "pt": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 1180,
        "wires": [
            [
                "269867c8.6035b"
            ]
        ]
    },
    {
        "id": "c247257f.10b5c",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit prüfen",
        "property": "bewaesserungStartTime2",
        "propertyType": "flow",
        "rules": [
            {
                "t": "nnull"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 840,
        "y": 1180,
        "wires": [
            [
                "19f9d540.5d603b"
            ],
            []
        ]
    },
    {
        "id": "eb1f01fe.2903c",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "an oder aus",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "false",
        "repair": false,
        "outputs": 2,
        "x": 630,
        "y": 1340,
        "wires": [
            [
                "13f3f0a2.7c144f"
            ],
            [
                "c1416280.b6d6e"
            ]
        ],
        "outputLabels": [
            "an",
            "aus"
        ]
    },
    {
        "id": "13f3f0a2.7c144f",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit merken",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Hochbeet",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "bewaesserungStartTime3",
                "pt": "flow",
                "to": "",
                "tot": "date"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 1320,
        "wires": [
            [
                "fa03ad13.040028"
            ]
        ]
    },
    {
        "id": "8030e0d8.7e4cd",
        "type": "change",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit holen",
        "rules": [
            {
                "t": "set",
                "p": "region",
                "pt": "msg",
                "to": "Hochbeet",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "startTime",
                "pt": "msg",
                "to": "bewaesserungStartTime3",
                "tot": "flow"
            },
            {
                "t": "set",
                "p": "endTime",
                "pt": "msg",
                "to": "",
                "tot": "date"
            },
            {
                "t": "delete",
                "p": "bewaesserungStartTime3",
                "pt": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 1360,
        "wires": [
            [
                "269867c8.6035b"
            ]
        ]
    },
    {
        "id": "c1416280.b6d6e",
        "type": "switch",
        "z": "27c0cb25.febbd4",
        "name": "Startzeit prüfen",
        "property": "bewaesserungStartTime3",
        "propertyType": "flow",
        "rules": [
            {
                "t": "nnull"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 840,
        "y": 1360,
        "wires": [
            [
                "8030e0d8.7e4cd"
            ],
            []
        ]
    },
    {
        "id": "106e3dad.135242",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/6",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": "0",
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 1 [Rasen] sperren",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 1100,
        "wires": [
            [
                "39110807.0d221"
            ]
        ]
    },
    {
        "id": "774e56de.be86b8",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/7",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": "0",
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 2 [Rasen] sperren",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 1280,
        "wires": [
            [
                "d8c9c753.2f6b2"
            ]
        ]
    },
    {
        "id": "263c2af5.3b12a6",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/8",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": "0",
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 3 [Hochbeet] sperren",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 170,
        "y": 1460,
        "wires": [
            [
                "8d238352.caf38"
            ]
        ]
    },
    {
        "id": "e4c8a46a.67755",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/4",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 2 [Rasen] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 2180,
        "wires": [
            [
                "21a58eef.bce042",
                "f5f32e84.5d8c98"
            ]
        ]
    },
    {
        "id": "bac24ae7.c02078",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/5",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 3 [Hochbeet] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 170,
        "y": 2240,
        "wires": [
            [
                "21a58eef.bce042",
                "d1dad42d.719cd"
            ]
        ]
    },
    {
        "id": "891008b5.58f708",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "3/0/2",
        "outputtopic": "",
        "dpt": "1.001",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "E4-M1 [Wohnzimmer] zustand",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 180,
        "y": 1940,
        "wires": [
            [
                "21a58eef.bce042",
                "d1dad42d.719cd",
                "f5f32e84.5d8c98"
            ]
        ]
    },
    {
        "id": "75184cbd.5f189c",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "7/2/0",
        "outputtopic": "",
        "dpt": "1.001",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Regen Süd",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 120,
        "y": 2000,
        "wires": [
            [
                "21a58eef.bce042",
                "f5f32e84.5d8c98",
                "d1dad42d.719cd"
            ]
        ]
    },
    {
        "id": "3e0e3f71.7de8c",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Bewässerung sperren Ventile",
        "info": "",
        "x": 160,
        "y": 2080,
        "wires": []
    },
    {
        "id": "7904fcdb.753ffc",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Bewässerung sperren allgemein",
        "info": "",
        "x": 170,
        "y": 1900,
        "wires": []
    },
    {
        "id": "1a7d4ae1.92ce05",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/3",
        "outputtopic": "",
        "dpt": "1.002",
        "initialread": "1",
        "notifyreadrequest": false,
        "notifyresponse": true,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 1 [Rasen] status",
        "outputtype": "write",
        "outputRBE": true,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 160,
        "y": 2120,
        "wires": [
            [
                "d1dad42d.719cd",
                "f5f32e84.5d8c98"
            ]
        ]
    },
    {
        "id": "3a98d8c7.31fd08",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/6",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 1 [Rasen] sperren",
        "outputtype": "write",
        "outputRBE": false,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 1030,
        "y": 2000,
        "wires": [
            []
        ]
    },
    {
        "id": "8d715742.3d0b08",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/7",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 2 [Rasen] sperren",
        "outputtype": "write",
        "outputRBE": false,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 1030,
        "y": 2080,
        "wires": [
            []
        ]
    },
    {
        "id": "6282af45.57318",
        "type": "knxUltimate",
        "z": "27c0cb25.febbd4",
        "server": "8f5b9411.026ce",
        "topic": "10/0/8",
        "outputtopic": "",
        "dpt": "1.003",
        "initialread": 0,
        "notifyreadrequest": false,
        "notifyresponse": false,
        "notifywrite": true,
        "notifyreadrequestalsorespondtobus": false,
        "notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized": "0",
        "listenallga": false,
        "name": "Ventil 3 [Hochbeet] sperren",
        "outputtype": "write",
        "outputRBE": false,
        "inputRBE": false,
        "formatmultiplyvalue": 1,
        "formatnegativevalue": "leave",
        "formatdecimalsvalue": 999,
        "passthrough": "no",
        "x": 1040,
        "y": 2160,
        "wires": [
            []
        ]
    },
    {
        "id": "21a58eef.bce042",
        "type": "BooleanLogicUltimate",
        "z": "27c0cb25.febbd4",
        "name": "Ventil 1",
        "filtertrue": "both",
        "persist": false,
        "sInitializeWith": "true",
        "triggertopic": "trigger",
        "outputtriggeredby": "all",
        "inputCount": "4",
        "topic": "result",
        "x": 650,
        "y": 2000,
        "wires": [
            [],
            [
                "3a98d8c7.31fd08"
            ],
            []
        ]
    },
    {
        "id": "d1dad42d.719cd",
        "type": "BooleanLogicUltimate",
        "z": "27c0cb25.febbd4",
        "name": "Ventil 2",
        "filtertrue": "both",
        "persist": false,
        "sInitializeWith": "true",
        "triggertopic": "trigger",
        "outputtriggeredby": "all",
        "inputCount": "4",
        "topic": "result",
        "x": 650,
        "y": 2080,
        "wires": [
            [],
            [
                "8d715742.3d0b08"
            ],
            []
        ]
    },
    {
        "id": "f5f32e84.5d8c98",
        "type": "BooleanLogicUltimate",
        "z": "27c0cb25.febbd4",
        "name": "Ventil 3",
        "filtertrue": "both",
        "persist": false,
        "sInitializeWith": "true",
        "triggertopic": "trigger",
        "outputtriggeredby": "all",
        "inputCount": "4",
        "topic": "result",
        "x": 650,
        "y": 2160,
        "wires": [
            [],
            [
                "6282af45.57318"
            ],
            []
        ]
    },
    {
        "id": "83be2200.61c4",
        "type": "inject",
        "z": "27c0cb25.febbd4",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 140,
        "y": 1660,
        "wires": [
            [
                "512b1576.ceae2c"
            ]
        ]
    },
    {
        "id": "512b1576.ceae2c",
        "type": "trigger",
        "z": "27c0cb25.febbd4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "10",
        "extend": false,
        "overrideDelay": false,
        "units": "min",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 2,
        "x": 330,
        "y": 1600,
        "wires": [
            [
                "170ac6e4.233cf9"
            ],
            [
                "e1a6b4f4.d8c5c8",
                "170ac6e4.233cf9"
            ]
        ]
    },
    {
        "id": "63137e05.13699",
        "type": "trigger",
        "z": "27c0cb25.febbd4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "8",
        "extend": false,
        "overrideDelay": false,
        "units": "min",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 2,
        "x": 670,
        "y": 1660,
        "wires": [
            [
                "6db7dd12.72cce4"
            ],
            [
                "825911f1.c5bd38",
                "6db7dd12.72cce4"
            ]
        ]
    },
    {
        "id": "4175a445.4ea35c",
        "type": "trigger",
        "z": "27c0cb25.febbd4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "7",
        "extend": false,
        "overrideDelay": false,
        "units": "min",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 2,
        "x": 990,
        "y": 1720,
        "wires": [
            [
                "e80511d1.7c9238"
            ],
            [
                "e80511d1.7c9238"
            ]
        ]
    },
    {
        "id": "e1a6b4f4.d8c5c8",
        "type": "delay",
        "z": "27c0cb25.febbd4",
        "name": "",
        "pauseType": "delay",
        "timeout": "3",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 520,
        "y": 1660,
        "wires": [
            [
                "63137e05.13699"
            ]
        ]
    },
    {
        "id": "825911f1.c5bd38",
        "type": "delay",
        "z": "27c0cb25.febbd4",
        "name": "",
        "pauseType": "delay",
        "timeout": "3",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 840,
        "y": 1720,
        "wires": [
            [
                "4175a445.4ea35c"
            ]
        ]
    },
    {
        "id": "170ac6e4.233cf9",
        "type": "link out",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 1",
        "links": [
            "1f7affb9.9b6ac8"
        ],
        "x": 475,
        "y": 1600,
        "wires": []
    },
    {
        "id": "1f7affb9.9b6ac8",
        "type": "link in",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 1",
        "links": [
            "170ac6e4.233cf9"
        ],
        "x": 695,
        "y": 1080,
        "wires": [
            [
                "477906d3.93fc3"
            ]
        ]
    },
    {
        "id": "aacf30ac.8c2c7",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 1",
        "info": "",
        "x": 560,
        "y": 1600,
        "wires": []
    },
    {
        "id": "6db7dd12.72cce4",
        "type": "link out",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 2",
        "links": [
            "d34a2d3d.a7fd5"
        ],
        "x": 815,
        "y": 1660,
        "wires": []
    },
    {
        "id": "d34a2d3d.a7fd5",
        "type": "link in",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 2",
        "links": [
            "6db7dd12.72cce4"
        ],
        "x": 695,
        "y": 1260,
        "wires": [
            [
                "d2f687b4.8424a"
            ]
        ]
    },
    {
        "id": "e65dfef6.72649",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Rasen 2",
        "info": "",
        "x": 900,
        "y": 1660,
        "wires": []
    },
    {
        "id": "e80511d1.7c9238",
        "type": "link out",
        "z": "27c0cb25.febbd4",
        "name": "Hochbeete",
        "links": [
            "d5962f6c.ab9568"
        ],
        "x": 1135,
        "y": 1720,
        "wires": []
    },
    {
        "id": "f97df63e.c00d5",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Hochbeete",
        "info": "",
        "x": 1220,
        "y": 1720,
        "wires": []
    },
    {
        "id": "d5962f6c.ab9568",
        "type": "link in",
        "z": "27c0cb25.febbd4",
        "name": "Hochbeete",
        "links": [
            "e80511d1.7c9238"
        ],
        "x": 695,
        "y": 1440,
        "wires": [
            [
                "fd38f97b.47b75"
            ]
        ]
    },
    {
        "id": "501d9c4c.266f7c",
        "type": "link in",
        "z": "27c0cb25.febbd4",
        "name": "",
        "links": [
            "dfee61a4.7419a8"
        ],
        "x": 195,
        "y": 1600,
        "wires": [
            [
                "512b1576.ceae2c"
            ]
        ]
    },
    {
        "id": "fd4a925f.c4968",
        "type": "comment",
        "z": "27c0cb25.febbd4",
        "name": "Telegram",
        "info": "",
        "x": 100,
        "y": 1600,
        "wires": []
    },
    {
        "id": "9f5e5f52.7f6d98",
        "type": "telegram sender",
        "z": "27c0cb25.febbd4",
        "name": "",
        "bot": "d312c643.b1262",
        "haserroroutput": false,
        "outputs": 1,
        "x": 1580,
        "y": 1160,
        "wires": [
            []
        ]
    },
    {
        "id": "8f5b9411.026ce",
        "type": "knxUltimate-config",
        "host": "172.16.0.157",
        "port": "3671",
        "physAddr": "1.0.222",
        "suppressACKRequest": true,
        "csv": "",
        "KNXEthInterface": "Auto",
        "KNXEthInterfaceManuallyInput": "",
        "statusDisplayLastUpdate": true,
        "statusDisplayDeviceNameWhenALL": true,
        "statusDisplayDataPoint": false,
        "stopETSImportIfNoDatapoint": "skip",
        "loglevel": "error",
        "name": "MDT IP-Interface",
        "localEchoInTunneling": true,
        "delaybetweentelegrams": "40",
        "delaybetweentelegramsfurtherdelayREAD": "1"
    },
    {
        "id": "64a38e60.52a478",
        "type": "ui_group",
        "name": "Bewässerung",
        "tab": "9027e960.a118e8",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "d312c643.b1262",
        "type": "telegram bot",
        "botname": "HausAutomatisierungComBot",
        "usernames": "",
        "chatids": "-12345",
        "baseapiurl": "",
        "updatemode": "polling",
        "pollinterval": "300",
        "usesocks": false,
        "sockshost": "",
        "socksport": "6667",
        "socksusername": "anonymous",
        "sockspassword": "",
        "bothost": "",
        "botpath": "",
        "localbotport": "8443",
        "publicbotport": "8443",
        "privatekey": "",
        "certificate": "",
        "useselfsignedcertificate": false,
        "sslterminated": false,
        "verboselogging": false
    },
    {
        "id": "9027e960.a118e8",
        "type": "ui_tab",
        "name": "Außen",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

Produkte

Hier findest Du die vierte Generation des Raspberry Pi. Darunter findest Du das passende Gehäuse und SD-Karten.

Raspberry Pi 4 (4GB RAM) Bundle 32GB, schwarz **

Raspberry Pi FLIRC Case - Aluminium Gehäuse 4, Silber/schwarz **

SanDisk Ultra 32GB microSDHC Speicherkarte + Adapter bis zu 98 MB/Sek., Class 10, U1, A1, FFP **

Raspberry 4596 Pi - offizielles Netzteil für Raspberry Pi 4 Model B, USB-C, 5.1V, 3A **

Wichtig: Bei einem Netzteil für den Raspberry Pi sollte unbedingt darauf geachtet werden, dass es mindestens 3000mA (3A) liefern kann! Andernfalls kann es zu seltsamen Seiteneffekten kommen, wodurch der Raspberry langsam wird, abstürzt oder plötzlich gar nicht mehr startet. Die erforderliche Leistung wird umso höher, desto mehr USB-Geräte angeschlossen werden. Daher sollte am Netzteil auf keinen Fall gespart werden!

Transparenz-Hinweis (Level 1)

An diesem Beitrag ist kein Hersteller beteiligt! Sämtliche Produkte habe ich selbst gekauft und trage die kompletten Kosten für diesen Beitrag alleine! Die Inhalte wurden somit von niemandem gesehen oder abgestimmt. Es handelt sich zu 100% um meine persönliche Meinung und Erfahrung!

Du willst mehr?

Smart-Home-Trainings von A-Z

Steig' noch tiefer in die Themen ein und meistere Deine Projekte! Über 14.000 Teilnehmer konnten sich schon von der Qualität der Online-Kurse überzeugen.

ioBroker-Master-Kurs

ioBroker-Master-Kurs

Mehr Infos
Hausbau-Kurs

Hausbau mit KNX

Mehr Infos
Lox-Kurs

Lox-Kurs

Mehr Infos
Node-RED-Master-Kurs

Node-RED-Master-Kurs

Mehr Infos