NEWS
node-red-contrib-alexa-home Alexa Erk. HUE Gerätefarbe nicht
-
Hallo !
ich habe ein Flow Erstellt das Funktioniert soweit alles.
(Ein/Aus, Dimmen, Farbe Setzen)Ich bekomme auch dann in der Alexa App Folgende Rückmeldungen wenn z.b die Hue Lampe über die HUE app Ein/Aus oder Gedimmt wird folgende werte zurück:
-Lampe Ein/Aus
-Dimmung in %.Alles soweit gut. Jetzt kommt das Problem mit der Farbe. Setze ich in der Alexa App die Lampe auf Rot wird diese Rot (auch andere Farben gehen) nur bekomme ich leider keine Antwort zurück. D.h in der Alexa App Springt er automatisch zu Kaltweiß und es kommt die Meldung Server Reagiert nicht obwohl ja die Lampe reagiert. Ich habe schon Sämltiches Probiert aber kein deut weiter...
Nun meine Frage was genau mache ich Falsch im Rot Markierten bereich ? Ich habe leider auch keine Examples zum Node gefunden...
[ { "id": "61522f48667a8697", "type": "tab", "label": "Esszimmer", "disabled": false, "info": "", "env": [] }, { "id": "9c4e5dd8f2900dc2", "type": "ioBroker in", "z": "61522f48667a8697", "name": "Rückmeldung Lampe Ein/Aus ?", "topic": "hue-extended.0.lights.004-buffet_schrank.action.on", "payloadType": "object", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "outFormat": "MQTT", "x": 170, "y": 60, "wires": [ [ "d3cc00a2693c3970" ] ] }, { "id": "d3cc00a2693c3970", "type": "change", "z": "61522f48667a8697", "name": "Von true auf An, false auf Aus", "rules": [ { "t": "change", "p": "payload.val", "pt": "msg", "from": "true", "fromt": "bool", "to": "on", "tot": "str" }, { "t": "change", "p": "payload.val", "pt": "msg", "from": "false", "fromt": "bool", "to": "off", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 170, "y": 140, "wires": [ [ "f5c2786796b660cf" ] ] }, { "id": "f5c2786796b660cf", "type": "function", "z": "61522f48667a8697", "name": "Ein/Aus", "func": "return { payload: msg.payload.val };", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 100, "y": 200, "wires": [ [ "36bedcfe21055e06" ] ] }, { "id": "27a112fdaae2dbbd", "type": "ioBroker in", "z": "61522f48667a8697", "name": "Rückmeldung Helligkeitswert", "topic": "hue-extended.0.lights.004-buffet_schrank.action.brightness", "payloadType": "object", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "outFormat": "MQTT", "x": 160, "y": 620, "wires": [ [ "3a529edd9d59c0dd" ] ] }, { "id": "3a529edd9d59c0dd", "type": "change", "z": "61522f48667a8697", "name": "Verschiebe val auf bri", "rules": [ { "t": "move", "p": "payload.val", "pt": "msg", "to": "payload.bri", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 140, "y": 560, "wires": [ [ "36bedcfe21055e06" ] ] }, { "id": "cadd224561941827", "type": "ioBroker out", "z": "61522f48667a8697", "name": "Buffet Schrank - Switch light on / off", "topic": "hue-extended.0.lights.004-buffet_schrank.action.on", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1060, "y": 180, "wires": [] }, { "id": "d24d29d93cfdae4b", "type": "switch", "z": "61522f48667a8697", "name": "Ein/Aus", "property": "payload", "propertyType": "msg", "rules": [ { "t": "false" }, { "t": "true" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 760, "y": 180, "wires": [ [ "cadd224561941827" ], [ "cadd224561941827", "c11fa54d1015c66f" ] ] }, { "id": "e64adb1d7403b578", "type": "function", "z": "61522f48667a8697", "name": "Ein/Aus (on)", "func": "return { payload: msg.payload.on };\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 570, "y": 180, "wires": [ [ "d24d29d93cfdae4b" ] ] }, { "id": "013c8cecf628e66e", "type": "function", "z": "61522f48667a8697", "name": "Dimmen (bri)", "func": "return { payload: msg.payload.bri };", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 570, "y": 340, "wires": [ [ "c405dfa18808c3b7" ] ] }, { "id": "c405dfa18808c3b7", "type": "ioBroker out", "z": "61522f48667a8697", "name": "Buffet Schrank - Brightness of the light between 0 and 254", "topic": "hue-extended.0.lights.004-buffet_schrank.action.brightness", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1130, "y": 340, "wires": [] }, { "id": "36bedcfe21055e06", "type": "alexa-home", "z": "61522f48667a8697", "devicename": "Buffetschrank Neu", "devicetype": "Extended color light", "x": 150, "y": 260, "wires": [ [ "e1db29cfbe9ab05f" ] ] }, { "id": "e1db29cfbe9ab05f", "type": "switch", "z": "61522f48667a8697", "name": "Schalten oder Dimmen", "property": "payload.command", "propertyType": "msg", "rules": [ { "t": "eq", "v": "switch", "vt": "str" }, { "t": "eq", "v": "dim", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 380, "y": 260, "wires": [ [ "e64adb1d7403b578", "f785c286685d2ce2" ], [ "013c8cecf628e66e" ] ] }, { "id": "c11fa54d1015c66f", "type": "change", "z": "61522f48667a8697", "name": "Lampe Auf 100 %", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "254", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 790, "y": 280, "wires": [ [ "c405dfa18808c3b7" ] ] }, { "id": "c2128f8f5c6f72c7", "type": "function", "z": "61522f48667a8697", "name": "ct", "func": "return { payload: msg.payload.ct };", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 550, "y": 400, "wires": [ [ "5a333d7946f3d6c6" ] ] }, { "id": "2972444ea9acfc40", "type": "function", "z": "61522f48667a8697", "name": "hue", "func": "return { payload: msg.payload.hue };", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 550, "y": 480, "wires": [ [ "1ab8eb8a6025ab1f" ] ] }, { "id": "9d5a85955566dd3f", "type": "function", "z": "61522f48667a8697", "name": "sat", "func": "return { payload: msg.payload.sat };", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 550, "y": 560, "wires": [ [ "a468b8c564ca70c6" ] ] }, { "id": "0d959ee6392fd6a4", "type": "ioBroker out", "z": "61522f48667a8697", "name": "Buffet Schrank - The temperature of the light between 2000°K and 6500°K", "topic": "hue-extended.0.lights.004-buffet_schrank.action.colorTemperature", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1180, "y": 400, "wires": [] }, { "id": "608c5b635e9178de", "type": "ioBroker out", "z": "61522f48667a8697", "name": "Buffet Schrank - Hue of the light between 0° and 360°", "topic": "hue-extended.0.lights.004-buffet_schrank.action.hue", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1120, "y": 480, "wires": [] }, { "id": "b4f7b8b41a0b3542", "type": "ioBroker out", "z": "61522f48667a8697", "name": "Buffet Schrank - Saturation of the light between 0 and 254", "topic": "hue-extended.0.lights.004-buffet_schrank.action.saturation", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1130, "y": 560, "wires": [] }, { "id": "8ea1ecb4efa35773", "type": "range", "z": "61522f48667a8697", "minin": "350", "maxin": "199", "minout": "2000", "maxout": "6500", "action": "scale", "round": false, "property": "payload", "name": "", "x": 810, "y": 400, "wires": [ [ "0d959ee6392fd6a4" ] ] }, { "id": "76a2e0b0721457f5", "type": "range", "z": "61522f48667a8697", "minin": "0", "maxin": "63351", "minout": "0", "maxout": "360", "action": "clamp", "round": true, "property": "payload", "name": "", "x": 800, "y": 480, "wires": [ [ "608c5b635e9178de" ] ] }, { "id": "84da70d89c93ac0f", "type": "comment", "z": "61522f48667a8697", "name": "Erstes Einschalten", "info": "Beim Ersten mal Einschalten Lampe auf 100 Prozent", "x": 790, "y": 240, "wires": [] }, { "id": "f785c286685d2ce2", "type": "switch", "z": "61522f48667a8697", "name": "Only if True", "property": "payload.on", "propertyType": "msg", "rules": [ { "t": "true" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 350, "y": 340, "wires": [ [ "c2128f8f5c6f72c7", "2972444ea9acfc40", "9d5a85955566dd3f" ] ] }, { "id": "1ab8eb8a6025ab1f", "type": "switch", "z": "61522f48667a8697", "name": ">=0", "property": "payload", "propertyType": "msg", "rules": [ { "t": "gte", "v": "0", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 670, "y": 480, "wires": [ [ "76a2e0b0721457f5" ] ] }, { "id": "a468b8c564ca70c6", "type": "switch", "z": "61522f48667a8697", "name": ">=0", "property": "payload", "propertyType": "msg", "rules": [ { "t": "gte", "v": "0", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 670, "y": 560, "wires": [ [ "b4f7b8b41a0b3542" ] ] }, { "id": "5a333d7946f3d6c6", "type": "switch", "z": "61522f48667a8697", "name": ">=0", "property": "payload", "propertyType": "msg", "rules": [ { "t": "gte", "v": "0", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 670, "y": 400, "wires": [ [ "8ea1ecb4efa35773" ] ] }, { "id": "76e2badd2323884c", "type": "ioBroker in", "z": "61522f48667a8697", "name": "Rückmeldung Geräte Farbe", "topic": "hue-extended.0.lights.004-buffet_schrank.action.hex", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "outFormat": "MQTT", "x": 160, "y": 500, "wires": [ [ "970425f75717a4f4" ] ] }, { "id": "970425f75717a4f4", "type": "color-convert", "z": "61522f48667a8697", "input": "hex", "output": "rgb", "outputType": "string", "scaleInput": false, "x": 110, "y": 420, "wires": [ [ "36bedcfe21055e06", "15c4ae36f64579c1" ] ] }, { "id": "15c4ae36f64579c1", "type": "debug", "z": "61522f48667a8697", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 340, "y": 440, "wires": [] } ]
-
@benjamincz
Guten Abend, ich versuche schon seit Tagen die Alexa home Node zum Laufen zu bringen.
Muss ich die Node Alexa home controller irgend wie anmelden?
Alexa kann kein neues Gerät finden.
Habe Iobroker im Docker auf einem Synology NAS laufen.
gibt es irgenwo eine Anleitung?
Grüße Heiko