Ankündigung

Einklappen
Keine Ankündigung bisher.

14 Byte Text von Node-Red auf den Bus

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

    14 Byte Text von Node-Red auf den Bus

    Ich scheitere gerade daran, einen simplen Text von Node-Red auf den Bus auszugeben. Sehe ich es richtig, dass ich mit den realKNX-Elementen nur einen Text vom Bus in Node-Red übernehmen kann, aber nicht auf den Bus senden kann? Falls ja, wie bekomme ich einen 14Byte Text, den ich in Node-Red zusammenstelle, auf den Bus gesendet?

    #2
    Hi,
    bitte verwende für Dein Vorhaben die Contribution KNX Ultimate von TheMax74.
    Single Node KNX IN/OUT with optional ETS group address importer. Easy to use and highly configurable. Control your KNX intallation via Node-Red!
    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


      #3
      Zitat von rklapdor Beitrag anzeigen
      Ich scheitere gerade daran, einen simplen Text von Node-Red auf den Bus auszugeben. Sehe ich es richtig, dass ich mit den realKNX-Elementen nur einen Text vom Bus in Node-Red übernehmen kann, aber nicht auf den Bus senden kann? Falls ja, wie bekomme ich einen 14Byte Text, den ich in Node-Red zusammenstelle, auf den Bus gesendet?
      Hello Ralf
      Als Multimedia suggested, slap knx-ultimate node on your flow, then add a function node and pass this to the knx-ultimate node:
      Code:
      return {payload:"Guten Morgen"};

      Kommentar


        #4
        Guten Morgen,

        Hat jemand schon einmal versucht so eine Art Laufschrift an das 14 Byte Meldeobjekt zu senden? Problem ist ja, dass ich nur 14 Zeichen an den Mdt Glastaster schicken kann. Wenn nun aber mein Text vom Rauchmelder z.b.: 1. Meldeobjekt "Feuer DG" dann 2. Meldeobjekt "Schlafzimmer" und 3. Meldeobjekt "Rauchalarm" sein soll, würde ich dies gerne mit einer Art Laufschrift auf den KNX Bus senden oder die andere Art eben, dass man die Meldeobjekte im Sekundentakt wechselt. Wäre Super wenn jemand hier eine Lösung hätte.

        Gruß Jürgen

        Kommentar


          #5
          Hi
          please see the Alerter node, if it can be useful for you.

          Kommentar


            #6
            Good morning TheMax74

            I will test it and than give you a reply.

            Kommentar


              #7
              Hello TheMax74 ,

              i have test it and it seems to be the right Module. Can you look at that "message array", what could I changed to be more compact the Code?

              Thank you.

              Code:
              [
              {
              "id": "cbfe0556.296888",
              "type": "tab",
              "label": "Rauchwarnmelder KNX",
              "disabled": false,
              "info": ""
              },
              {
              "id": "baabf609.4a3be8",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/9",
              "outputtopic": "",
              "dpt": "16.000",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Meldung Text",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 2430,
              "y": 1300,
              "wires": [
              []
              ]
              },
              {
              "id": "c452ea4f.ea4598",
              "type": "comment",
              "z": "cbfe0556.296888",
              "name": "Auswahl RWM Etage",
              "info": "",
              "x": 940,
              "y": 360,
              "wires": []
              },
              {
              "id": "e2980338.dfa86",
              "type": "knxUltimateAlerter",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "name": "Rauchwarnmelder",
              "property": "payload",
              "propertyType": {},
              "rules": [
              {
              "topic": "RWM_DG",
              "devicename": "RWM DG",
              "longdevicename": "RWM DG"
              },
              {
              "topic": "RWM_OG",
              "devicename": "RWM OG",
              "longdevicename": "RWM OG"
              },
              {
              "topic": "RWM_EG",
              "devicename": "RWM EG",
              "longdevicename": "RWM EG"
              },
              {
              "topic": "RWM_KG",
              "devicename": "RWM KG",
              "longdevicename": "RWM KG"
              },
              {
              "topic": "Raum_SZ",
              "devicename": "Schlafzimmer",
              "longdevicename": "Schlafzimmer"
              },
              {
              "topic": "Raum_FL",
              "devicename": "Flur",
              "longdevicename": "Flur"
              },
              {
              "topic": "Raum_GZ",
              "devicename": "Gästezimmer",
              "longdevicename": "Gästezimmer"
              },
              {
              "topic": "Raum_BZ",
              "devicename": "Badezimmer",
              "longdevicename": "Badezimmer"
              },
              {
              "topic": "Raum_AZ",
              "devicename": "Ankleidezimmer",
              "longdevicename": "Ankleidezimmer"
              },
              {
              "topic": "Raum_ARZ",
              "devicename": "Arbeitszimmer",
              "longdevicename": "Arbeitszimmer"
              },
              {
              "topic": "Raum_WZ",
              "devicename": "Wohnzimmer",
              "longdevicename": "Wohnzimmer"
              },
              {
              "topic": "Raum_VR",
              "devicename": "Vorratsraum",
              "longdevicename": "Vorratsraum"
              },
              {
              "topic": "Raum_KUE",
              "devicename": "Küche",
              "longdevicename": "Küche"
              },
              {
              "topic": "Raum_GAE_WC",
              "devicename": "Gäste-WC",
              "longdevicename": "Gäste-WC"
              },
              {
              "topic": "Raum_ER",
              "devicename": "Elektroraum",
              "longdevicename": "Elektroraum"
              },
              {
              "topic": "Raum_WASCH",
              "devicename": "Waschraum",
              "longdevicename": "Waschraum"
              },
              {
              "topic": "Raum_HEIZ",
              "devicename": "Heizungsraum",
              "longdevicename": "Heizungsraum"
              },
              {
              "topic": "Raum_PARTY",
              "devicename": "Partyraum",
              "longdevicename": "Partyraum"
              },
              {
              "topic": "Raum_WERK",
              "devicename": "Werkstatt",
              "longdevicename": "Werkstatt"
              },
              {
              "topic": "Alarm",
              "devicename": "ALARM!",
              "longdevicename": "ALARM!"
              },
              {
              "topic": "Rauchalarm",
              "devicename": "Rauchalarm",
              "longdevicename": "Rauchalarm"
              },
              {
              "topic": "Waermealarm",
              "devicename": "Wärmealarm",
              "longdevicename": "Wärmealarm"
              },
              {
              "topic": "Testalarm",
              "devicename": "Testalarm",
              "longdevicename": "Testalarm"
              },
              {
              "topic": "Stoerung",
              "devicename": "Störung",
              "longdevicename": "Störung"
              },
              {
              "topic": "Batterie",
              "devicename": "Batterie",
              "longdevicename": "Batterie"
              },
              {
              "topic": "Rauchkammer",
              "devicename": "Rauchkammer",
              "longdevicename": "Rauchkammer"
              },
              {
              "topic": "Tmp_Sensor",
              "devicename": "Temp.-Sensor",
              "longdevicename": "Temp.-Sensor"
              },
              {
              "topic": "Montage",
              "devicename": "Montage",
              "longdevicename": "Montage"
              },
              {
              "topic": "Kommunikation",
              "devicename": "Kommunikation",
              "longdevicename": "Kommunikation"
              }
              ],
              "whentostart": "ifnewalert",
              "timerinterval": "1",
              "initialread": "1",
              "x": 1970,
              "y": 1300,
              "wires": [
              [
              "6c755c96.12d814"
              ],
              [],
              []
              ]
              },
              {
              "id": "6c755c96.12d814",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "Ausgabe Device",
              "func": "msg.payload = msg.devicename;\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 2180,
              "y": 1300,
              "wires": [
              [
              "baabf609.4a3be8"
              ]
              ]
              },
              {
              "id": "9e0aad08.7091c",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/1/1",
              "outputtopic": "",
              "dpt": "1.003",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Testalarm",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 300,
              "y": 280,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "6f72794e.0c9bf8"
              ]
              ]
              },
              {
              "id": "1572f59d.656cda",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Bereich DG",
              "func": "msg.topic = \"RWM_DG\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 440,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "58f66146.6c631",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Schlafzimmer DG",
              "func": "msg.topic = \"Raum_SZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 700,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "55d4c6f4.726088",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Bereich OG",
              "func": "msg.topic = \"RWM_OG\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 480,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "8337e234.c4c0c",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Bereich EG",
              "func": "msg.topic = \"RWM_EG\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 520,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "9c9d39d8.dee9a8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Bereich KG",
              "func": "msg.topic = \"RWM_KG\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 560,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "37d61b7b.8c36a4",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Flur DG",
              "func": "msg.topic = \"Raum_FL\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 740,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "32ff7ba7.0aa0e4",
              "type": "comment",
              "z": "cbfe0556.296888",
              "name": "Auswahl RWM Raum",
              "info": "",
              "x": 940,
              "y": 660,
              "wires": []
              },
              {
              "id": "eedfbd01.28c8d",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Gästezimmer DG",
              "func": "msg.topic = \"Raum_GZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 780,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "141832ce.a08a9d",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Ankleidezimmer DG",
              "func": "msg.topic = \"Raum_AZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 820,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "b0121c6a.d9ded",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Badezimmer DG",
              "func": "msg.topic = \"Raum_BZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 860,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "7bbcf376.80d8ac",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Badezimmer OG",
              "func": "msg.topic = \"Raum_BZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 940,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "5af91e55.1c738",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Flur OG",
              "func": "msg.topic = \"Raum_FL\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 980,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "759c3317.329fac",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Arbeitszimmer OG",
              "func": "msg.topic = \"Raum_ARZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 1020,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "58b8ca43.6c3ea4",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Wohnzimmer OG",
              "func": "msg.topic = \"Raum_WZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 1060,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "6d98c14c.0a4f5",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Vorratsraum OG",
              "func": "msg.topic = \"Raum_VR\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1100,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "ba2730cf.b945a",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Küche OG",
              "func": "msg.topic = \"Raum_KUE\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 1140,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "428ef5b2.75fc6c",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Badezimmer EG",
              "func": "msg.topic = \"Raum_BZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1220,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "5f9acc7d.a927a4",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Flur EG",
              "func": "msg.topic = \"Raum_FL\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 1260,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "5f458d02.de6c64",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Schlafzimmer EG",
              "func": "msg.topic = \"Raum_SZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 1300,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "8d96e50a.67ff08",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Wohnzimmer EG",
              "func": "msg.topic = \"Raum_WZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 1340,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "bbe8072d.c71d18",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Gäste-WC EG",
              "func": "msg.topic = \"Raum_GAE_WC\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1420,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "242953a5.cf439c",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Küche EG",
              "func": "msg.topic = \"Raum_KUE\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 1380,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "9141fa75.63e488",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Flur KG",
              "func": "msg.topic = \"Raum_FL\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 1500,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "b790834f.ef883",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Vorratsraum KG",
              "func": "msg.topic = \"Raum_VR\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1540,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "d3c1e0a9.8cbb8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Elektroraum KG",
              "func": "msg.topic = \"Raum_ER\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1580,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "c533e1a9.5e0ac",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Waschraum KG",
              "func": "msg.topic = \"Raum_WASCH\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1620,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "38e9c95a.59faf6",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Heizungsraum KG",
              "func": "msg.topic = \"Raum_HEIZ\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 1660,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "8733d535.732de8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Partyraum KG",
              "func": "msg.topic = \"Raum_PARTY\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 1700,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "8c8016f5.02c658",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Werkstatt KG",
              "func": "msg.topic = \"Raum_WERK\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 1740,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "30603102.fdd80e",
              "type": "comment",
              "z": "cbfe0556.296888",
              "name": "Auswahl RWM Meldeart",
              "info": "",
              "x": 940,
              "y": 1820,
              "wires": []
              },
              {
              "id": "163eef5.568f911",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Alarm",
              "func": "msg.topic = \"Alarm\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1110,
              "y": 1880,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "7d8dd081.a7035",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Rauchalarm",
              "func": "msg.topic = \"Rauchalarm\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 1920,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "57ad50bb.4081c",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Wärmealarm",
              "func": "msg.topic = \"Waermealarm\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1130,
              "y": 1960,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "6f72794e.0c9bf8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Testalarm",
              "func": "msg.topic = \"Testalarm\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 2000,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "82b4f897.1ab6d8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung",
              "func": "msg.topic = \"Stoerung\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1120,
              "y": 2080,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "969414d4.98d8f8",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung Batterie",
              "func": "msg.topic = \"Batterie\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1140,
              "y": 2120,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "14839eef.e5a221",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung Rauchkammer",
              "func": "msg.topic = \"Rauchkammer\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1160,
              "y": 2160,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "eefcb85.e8c0348",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung Temperatursensor",
              "func": "msg.topic = \"Tmp_Sensor\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1180,
              "y": 2200,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "53abf382.e3e5ac",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung Montage",
              "func": "msg.topic = \"Montage\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1150,
              "y": 2240,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "1260bbb6.68e624",
              "type": "function",
              "z": "cbfe0556.296888",
              "name": "RWM Störung Kommunikation KNX",
              "func": "msg.topic = \"Kommunikation\";\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "initialize": "",
              "finalize": "",
              "libs": [],
              "x": 1180,
              "y": 2280,
              "wires": [
              [
              "e2980338.dfa86"
              ]
              ]
              },
              {
              "id": "41abf0a1.1085c",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/1/0",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Alarm",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 290,
              "y": 100,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "163eef5.568f911"
              ]
              ]
              },
              {
              "id": "86281606.747a58",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/0",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Status Rauchalarm",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 330,
              "y": 160,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "7d8dd081.a7035"
              ]
              ]
              },
              {
              "id": "2cf856e3.89bf1a",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/1",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Status Wärmealarm",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 330,
              "y": 220,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "57ad50bb.4081c"
              ]
              ]
              },
              {
              "id": "2c53046e.edb5ac",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/8",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Störung",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 290,
              "y": 340,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "82b4f897.1ab6d8"
              ]
              ]
              },
              {
              "id": "40b337d0.bf2a18",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/3",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Störung Batterie",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 320,
              "y": 400,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "969414d4.98d8f8"
              ]
              ]
              },
              {
              "id": "25789398.ce3afc",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/4",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Störung Rauchkammer",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 340,
              "y": 460,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "14839eef.e5a221"
              ]
              ]
              },
              {
              "id": "cbc37bed.04be58",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/5",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Störung Temperatursensor",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 350,
              "y": 520,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "eefcb85.e8c0348"
              ]
              ]
              },
              {
              "id": "2978ab52.153544",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/7",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Montage Melder",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 320,
              "y": 580,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "53abf382.e3e5ac"
              ]
              ]
              },
              {
              "id": "f80fb26c.ef3c7",
              "type": "knxUltimate",
              "z": "cbfe0556.296888",
              "server": "73a8e5d1.6ce4bc",
              "topic": "4/2/6",
              "outputtopic": "",
              "dpt": "1.002",
              "initialread": 0,
              "notifyreadrequest": false,
              "notifyresponse": false,
              "notifywrite": true,
              "notifyreadrequestalsorespondtobus": false,
              "notifyreadrequestalsorespondtobusdefaultvalueifno tinitialized": "0",
              "listenallga": false,
              "name": "DG Schlafzimmer: Störung Kommunikation KNX-Melder",
              "outputtype": "write",
              "outputRBE": true,
              "inputRBE": false,
              "formatmultiplyvalue": 1,
              "formatnegativevalue": "leave",
              "formatdecimalsvalue": 999,
              "passthrough": "no",
              "x": 380,
              "y": 640,
              "wires": [
              [
              "1572f59d.656cda",
              "58f66146.6c631",
              "1260bbb6.68e624"
              ]
              ]
              },
              {
              "id": "2e72bdb7.90e652",
              "type": "comment",
              "z": "cbfe0556.296888",
              "name": "RWM Schlafzimmer DG",
              "info": "",
              "x": 260,
              "y": 40,
              "wires": []
              },
              {
              "id": "73a8e5d1.6ce4bc",
              "type": "knxUltimate-config",
              "host": "10.5.3.68",
              "port": "3671",
              "physAddr": "15.15.22",
              "suppressACKRequest": true,
              "csv": "\"Group name\"\t\"Address\"\t\"Central\"\t\"Unfiltered\"\t \"Description\"\t\"DatapointType\"\t\"Security\"\n \"Zentralbefehle\"\t\"0/-/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Zentralbef ehle\"\t\"0/0/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Datum/Uhrzeit\"\t\"0/0/1\"\t\"true\"\t\"true\"\t\"\"\t\"DPST-19-1\"\t\"Auto\"\n\"Datum\"\t\"0/0/2\"\t\"true\"\t\"true\"\t\"\"\t\"DPST-11-1\"\t\"Auto\"\n\"Uhrzeit\"\t\"0/0/3\"\t\"true\"\t\"true\"\t\"\"\t\"DPST-10-1\"\t\"Auto\"\n\"Tag/Nacht\"\t\"0/0/4\"\t\"true\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Präsenz\"\t\"0/0/5\"\t\"true\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Licht\"\t\"1/-/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Zentralbef ehle\"\t\"1/0/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Schalten\" \t\"1/1/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Licht schalten\"\t\"1/1/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer Hackenlicht schalten\"\t\"1/1/1\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer Licht Balkon schalten\"\t\"1/1/2\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Status\"\t\"1/2/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Licht Status\"\t\"1/2/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer Hackenlicht Status\"\t\"1/2/1\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer Licht Balkon Status\"\t\"1/2/2\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Heizung\"\t\"2/-/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Zentralbef ehle\"\t\"2/0/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Schalten\" \t\"2/1/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Status\"\t \"2/2/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Bett rechts Raumtemperatur IST\"\t\"2/2/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-9-1\"\t\"Auto\"\n\"DG Schlafzimmer Bett links Raumtemperatur IST\"\t\"2/2/1\"\t\"\"\t\"\"\t\"\"\t\"DPST-9-1\"\t\"Auto\"\n\"Beschattung\"\t\"3/-/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Zentralbef ehle\"\t\"3/0/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen zentral auf/ab\"\t\"3/0/0\"\t\"true\"\t\"\"\t\"\"\t\"DPST-1-8\"\t\"Auto\"\n\"DG Schlafzimmer zentral stop\"\t\"3/0/1\"\t\"true\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer zentral absolute Position\"\t\"3/0/2\"\t\"true\"\t\"\"\t\"\"\t\"DPST-5-1\"\t\"Auto\"\n\"Schalten\"\t\"3/1/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Balkon auf/ab\"\t\"3/1/3\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-8\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Balkon stop\"\t\"3/1/4\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-7\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Dachfenster auf/ab\"\t\"3/1/5\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-8\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Dachfenster stop\"\t\"3/1/6\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Status\"\t\"3/2/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Dachfenster fährt\"\t\"3/2/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-11\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Balkon Höhe STATUS\"\t\"3/2/3\"\t\"\"\t\"\"\t\"\"\t\"DPST-5-1\"\t\"Auto\"\n\"DG Schlafzimmer Rolladen Dachfenster Höhe STATUS\"\t\"3/2/4\"\t\"\"\t\"\"\t\"\"\t\"DPST-5-1\"\t\"Auto\"\n\"Rauchmelder\"\t\"4/-/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Zentralbef ehle\"\t\"4/0/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"Schalten\" \t\"4/1/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer: Alarm\"\t\"4/1/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Testalarm\"\t\"4/1/1\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-3\"\t\"Auto\"\n\"DG Schlafzimmer: Quittierung Störung\"\t\"4/1/2\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"Status\"\t\"4/2/-\"\t\"\"\t\"\"\t\"\"\t\"\"\t\"Auto\"\n\"DG Schlafzimmer: Status Rauchalarm\"\t\"4/2/0\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Status Wärmealarm\"\t\"4/2/1\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Status Testalarm\"\t\"4/2/2\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-1\"\t\"Auto\"\n\"DG Schlafzimmer: Störung Batterie\"\t\"4/2/3\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Störung Rauchkammer\"\t\"4/2/4\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Störung Temperatursensor\"\t\"4/2/5\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Störung Kommunikation KNX-Melder\"\t\"4/2/6\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Montage Melder\"\t\"4/2/7\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Störung\"\t\"4/2/8\"\t\"\"\t\"\"\t\"\"\t\"DPST-1-2\"\t\"Auto\"\n\"DG Schlafzimmer: Meldung Text\"\t\"4/2/9\"\t\"\"\t\"\"\t\"\"\t\"DPST-16-0\"\t\"Auto\"\n\"DG Schlafzimmer: Statustext 1\"\t\"4/2/10\"\t\"\"\t\"\"\t\"\"\t\"DPST-16-0\"\t\"Auto\"\n\"DG Schlafzimmer: Statustext 2\"\t\"4/2/11\"\t\"\"\t\"\"\t\"\"\t\"DPST-16-0\"\t\"Auto\"\n",
              "KNXEthInterface": "Auto",
              "KNXEthInterfaceManuallyInput": "",
              "statusDisplayLastUpdate": true,
              "statusDisplayDeviceNameWhenALL": true,
              "statusDisplayDataPoint": false,
              "stopETSImportIfNoDatapoint": "stop",
              "loglevel": "error",
              "name": "Multicast KNX Gateway",
              "localEchoInTunneling": true,
              "delaybetweentelegrams": "40",
              "delaybetweentelegramsfurtherdelayREAD": "1"
              }
              ]

              Kommentar


                #8
                Hi
                good. I’ll take a look tomorrow at office and i’ll let you know!

                Kommentar


                  #9
                  Hi Juergenal
                  You code seems to be ok, except for one thing.
                  About the ALARM, for example, you can avoid what you've done (a function that groups the devices) by directly putting the group address in the Alerter Node, link the device node to the alerter node and delete the function. See here:


                  Node-RED.png

                  Node-RED 2.png

                  Kommentar


                    #10
                    Oh sorry the GA was an mistake from me. I will delete the GA. Thank for your help.

                    Kommentar

                    Lädt...
                    X