Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexa APP does not recognize HUE device color #127

Open
BenjaminCz0101 opened this issue Jan 16, 2023 · 2 comments
Open

Alexa APP does not recognize HUE device color #127

BenjaminCz0101 opened this issue Jan 16, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BenjaminCz0101
Copy link

HELLO I have already created a flow everything works except that the device color is detected in the Alexa app. If I change the color in the Alexa app, the HUE lamp is changed, but the Alexa app jumps back to cold white. I've already tried everything.
What does it look like if I don't have any color lamps, how does it work then?

1

[ { "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": 580, "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": 520, "wires": [ [] ] }, { "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": "50af6cf63d8eec57", "type": "change", "z": "61522f48667a8697", "name": "Verschiebe val auf t", "rules": [ { "t": "move", "p": "payload.val", "pt": "msg", "to": "payload.xy", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 130, "y": 400, "wires": [ [ "36bedcfe21055e06", "64e0556cbe9d42f5" ] ] }, { "id": "64e0556cbe9d42f5", "type": "debug", "z": "61522f48667a8697", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 360, "y": 200, "wires": [] }, { "id": "76e2badd2323884c", "type": "ioBroker in", "z": "61522f48667a8697", "name": "Rückmeldung Geräte Farbe", "topic": "hue-extended.0.lights.004-buffet_schrank.action.xy", "payloadType": "object", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "outFormat": "MQTT", "x": 160, "y": 460, "wires": [ [ "50af6cf63d8eec57" ] ] } ]

  • Alexa Devices generation [ Echo Dot gen3 ]
  • node version [ 16.19.0 ]
  • npm version [ 8.19.3 ]
  • is docker used? [n]
@BenjaminCz0101 BenjaminCz0101 added the bug Something isn't working label Jan 16, 2023
@mabunixda
Copy link
Owner

Hi @BenjaminCz0101 , so the light i still in the correct color, but the visualisation is incorrect?
Can you trace down the output of the alexa node and output all data?

@BenjaminCz0101
Copy link
Author

BenjaminCz0101 commented Jan 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants