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. Bekomme Alexa-Befehl für Hue-Steuerung nicht hin

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bekomme Alexa-Befehl für Hue-Steuerung nicht hin

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

      Hallo, ich hoffe, ein Profi kann mir helfen.

      Ich versuche anhand dieses Flows hier auf das Befehl "Rollo" (nur ein Beispiel-Befehl, der hier nicht so viel Sinn ergibt) meine Schlafzimmer-Lampe zu schalten. By the way: Das Gerät wird in der Alexa-App erkannt und wenn ich sage "Alexa, schalte Rolle an" zeigt die App eine eingeschaltete Lampe, wenn ich sage "Alexa, schalte Rollo aus", zeigt die App eine ausgeschaltete Lampe.

      Hier der Flow und der debug text:

      Bildschirmfoto 2019-12-23 um 13.46.09.png

      Kann mir jemand helfen?

      Danke und VG

      1 Reply Last reply Reply Quote 0
      • H
        Hc-Yami last edited by

        Heyho,
        so muss das aussehen:
        Unbenannt.png

        [
            {
                "id": "528f421c.04bb9c",
                "type": "tab",
                "label": "Flow 1",
                "disabled": false,
                "info": ""
            },
            {
                "id": "c9cfa1b1.1fa178",
                "type": "amazon-echo-device",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe",
                "topic": "",
                "x": 450,
                "y": 340,
                "wires": [
                    [
                        "846b587d.c99ab",
                        "8b4eeece.c1a9a",
                        "8880d456.30f7b"
                    ]
                ]
            },
            {
                "id": "846b587d.c99ab",
                "type": "switch",
                "z": "528f421c.04bb9c",
                "name": "switch on/off",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "on",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "off",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 2,
                "x": 710,
                "y": 340,
                "wires": [
                    [
                        "e1b3a835.1a94d8"
                    ],
                    [
                        "1a49e0ee.07d27f"
                    ]
                ]
            },
            {
                "id": "e1b3a835.1a94d8",
                "type": "change",
                "z": "528f421c.04bb9c",
                "name": "true",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "true",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 890,
                "y": 300,
                "wires": [
                    [
                        "660c809a.ef058",
                        "c28df709.7fad8"
                    ]
                ]
            },
            {
                "id": "1a49e0ee.07d27f",
                "type": "change",
                "z": "528f421c.04bb9c",
                "name": "false",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "false",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 890,
                "y": 380,
                "wires": [
                    [
                        "660c809a.ef058",
                        "c28df709.7fad8"
                    ]
                ]
            },
            {
                "id": "660c809a.ef058",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Kugel",
                "topic": "yeelight-2.0.Rene-Yeelight-Kugel.control.power",
                "ack": "false",
                "autoCreate": "false",
                "x": 1410,
                "y": 300,
                "wires": []
            },
            {
                "id": "c28df709.7fad8",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Wand",
                "topic": "yeelight-2.0.Rene-Yeelight-Wand.control.power",
                "ack": "false",
                "autoCreate": "false",
                "x": 1410,
                "y": 380,
                "wires": []
            },
            {
                "id": "8b4eeece.c1a9a",
                "type": "change",
                "z": "528f421c.04bb9c",
                "name": "msg.rgb",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "rgb",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 700,
                "y": 480,
                "wires": [
                    [
                        "20b895be.8b7cd2"
                    ]
                ]
            },
            {
                "id": "4ae290ac.aaf818",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Kugel_rgb",
                "topic": "yeelight-2.0.Rene-Yeelight-Kugel.control.rgb",
                "ack": "false",
                "autoCreate": "false",
                "x": 1430,
                "y": 460,
                "wires": []
            },
            {
                "id": "20b895be.8b7cd2",
                "type": "color-convert",
                "z": "528f421c.04bb9c",
                "input": "rgb",
                "output": "hex",
                "outputType": "string",
                "scaleInput": false,
                "x": 850,
                "y": 480,
                "wires": [
                    [
                        "12d2e955.60be8f"
                    ]
                ]
            },
            {
                "id": "89046c94.b40958",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Wand_rgb",
                "topic": "yeelight-2.0.Rene-Yeelight-Wand.control.rgb",
                "ack": "false",
                "autoCreate": "false",
                "x": 1430,
                "y": 520,
                "wires": []
            },
            {
                "id": "8880d456.30f7b",
                "type": "change",
                "z": "528f421c.04bb9c",
                "name": "msg.percentage",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "percentage",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 720,
                "y": 640,
                "wires": [
                    [
                        "b1d8ffcd.2be0d",
                        "dcb53be0.b522a8"
                    ]
                ]
            },
            {
                "id": "b1d8ffcd.2be0d",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Kugel_bri",
                "topic": "yeelight-2.0.Rene-Yeelight-Kugel.control.active_bright",
                "ack": "false",
                "autoCreate": "false",
                "x": 1420,
                "y": 600,
                "wires": []
            },
            {
                "id": "dcb53be0.b522a8",
                "type": "ioBroker out",
                "z": "528f421c.04bb9c",
                "name": "Wandlampe_Wand_bri",
                "topic": "yeelight-2.0.Rene-Yeelight-Wand.control.active_bright",
                "ack": "false",
                "autoCreate": "false",
                "x": 1420,
                "y": 680,
                "wires": []
            },
            {
                "id": "12d2e955.60be8f",
                "type": "switch",
                "z": "528f421c.04bb9c",
                "name": "#FFA600",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "neq",
                        "v": "#FFA600",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "#FFA600",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 2,
                "x": 1000,
                "y": 460,
                "wires": [
                    [
                        "4ae290ac.aaf818",
                        "89046c94.b40958"
                    ],
                    [
                        "a8237090.df24c8"
                    ]
                ]
            },
            {
                "id": "a8237090.df24c8",
                "type": "change",
                "z": "528f421c.04bb9c",
                "name": "#FF6500",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "#FF6500",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1000,
                "y": 520,
                "wires": [
                    [
                        "89046c94.b40958",
                        "4ae290ac.aaf818"
                    ]
                ]
            }
        ]
        
        J 1 Reply Last reply Reply Quote 0
        • J
          Jan1 @Hc-Yami last edited by

          @Hc-Yami
          wenn man es umständlich haben möchte geht das auch.
          Für banales an/aus ist das völlig ausreichend:
          b0094331-6039-4114-b343-fb415c562001-grafik.png
          309ddfa2-cd40-4ecb-ab38-e1d8eedb8d02-grafik.png

          C 1 Reply Last reply Reply Quote 0
          • C
            chrbo80 @Jan1 last edited by

            @Jan1 Hi, vielen Dank! Damit klappt "an" schonmal. Ich bekomme die Lampe nur nicht aus. So habe ich das adaptiert:

            Bildschirmfoto 2019-12-24 um 10.05.32.png

            Bildschirmfoto 2019-12-24 um 10.06.06.png

            Wo könnte hier noch der Wurm sein?

            C 1 Reply Last reply Reply Quote 0
            • C
              chrbo80 @chrbo80 last edited by

              @chrbo80 ok - habs. habe einfach die boolean-funktion gewählt, sodass ich true und false nicht schreiben sondern auswählen kann. Damit klappt beides!

              Danke und ein schönes und frohes Fest!

              VG
              chrbo

              1 Reply Last reply Reply Quote 0
              • H
                Hc-Yami last edited by

                @chrbo80 ich habe mich jetzt auf das "Hue-Steuerung" bezogen.

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

                Support us

                ioBroker
                Community Adapters
                Donate

                975
                Online

                31.7k
                Users

                79.7k
                Topics

                1.3m
                Posts

                node-red
                3
                6
                311
                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