Ankündigung

Einklappen
Keine Ankündigung bisher.

ARAGON Base mit Gira X1 Schließkontakte (Statusanzeige Binär)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Hab zum Update jetzt einen eigenen Thread aufgemacht
    Chris (https://proknx.com)
    wir haben ARAGON entwickelt, einen offline Sprachassistenten für KNX.

    Google, Amazon und Apple hätten das auch gekonnt. Aber sie verdienen eben besser an unseren persönlichen Daten...

    Kommentar


      #17
      Zitat von skull77 Beitrag anzeigen
      So hab mal 17 Fenster und Türen hinzugefügt. Relativ aufwändig, geht aber gut. .
      Könntest du eventuell den Code hier einstellen, ich habe 20 Fenster, das würde bisschen Arbeit ersparen.

      Kommentar


        #18
        Zitat von andreasrentz Beitrag anzeigen

        Könntest du eventuell den Code hier einstellen, ich habe 20 Fenster, das würde bisschen Arbeit ersparen.
        Kann ich machen, aber ich glaube das bringt dir nicht so viel. Du musst ja dennoh alle Benamsungen ändern.
        Die Haupttätigkeit besteht aus copy und paste. Ich habe einfach den "Fehler" gemacht und die Konfiguration von oben importiert und dann im WYSIWYG Red Node Editor bearbeitet. Das ist unnötig fummelig. Ich würde das nächste Mal die Konfig erst in einem Texteditor (notepad++ oder so) bearbeiten und erst wenn sie fertig ist importieren. Bei so viel Copy/Passte ist das denke ich leichter. Soll ich sie dennoch hier hochladen?

        Kommentar


          #19
          Ja Benamungen ist schnell gemacht, wenn es keine Umstände macht wäre das nett.

          Kommentar


            #20
            multimedia Gibt es eine Möglichkeit in der finalen Message etwas wie einen Delay mitzugeben? Ich habe nun neben der Fensternachricht nun auch eine weitere zur Müllabfuhr hinten dran gehängt. Es wäre cool, wenn man da so eine Sekunde Delay zwischen packen könnte, damit klar ist, dass das eine neue Nachricht ist. Evtl. geht sowas ja in Snips. Gerne auch benutzerdefinierte Länge des Delays. Ich glabue ich würde das immer mal einetzen um auch den Sprachfluss etwas klarer zu machen. Dann gingen auch so Spielereien wie eine Begrüßung oder etwas der Art etwas schöner.

            Kommentar


              #21

              Danke Thomas für deine Mail, habe es dann doch selber gemacht, weil ich die reports nur durchnummeriert habe, dann braucht man nur die Namen der Fenster oder Terrassentüren zu ändern und die Schnittstelle anpassen.Hier mal Screenshot und den Code falls den wer nutzen möchte.

              Fensterstatus.PNG


              Code:
              [
              {
              "id": "99092d0a.d361",
              "type": "tab",
              "label": "Fensterstatus",
              "disabled": false,
              "info": ""
              },
              {
              "id": "8197c6e2.633788",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report1",
              "func": "const report1 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report1: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report1: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 180,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "7cda2cc9.0cbc64",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report",
              "func": "var reports = \"\"; // reset all messages\n\nif ('report1'in msg.payload) //Hier reportx ändern\n{\n context.report1 = msg.payload.report1; //Hier reportx ändern\n}\nif ('report2'in msg.payload) //Hier reportx ändern\n{\n context.report2 = msg.payload.report2; //Hier reportx ändern\n}\nif ('report3'in msg.payload) //Hier reportx ändern\n{\n context.report3 = msg.payload.report3; //Hier reportx ändern\n} \nif ('report4'in msg.payload) //Hier reportx ändern\n{\n context.report4 = msg.payload.report4; //Hier reportx ändern\n}\nif ('report5'in msg.payload) //Hier reportx ändern\n{\n context.report5 = msg.payload.report5; //Hier reportx ändern\n}\nif ('report6'in msg.payload) //Hier reportx ändern\n{\n context.report6 = msg.payload.report6; //Hier reportx ändern\n}\nif ('report7'in msg.payload) //Hier reportx ändern\n{\n context.report7 = msg.payload.report7; //Hier reportx ändern\n}\nif ('report8'in msg.payload) //Hier reportx ändern\n{\n context.report8 = msg.payload.report8; //Hier reportx ändern\n}\nif ('report9'in msg.payload) //Hier reportx ändern\n{\n context.report9 = msg.payload.report9; //Hier reportx ändern\n}\nif ('report10'in msg.payload) //Hier reportx ändern\n{\n context.report10 = msg.payload.report10; //Hier reportx ändern\n}\nif ('report11'in msg.payload) //Hier reportx ändern\n{\n context.report11 = msg.payload.report11; //Hier reportx ändern\n}\nif ('report12'in msg.payload) //Hier reportx ändern\n{\n context.report12 = msg.payload.report12; //Hier reportx ändern\n}\nif ('report13'in msg.payload) //Hier reportx ändern\n{\n context.report13 = msg.payload.report13; //Hier reportx ändern\n}\nif ('report14'in msg.payload) //Hier reportx ändern\n{\n context.report14 = msg.payload.report14; //Hier reportx ändern\n}\nif ('report15'in msg.payload) //Hier reportx ändern\n{\n context.report15 = msg.payload.report15; //Hier reportx ändern\n}\nif ('report16'in msg.payload) //Hier reportx ändern\n{\n context.report16 = msg.payload.report16; //Hier reportx ändern\n}\nif ('report17'in msg.payload) //Hier reportx ändern\n{\n context.report17 = msg.payload.report17; //Hier reportx ändern\n}\nif ('report18'in msg.payload) //Hier reportx ändern\n{\n context.report18 = msg.payload.report18; //Hier reportx ändern\n}\nif ('report19'in msg.payload) //Hier reportx ändern\n{\n context.report19 = msg.payload.report19; //Hier reportx ändern\n}\nif ('report20'in msg.payload) //Hier reportx ändern\n{\n context.report20 = msg.payload.report20; //Hier reportx ändern\n}\nreports = context.report1 + context.report2 + context.report3 + context.report4 + context.report5 + context.report6 + context.report7 + context.report8 + context.report9 + context.report10 + context.report11 + context.report12 + context.report13 + context.report14 + context.report15 + context.report16 + context.report17 + context.report18 + context.report19 + context.report20 ; //Hier alle context.reportx zusammenführen\n\nif (reports === \"\"){\n reports = \"Alle Fenster sind gschlossen\";\n} else {\n if ((reports.split(\",\").length - 1) > 1) {\n reports = reports + \"sind geöffnet\";\n } else {\n reports = reports + \"ist geöffnet\";\n }\n}\n\n\nglobal.set(\"reports\", reports);\nmsg.payload = reports; \nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 910,
              "y": 840,
              "wires": [
              [
              "88a3f1a3.9958e"
              ]
              ]
              },
              {
              "id": "1a9e59d0.8cfc56",
              "type": "inject",
              "z": "99092d0a.d361",
              "name": "",
              "props": [
              {
              "p": "payload"
              },
              {
              "p": "topic",
              "vt": "str"
              }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "Büro Fenster ",
              "payload": "true",
              "payloadType": "bool",
              "x": 190,
              "y": 180,
              "wires": [
              [
              "8197c6e2.633788"
              ]
              ]
              },
              {
              "id": "97aa83e4.45e1",
              "type": "inject",
              "z": "99092d0a.d361",
              "name": "",
              "props": [
              {
              "p": "payload"
              },
              {
              "p": "topic",
              "vt": "str"
              }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "Büro Fenster ",
              "payload": "false",
              "payloadType": "bool",
              "x": 190,
              "y": 240,
              "wires": [
              [
              "8197c6e2.633788"
              ]
              ]
              },
              {
              "id": "ce99a087.8bde8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report2",
              "func": "const report2 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report2: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report2: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "x": 520,
              "y": 280,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "88a3f1a3.9958e",
              "type": "debug",
              "z": "99092d0a.d361",
              "name": "",
              "active": false,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "true",
              "targetType": "full",
              "x": 1035,
              "y": 840,
              "wires": [],
              "l": false
              },
              {
              "id": "72488d.9002d774",
              "type": "comment",
              "z": "99092d0a.d361",
              "name": "Fensterstatus abfragen (ReadMe)",
              "info": "Dieser Flow ermöglich den Fensterstatus aller Fenster in einen String zu übernehmen. Jedes Fenster bekommt einen reportx. In Abhängigkeit vom Zustand (offen = true) werden die Namen der geöffneten Fenster im Node report zusammengefasst und dann in eine globale Variable gespeichert. Der Fenstername wird in \"topic\" des ultimate Knoten eingetragen\nWenn die Abfrage erfolgt \"Gibt es Neuigkeiten\" wird dann der zusammengesetzte String gesprochen.\nDie zu ändernden Codezeilen sind entsprechend gekennzeichnet",
              "x": 390,
              "y": 40,
              "wires": []
              },
              {
              "id": "34f8e179.1d3f8e",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report3",
              "func": "const report3 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report3: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report3: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 340,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "3d95e613.01156a",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/19",
              "outputtopic": "Büro Fenster ",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Büro Fenster ",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 150,
              "y": 100,
              "wires": [
              [
              "8197c6e2.633788"
              ]
              ]
              },
              {
              "id": "3847c263.1d3b9e",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/3",
              "outputtopic": "Küche Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Küche Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 280,
              "wires": [
              [
              "ce99a087.8bde8"
              ]
              ]
              },
              {
              "id": "8ad2af1e.76406",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/2",
              "outputtopic": "Küche Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Küche Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 160,
              "y": 340,
              "wires": [
              [
              "34f8e179.1d3f8e"
              ]
              ]
              },
              {
              "id": "da54acd1.a8dcd",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report4",
              "func": "const report4 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report4: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report4: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 400,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "a68d01ec.6fc7a",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/4",
              "outputtopic": "Esszimmer schräge Tür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Esszimmer schräge Tür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 190,
              "y": 400,
              "wires": [
              [
              "da54acd1.a8dcd"
              ]
              ]
              },
              {
              "id": "8862dfe9.ee364",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/6",
              "outputtopic": "Wohnzimmer doppelte Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Wohnzimmer doppelte Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 220,
              "y": 580,
              "wires": [
              [
              "37ae0fc0.66f9c"
              ]
              ]
              },
              {
              "id": "862604e.12efcf8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report5",
              "func": "const report5 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report5: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report5: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 460,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "7f17663.6588598",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/0",
              "outputtopic": "Garage",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Garage",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 140,
              "y": 520,
              "wires": [
              [
              "5acec990.aec8a8"
              ]
              ]
              },
              {
              "id": "5acec990.aec8a8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report6",
              "func": "const report6 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report6: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report6: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 520,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "b2afe1df.6e316",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/5",
              "outputtopic": "Esszimmer grade Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Esszimmer grade Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 210,
              "y": 460,
              "wires": [
              [
              "862604e.12efcf8"
              ]
              ]
              },
              {
              "id": "37ae0fc0.66f9c",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report7",
              "func": "const report7 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report7: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report7: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 580,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "1c097532.f5aa3b",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/7",
              "outputtopic": "Wohnzimmer Terrassentür Süd links",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Wohnzimmer Terrassentür Süd links",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 230,
              "y": 640,
              "wires": [
              [
              "ead79d82.f70e1"
              ]
              ]
              },
              {
              "id": "ead79d82.f70e1",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report8",
              "func": "const report8 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report8: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report8: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 640,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "ffda7212.09e97",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/8",
              "outputtopic": "Wohnzimmer Terrassentür Süd rechts",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Wohnzimmer Terrassentür Süd rechts",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 230,
              "y": 700,
              "wires": [
              [
              "b31f23d.6cfc2e"
              ]
              ]
              },
              {
              "id": "b31f23d.6cfc2e",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report9",
              "func": "const report9 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report9: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report9: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 700,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "a2d364ac.ce6a78",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/9",
              "outputtopic": "Schlafzimmer Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Schlafzimmer Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 200,
              "y": 760,
              "wires": [
              [
              "c04b54c.c0e94a8"
              ]
              ]
              },
              {
              "id": "c04b54c.c0e94a8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report10",
              "func": "const report10 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report10: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report10: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 760,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "a9b35a0f.2005a8",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/10",
              "outputtopic": "Elternbad Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Elternbad Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 820,
              "wires": [
              [
              "8838d05b.96a3"
              ]
              ]
              },
              {
              "id": "8838d05b.96a3",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report11",
              "func": "const report11 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report11: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report11: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 820,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "88be5d52.e2d16",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/11",
              "outputtopic": "Flur Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Flur Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 880,
              "wires": [
              [
              "65cbf6cb.352b48"
              ]
              ]
              },
              {
              "id": "65cbf6cb.352b48",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report12",
              "func": "const report12 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report12: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report12: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 880,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "50b5517c.30633",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/12",
              "outputtopic": "Caleb Terrassentür",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Caleb Terrassentür",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 940,
              "wires": [
              [
              "13c1264e.6b757a"
              ]
              ]
              },
              {
              "id": "13c1264e.6b757a",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report13",
              "func": "const report13 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report13: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report13: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 940,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "ece8c75f.4c3ad8",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/18",
              "outputtopic": "Caleb Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Caleb Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 160,
              "y": 1000,
              "wires": [
              [
              "226963bb.5f909c"
              ]
              ]
              },
              {
              "id": "226963bb.5f909c",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report14",
              "func": "const report14 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report14: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report14: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1000,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "f3b5e87a.74a1b8",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/13",
              "outputtopic": "Caitlin Fenster Nord",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Caitlin Fenster Nord",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 180,
              "y": 1060,
              "wires": [
              [
              "f9a7cc50.fcb6b"
              ]
              ]
              },
              {
              "id": "f9a7cc50.fcb6b",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report15",
              "func": "const report15 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report15: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report15: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1060,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "b7945b7b.556068",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/17",
              "outputtopic": "Caitlin Fenster Ost",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Caitlin Fenster Ost",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 1120,
              "wires": [
              [
              "9ca2a9a5.8590c8"
              ]
              ]
              },
              {
              "id": "9ca2a9a5.8590c8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report16",
              "func": "const report16 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report16: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report16: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1120,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "a0e28918.07fa58",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/14",
              "outputtopic": "Gästezimmer Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Gästezimmer Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 180,
              "y": 1180,
              "wires": [
              [
              "425276fc.e23e08"
              ]
              ]
              },
              {
              "id": "425276fc.e23e08",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report17",
              "func": "const report17 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report17: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report17: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1180,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "ae874e98.c0f92",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/15",
              "outputtopic": "Gäste WC Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Gäste WC Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 1240,
              "wires": [
              [
              "8093a6d9.0d3e48"
              ]
              ]
              },
              {
              "id": "8093a6d9.0d3e48",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report18",
              "func": "const report18 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report18: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report18: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1240,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "4e188f8.55db37",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/16",
              "outputtopic": "Kinderbad Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Kinderbad Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 170,
              "y": 1360,
              "wires": [
              [
              "cef7aa51.6b59e8"
              ]
              ]
              },
              {
              "id": "cef7aa51.6b59e8",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report20",
              "func": "const report20 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report20: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report20: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1360,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "2abc23c2.2a0c8c",
              "type": "knxUltimate",
              "z": "99092d0a.d361",
              "server": "c859c792.e65618",
              "topic": "4/2/1",
              "outputtopic": "Hauswirtschaftsraum Fenster",
              "dpt": "1.002",
              "initialread": true,
              "notifyreadrequest": true,
              "notifyresponse": true,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "Hauswirtschaftsraum Fenster",
              "outputtype": "write",
              "outputRBE": false,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "x": 200,
              "y": 1300,
              "wires": [
              [
              "aa695c9c.9ae4e"
              ]
              ]
              },
              {
              "id": "aa695c9c.9ae4e",
              "type": "function",
              "z": "99092d0a.d361",
              "name": "report19",
              "func": "const report19 = \"\" //Hier reportx ändern\nif (msg.payload === true){\n msg.payload = {report19: msg.topic + \", \"} //Hier reportx ändern\n} else {\n msg.payload = {report19: \"\"} //Hier reportx ändern\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "x": 520,
              "y": 1300,
              "wires": [
              [
              "7cda2cc9.0cbc64"
              ]
              ]
              },
              {
              "id": "c859c792.e65618",
              "type": "knxUltimate-config",
              "host": "192.168.1.222",
              "port": "3671",
              "physAddr": "15.15.22",
              "suppressACKRequest": false,
              "csv": "",
              "KNXEthInterface": "Auto",
              "KNXEthInterfaceManuallyInput": "",
              "statusDisplayLastUpdate": true,
              "statusDisplayDeviceNameWhenALL": true,
              "statusDisplayDataPoint": false,
              "stopETSImportIfNoDatapoint": "stop",
              "loglevel": "error"
              }
              ]

              Kommentar


                #22
                Zitat von andreasrentz Beitrag anzeigen
                Danke Thomas für deine Mail,
                Gerne! :-)
                Fehlen bei dir nicht noch die Injects?

                Kommentar


                  #23
                  Wüsste nicht wozu ich die brauchen sollte, will ja keinen Test machen, die Fenster sind ja alle vorhanden.

                  Kommentar


                    #24
                    Zitat von andreasrentz Beitrag anzeigen
                    Wüsste nicht wozu ich die brauchen sollte, will ja keinen Test machen, die Fenster sind ja alle vorhanden.
                    Hm, ich muss zugeben, dass das meine ersten Schritte mit Node Red sind, aber ich habe das so verstanden, dass ich über die Injects unteranderem auch den msg-Text das betroffene Fenster mitgebe. Sonst bekomme ich doch nur true oder false und muss den Text an in dem Report seperat hinzufügen. Macht zwar keinen großen Unterschie, aber die Injects kann ich leicht anpassen. Evtl. liege ich aber auch ganz falsch. :-)

                    [EDIT] Ah, ok, hab es gerade nochmal getestet. Den Namen, den er vorließt erhält er dann doch nicht aus dem Inject, sondern aus Topic von KNX Ultimate. Macht dann auch Sinn, dass ich später eben msg.topic nutze. Ok, hätte ich das mal sofort nachgelesen, was inject macht, hätte mir das einiges an Arbeit gespart. Nächstes Mal dann. ;-)
                    Zuletzt geändert von skull77; 20.07.2021, 13:02.

                    Kommentar

                    Lädt...
                    X