NEWS
Node-Red Alexa oder Schaltung
-
Hi Leute,
ich habe da ein Problem.
Ich würde gerne mit Alexa ein Aktivierungswort nutzen um ein Gerät mit nur diesem einen Aktivierungswort ein oder aus zu schalten.
Ich habe nun schon alles versucht. Komme aber leider nihct auf eine funktionierende Lösung.
Wie kann man hier, etwas einbauen um aus der Schaltung eine oder Schaltung zu basteln damit Alexa egal welcher Zustand ist on oder off sendet bei dem Aktivierungswort.[ { "id": "5609ea91.1952dc", "type": "tab", "label": "Badezimmer", "disabled": false, "info": "" }, { "id": "5e33f0de.ee1bf", "type": "function", "z": "5609ea91.1952dc", "name": "true", "func": "msg.payload = true;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 430, "y": 200, "wires": [ [ "453be307.c0c724" ] ] }, { "id": "453be307.c0c724", "type": "ioBroker out", "z": "5609ea91.1952dc", "name": "bad_decke POWER", "topic": "sonoff.0.bad_decke.POWER", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 660, "y": 240, "wires": [] }, { "id": "75cf39a1.316768", "type": "function", "z": "5609ea91.1952dc", "name": "false", "func": "msg.payload = false;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 430, "y": 280, "wires": [ [ "453be307.c0c724" ] ] }, { "id": "b3041744.1aab08", "type": "switch", "z": "5609ea91.1952dc", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "on", "vt": "str" }, { "t": "eq", "v": "off", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 270, "y": 240, "wires": [ [ "5e33f0de.ee1bf" ], [ "75cf39a1.316768" ] ] }, { "id": "fcf7669.3d30098", "type": "alexa-local", "z": "5609ea91.1952dc", "devicename": "badezimmer", "inputtrigger": false, "x": 90, "y": 240, "wires": [ [ "b3041744.1aab08" ] ] } ]
Danke für jegliche Hilfe
@paul53 kennst du dich vielleicht mit node-red und so einer Schaltung aus !???