NEWS
Bekomme Alexa-Befehl für Hue-Steuerung nicht hin
-
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:
Kann mir jemand helfen?
Danke und VG
-
Heyho,
so muss das aussehen:
[ { "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" ] ] } ]
-
@Hc-Yami
wenn man es umständlich haben möchte geht das auch.
Für banales an/aus ist das völlig ausreichend:
-
@Jan1 Hi, vielen Dank! Damit klappt "an" schonmal. Ich bekomme die Lampe nur nicht aus. So habe ich das adaptiert:
Wo könnte hier noch der Wurm sein?
-
@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 -
@chrbo80 ich habe mich jetzt auf das "Hue-Steuerung" bezogen.