Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. zweimal einen Datenpunkt Button schalten

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    zweimal einen Datenpunkt Button schalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis @Aphofis last edited by

      @aphofis
      also nicht so:
      Unbenannt2.png

      mickym 1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @Aphofis last edited by mickym

        @aphofis Nein - so nicht. Was kommt denn aus Deiner payload raus ? Ein String "10" für ARD?

        Aphofis 1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis @mickym last edited by

          @mickym
          Ups sorry ne da sollte WDR stehen und 10 sollte raus kommen
          Nur mein Node-Red will irgendwas nicht immer nicht erreichbar

          mickym 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @Aphofis last edited by

            @aphofis Also wenn wie bei mir ein String "10" in die Split Node kommt, dann siehst Du hier anhand der Debug Nodes, die Du halt gegen die Tastenpunkte Deiner Harmony ersetzen musst:

            57d7c06f-7be3-4ffb-be2f-5013779c0414-image.png

            hier mal dieser Beispielflow:

            [
                {
                    "id": "41550327.2bf39c",
                    "type": "split",
                    "z": "e8c5c56.e220438",
                    "name": "",
                    "splt": "1",
                    "spltType": "len",
                    "arraySplt": 1,
                    "arraySpltType": "len",
                    "stream": false,
                    "addname": "",
                    "x": 610,
                    "y": 180,
                    "wires": [
                        [
                            "717ffa37.5bf7e4"
                        ]
                    ]
                },
                {
                    "id": "8a918032.ba379",
                    "type": "inject",
                    "z": "e8c5c56.e220438",
                    "name": "",
                    "props": [
                        {
                            "p": "payload"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "10",
                    "payloadType": "str",
                    "x": 430,
                    "y": 180,
                    "wires": [
                        [
                            "41550327.2bf39c"
                        ]
                    ]
                },
                {
                    "id": "6af7e799.ee3168",
                    "type": "debug",
                    "z": "e8c5c56.e220438",
                    "name": "Phillips Nr. 0",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 970,
                    "y": 40,
                    "wires": []
                },
                {
                    "id": "717ffa37.5bf7e4",
                    "type": "switch",
                    "z": "e8c5c56.e220438",
                    "name": "",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "eq",
                            "v": "0",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "1",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "2",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "3",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "4",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "5",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "6",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "7",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "8",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "9",
                            "vt": "str"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 10,
                    "x": 770,
                    "y": 180,
                    "wires": [
                        [
                            "6af7e799.ee3168"
                        ],
                        [
                            "d6f4657d.bcc268"
                        ],
                        [
                            "fc1a91f1.e1c14"
                        ],
                        [
                            "113e7478.8fecec"
                        ],
                        [],
                        [],
                        [],
                        [],
                        [],
                        []
                    ]
                },
                {
                    "id": "d6f4657d.bcc268",
                    "type": "debug",
                    "z": "e8c5c56.e220438",
                    "name": "Phillips Nr. 1",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 970,
                    "y": 80,
                    "wires": []
                },
                {
                    "id": "fc1a91f1.e1c14",
                    "type": "debug",
                    "z": "e8c5c56.e220438",
                    "name": "Phillips Nr. 2",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 970,
                    "y": 120,
                    "wires": []
                },
                {
                    "id": "113e7478.8fecec",
                    "type": "debug",
                    "z": "e8c5c56.e220438",
                    "name": "Phillips Nr. 3",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 970,
                    "y": 160,
                    "wires": []
                }
            ]
            

            Die switch Node braucht natürlich für jede Taste einen eigenen Ausgang:

            686f5b3d-d561-4624-a723-6eb716284837-image.png

            Aphofis 1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis @mickym last edited by

              @mickym
              Das verstehe ich aber noch nicht so ganz

              mickym 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @Aphofis last edited by mickym

                @aphofis Also ich habe mal mit meiner Inject Node angenommen es kommt ein String "10" raus. Importiere halt mal den Flow.

                Also kommt 10 in die split Node rein.

                Die Zerlegt nun den String in 2 Nachrichten mit jeweils EINER Ziffer. Also kommt erst eine Nachricht mit "1" gefolgt von einer Nachricht mit "0".

                Diese werden nun in der Switch Node auf die Eingänge 0 - 9 verteilt und dort hängt dann der Zifferndatenpunkte Deiner Fernbedienung dran. Also als ob Du in Deiner Fernbedienung erst die 1 und dann die 0 drückst.

                Aphofis 1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @mickym last edited by Aphofis

                  @mickym
                  Ah OK cool jetzt verstehe ich
                  ok moment
                  (Node-Red Fehler gefunden, hatte zweimal den selben Port bei zwei verschiedenen Geräten für Alexa)

                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Aphofis last edited by

                    @aphofis Im Prinzip wirst Du in Deinem harmony Adapter bei Deinem Fernseher (bei mir halt Pioneer) für jede Ziffer einen eigenen Datenpunkt haben:

                    Es kann zwar sein, dass der keine Zahlen sondern lieber true oder immer eine 1 haben will, aber dann setzt Du das mit einer Change Node entsprechend.

                    cca68f1f-51cf-43ee-afbd-04e76ad8526f-image.png

                    Aphofis 1 Reply Last reply Reply Quote 0
                    • Aphofis
                      Aphofis @mickym last edited by

                      @mickym
                      und wie implementiere ich dann alexa dazu???

                      mickym 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @Aphofis last edited by

                        @aphofis Na Deine Alexa gibt doch den String aus oder nicht?

                        Also was kommt den raus, wenn Du ARD oben sagst?

                        mickym 1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active @mickym last edited by mickym

                          @mickym Wenn da nur true aus der Alexa Node oben rauskommt, dann hängst Du halt eine Change Node dahinter, um Dir den entsprechenden Programmplatz zu übersetzen. Irgendwie musst Du ja in Deinen Sendeplatz übersetzen.

                          Sprich wenn Du ARD sagst und die obige Node triggerst - und es soll auf der Fernbedienung 1 und 0 gedrückt werden, dann setzt Du hinter die Alexa Node einfach ein Change Node mit dem String 10.

                          Hier mal der ganze Flow - Du musst nun einfach nur die Inject Nodes gegen Alexa Nodes ersetzen und hinten die Debug Nodes gegen Dein iobroker out Nodes mit den Tastenpunkten:

                          2ded2aaa-2dec-402a-bff8-fe6e9e632393-image.png

                          Hier wieder der gesamte Flow zum Import:

                          [
                             {
                                 "id": "41550327.2bf39c",
                                 "type": "split",
                                 "z": "e8c5c56.e220438",
                                 "name": "",
                                 "splt": "1",
                                 "spltType": "len",
                                 "arraySplt": 1,
                                 "arraySpltType": "len",
                                 "stream": false,
                                 "addname": "",
                                 "x": 610,
                                 "y": 180,
                                 "wires": [
                                     [
                                         "717ffa37.5bf7e4"
                                     ]
                                 ]
                             },
                             {
                                 "id": "8a918032.ba379",
                                 "type": "inject",
                                 "z": "e8c5c56.e220438",
                                 "name": "ARD",
                                 "props": [
                                     {
                                         "p": "payload"
                                     }
                                 ],
                                 "repeat": "",
                                 "crontab": "",
                                 "once": false,
                                 "onceDelay": 0.1,
                                 "topic": "",
                                 "payload": "10",
                                 "payloadType": "str",
                                 "x": 250,
                                 "y": 140,
                                 "wires": [
                                     [
                                         "710e3c6d.11f0b4"
                                     ]
                                 ]
                             },
                             {
                                 "id": "6af7e799.ee3168",
                                 "type": "debug",
                                 "z": "e8c5c56.e220438",
                                 "name": "Phillips Nr. 0",
                                 "active": true,
                                 "tosidebar": true,
                                 "console": false,
                                 "tostatus": false,
                                 "complete": "payload",
                                 "targetType": "msg",
                                 "statusVal": "",
                                 "statusType": "auto",
                                 "x": 1230,
                                 "y": 40,
                                 "wires": []
                             },
                             {
                                 "id": "717ffa37.5bf7e4",
                                 "type": "switch",
                                 "z": "e8c5c56.e220438",
                                 "name": "",
                                 "property": "payload",
                                 "propertyType": "msg",
                                 "rules": [
                                     {
                                         "t": "eq",
                                         "v": "0",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "1",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "2",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "3",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "4",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "5",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "6",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "7",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "8",
                                         "vt": "str"
                                     },
                                     {
                                         "t": "eq",
                                         "v": "9",
                                         "vt": "str"
                                     }
                                 ],
                                 "checkall": "true",
                                 "repair": false,
                                 "outputs": 10,
                                 "x": 770,
                                 "y": 180,
                                 "wires": [
                                     [
                                         "ac8cd608.ff2d78"
                                     ],
                                     [
                                         "81031c96.e4e03"
                                     ],
                                     [
                                         "6dc90375.86eebc"
                                     ],
                                     [
                                         "a9da448a.767fd8"
                                     ],
                                     [],
                                     [],
                                     [],
                                     [],
                                     [],
                                     []
                                 ]
                             },
                             {
                                 "id": "d6f4657d.bcc268",
                                 "type": "debug",
                                 "z": "e8c5c56.e220438",
                                 "name": "Phillips Nr. 1",
                                 "active": true,
                                 "tosidebar": true,
                                 "console": false,
                                 "tostatus": false,
                                 "complete": "payload",
                                 "targetType": "msg",
                                 "statusVal": "",
                                 "statusType": "auto",
                                 "x": 1230,
                                 "y": 80,
                                 "wires": []
                             },
                             {
                                 "id": "fc1a91f1.e1c14",
                                 "type": "debug",
                                 "z": "e8c5c56.e220438",
                                 "name": "Phillips Nr. 2",
                                 "active": true,
                                 "tosidebar": true,
                                 "console": false,
                                 "tostatus": false,
                                 "complete": "payload",
                                 "targetType": "msg",
                                 "statusVal": "",
                                 "statusType": "auto",
                                 "x": 1230,
                                 "y": 120,
                                 "wires": []
                             },
                             {
                                 "id": "113e7478.8fecec",
                                 "type": "debug",
                                 "z": "e8c5c56.e220438",
                                 "name": "Phillips Nr. 3",
                                 "active": true,
                                 "tosidebar": true,
                                 "console": false,
                                 "tostatus": false,
                                 "complete": "payload",
                                 "targetType": "msg",
                                 "statusVal": "",
                                 "statusType": "auto",
                                 "x": 1230,
                                 "y": 160,
                                 "wires": []
                             },
                             {
                                 "id": "ac8cd608.ff2d78",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Setze 1 für Tastendruck",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "1",
                                         "tot": "num"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 990,
                                 "y": 40,
                                 "wires": [
                                     [
                                         "6af7e799.ee3168"
                                     ]
                                 ]
                             },
                             {
                                 "id": "710e3c6d.11f0b4",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Programmplatz 10",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "10",
                                         "tot": "str"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 430,
                                 "y": 140,
                                 "wires": [
                                     [
                                         "41550327.2bf39c"
                                     ]
                                 ]
                             },
                             {
                                 "id": "f7c2bd16.233fd",
                                 "type": "inject",
                                 "z": "e8c5c56.e220438",
                                 "name": "ZDF",
                                 "props": [
                                     {
                                         "p": "payload"
                                     }
                                 ],
                                 "repeat": "",
                                 "crontab": "",
                                 "once": false,
                                 "onceDelay": 0.1,
                                 "topic": "",
                                 "payload": "11",
                                 "payloadType": "str",
                                 "x": 250,
                                 "y": 180,
                                 "wires": [
                                     [
                                         "b1042862.fb3ba8"
                                     ]
                                 ]
                             },
                             {
                                 "id": "b1042862.fb3ba8",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Programmplatz 11",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "11",
                                         "tot": "str"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 430,
                                 "y": 180,
                                 "wires": [
                                     [
                                         "41550327.2bf39c"
                                     ]
                                 ]
                             },
                             {
                                 "id": "81031c96.e4e03",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Setze 1 für Tastendruck",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "1",
                                         "tot": "num"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 990,
                                 "y": 80,
                                 "wires": [
                                     [
                                         "d6f4657d.bcc268"
                                     ]
                                 ]
                             },
                             {
                                 "id": "6dc90375.86eebc",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Setze 1 für Tastendruck",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "1",
                                         "tot": "num"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 990,
                                 "y": 120,
                                 "wires": [
                                     [
                                         "fc1a91f1.e1c14"
                                     ]
                                 ]
                             },
                             {
                                 "id": "a9da448a.767fd8",
                                 "type": "change",
                                 "z": "e8c5c56.e220438",
                                 "name": "Setze 1 für Tastendruck",
                                 "rules": [
                                     {
                                         "t": "set",
                                         "p": "payload",
                                         "pt": "msg",
                                         "to": "1",
                                         "tot": "num"
                                     }
                                 ],
                                 "action": "",
                                 "property": "",
                                 "from": "",
                                 "to": "",
                                 "reg": false,
                                 "x": 990,
                                 "y": 160,
                                 "wires": [
                                     [
                                         "113e7478.8fecec"
                                     ]
                                 ]
                             }
                          ]
                          

                          Im Moment siehst Du anhand der Debug Nodes - das die richtigen Tasten gedrückt werden - habe ich markiert über das Topic:

                          f215e1a5-3901-4ac5-9f62-7836f6e9e2b1-image.png

                          Aphofis 2 Replies Last reply Reply Quote 0
                          • Aphofis
                            Aphofis @mickym last edited by

                            @mickym
                            I will try

                            1 Reply Last reply Reply Quote 0
                            • Aphofis
                              Aphofis @mickym last edited by

                              @mickym
                              OK und wo ist dort Alexa und Harmony verknüpft!?
                              nihct böse sein aber Node-Red bin ich null konform

                              mickym 1 Reply Last reply Reply Quote 0
                              • mickym
                                mickym Most Active @Aphofis last edited by mickym

                                @aphofis Nochmal hast Du den Flow importiert?

                                Wenn Du jetzt auf den Inject Node Klickst, (das entsprecht später Deiner Alexa Node). Die Debug Nodes - da kommen iobroker Out Nodes auf Deine Harmony Punkte - wie ich Sie Dir in meiner Objektstruktur gezeigt habe.

                                Ich habe mal die Nodes gruppiert - damit Du die Verbindung besser siehst:

                                629091aa-4ab5-4e78-89cc-045981f44c7a-image.png

                                In die orange Gruppe kommen Deine Alexa Nodes - in die grüne Gruppe die iobroker-Out Nodes zu Deinen Harmony Datenpunkten.

                                Und beides ist über den Flow miteinander verbunden (das sind die Verbindungslinien).

                                [
                                   {
                                       "id": "41550327.2bf39c",
                                       "type": "split",
                                       "z": "e8c5c56.e220438",
                                       "name": "",
                                       "splt": "1",
                                       "spltType": "len",
                                       "arraySplt": 1,
                                       "arraySpltType": "len",
                                       "stream": false,
                                       "addname": "",
                                       "x": 590,
                                       "y": 260,
                                       "wires": [
                                           [
                                               "717ffa37.5bf7e4"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "717ffa37.5bf7e4",
                                       "type": "switch",
                                       "z": "e8c5c56.e220438",
                                       "name": "",
                                       "property": "payload",
                                       "propertyType": "msg",
                                       "rules": [
                                           {
                                               "t": "eq",
                                               "v": "0",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "1",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "2",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "3",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "4",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "5",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "6",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "7",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "8",
                                               "vt": "str"
                                           },
                                           {
                                               "t": "eq",
                                               "v": "9",
                                               "vt": "str"
                                           }
                                       ],
                                       "checkall": "true",
                                       "repair": false,
                                       "outputs": 10,
                                       "x": 750,
                                       "y": 260,
                                       "wires": [
                                           [
                                               "ac8cd608.ff2d78"
                                           ],
                                           [
                                               "81031c96.e4e03"
                                           ],
                                           [
                                               "6dc90375.86eebc"
                                           ],
                                           [
                                               "a9da448a.767fd8"
                                           ],
                                           [],
                                           [],
                                           [],
                                           [],
                                           [],
                                           []
                                       ]
                                   },
                                   {
                                       "id": "ac8cd608.ff2d78",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Setze 1 für Tastendruck",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "1",
                                               "tot": "num"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 970,
                                       "y": 120,
                                       "wires": [
                                           [
                                               "6af7e799.ee3168"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "710e3c6d.11f0b4",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Programmplatz 10",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "10",
                                               "tot": "str"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 410,
                                       "y": 220,
                                       "wires": [
                                           [
                                               "41550327.2bf39c"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "b1042862.fb3ba8",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Programmplatz 11",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "11",
                                               "tot": "str"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 410,
                                       "y": 260,
                                       "wires": [
                                           [
                                               "41550327.2bf39c"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "81031c96.e4e03",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Setze 1 für Tastendruck",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "1",
                                               "tot": "num"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 970,
                                       "y": 160,
                                       "wires": [
                                           [
                                               "d6f4657d.bcc268"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "6dc90375.86eebc",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Setze 1 für Tastendruck",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "1",
                                               "tot": "num"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 970,
                                       "y": 200,
                                       "wires": [
                                           [
                                               "fc1a91f1.e1c14"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "a9da448a.767fd8",
                                       "type": "change",
                                       "z": "e8c5c56.e220438",
                                       "name": "Setze 1 für Tastendruck",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "1",
                                               "tot": "num"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 970,
                                       "y": 240,
                                       "wires": [
                                           [
                                               "113e7478.8fecec"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "8fde9d8c.4f4fe",
                                       "type": "group",
                                       "z": "e8c5c56.e220438",
                                       "name": "Iobroker Out Nodes zur Harmony ",
                                       "style": {
                                           "label": true,
                                           "fill": "#addb7b"
                                       },
                                       "nodes": [
                                           "6af7e799.ee3168",
                                           "d6f4657d.bcc268",
                                           "fc1a91f1.e1c14",
                                           "113e7478.8fecec"
                                       ],
                                       "x": 1114,
                                       "y": 79,
                                       "w": 214,
                                       "h": 202
                                   },
                                   {
                                       "id": "6af7e799.ee3168",
                                       "type": "debug",
                                       "z": "e8c5c56.e220438",
                                       "g": "8fde9d8c.4f4fe",
                                       "name": "Phillips Nr. 0",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1210,
                                       "y": 120,
                                       "wires": []
                                   },
                                   {
                                       "id": "d6f4657d.bcc268",
                                       "type": "debug",
                                       "z": "e8c5c56.e220438",
                                       "g": "8fde9d8c.4f4fe",
                                       "name": "Phillips Nr. 1",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1210,
                                       "y": 160,
                                       "wires": []
                                   },
                                   {
                                       "id": "fc1a91f1.e1c14",
                                       "type": "debug",
                                       "z": "e8c5c56.e220438",
                                       "g": "8fde9d8c.4f4fe",
                                       "name": "Phillips Nr. 2",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1210,
                                       "y": 200,
                                       "wires": []
                                   },
                                   {
                                       "id": "113e7478.8fecec",
                                       "type": "debug",
                                       "z": "e8c5c56.e220438",
                                       "g": "8fde9d8c.4f4fe",
                                       "name": "Phillips Nr. 3",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1210,
                                       "y": 240,
                                       "wires": []
                                   },
                                   {
                                       "id": "f02a92ce.cc5d1",
                                       "type": "group",
                                       "z": "e8c5c56.e220438",
                                       "name": "Alexa Nodes",
                                       "style": {
                                           "label": true,
                                           "fill": "#ffdf7f"
                                       },
                                       "nodes": [
                                           "8a918032.ba379",
                                           "f7c2bd16.233fd"
                                       ],
                                       "x": 134,
                                       "y": 179,
                                       "w": 172,
                                       "h": 122
                                   },
                                   {
                                       "id": "8a918032.ba379",
                                       "type": "inject",
                                       "z": "e8c5c56.e220438",
                                       "g": "f02a92ce.cc5d1",
                                       "name": "ARD",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "10",
                                       "payloadType": "str",
                                       "x": 230,
                                       "y": 220,
                                       "wires": [
                                           [
                                               "710e3c6d.11f0b4"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "f7c2bd16.233fd",
                                       "type": "inject",
                                       "z": "e8c5c56.e220438",
                                       "g": "f02a92ce.cc5d1",
                                       "name": "ZDF",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "11",
                                       "payloadType": "str",
                                       "x": 230,
                                       "y": 260,
                                       "wires": [
                                           [
                                               "b1042862.fb3ba8"
                                           ]
                                       ]
                                   }
                                ]
                                

                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @mickym last edited by mickym

                                  Falls das true aus der Alexa Node zum rausfiltern noch wichtig ist, dann musst das halt noch zwischen die Alexa Node und der Change Node indem Du in den Programmplatz übersetzt das dazwischen machen.

                                  Aphofis 1 Reply Last reply Reply Quote 0
                                  • Aphofis
                                    Aphofis @mickym last edited by

                                    @mickym
                                    nicht zwingend notwendig.
                                    Da die Alexa steuerung ja auf 1 und 0 reagiert kann das true/false raus.
                                    war nur wichtig für normale Datenpunkte
                                    wo integriere ich denn die Steuerung vom Harmony und wo packe ich die Alexa steuerung hin???
                                    Was markiert ist.
                                    Unbenannt3.png

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @Aphofis last edited by

                                      @aphofis Das Links lässt Du so wie es ist. Die WDR Node entspricht dem orangen Kasten und hängst ihn an einen der Change NOdes um in die Programm Speicherplätze zum Übersetzen.

                                      Die Debug NOdes ersetzt Du durch Deine Phillips Tasten Nodes (iobroker out)

                                      screen.png

                                      Aphofis 1 Reply Last reply Reply Quote 0
                                      • Aphofis
                                        Aphofis @mickym last edited by

                                        @mickym
                                        Das mal ne schöne Beschreibung Vielen dank!!!
                                        Das teste ich gleich mal

                                        Aphofis 1 Reply Last reply Reply Quote 0
                                        • Aphofis
                                          Aphofis @Aphofis last edited by

                                          weißt du zufällig, ob es eine Alexa Node gibt wo man den Gerätetyp ändern kann da momentan alle Geräte aus iobroker als Lampe deklariert sind !?

                                          mickym 1 Reply Last reply Reply Quote 0
                                          • mickym
                                            mickym Most Active @Aphofis last edited by

                                            @aphofis Nein - da kenn ich mich nicht aus.

                                            @frankyboy73 ist da eher Spezialist - der war aber schon lange nicht mehr online. Hier mal ein Beitrag von ihm:
                                            https://forum.iobroker.net/topic/24069/temperaturen-über-node-red-und-alexa-abfragen/47?_=1629204642794

                                            Da erzählt er etwas von Routinen - dann kann man wohl statt schalte WDR ein -irgendwelche anderen Kommandos abgeben.

                                            Aber ich habe keine Alexa und kann Dir deshalb diesbezügl. nicht helfen.

                                            Aphofis 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            42
                                            1002
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo