I was running this contribution for quite some time. About 2 years.
Always worked great. I ask Alexa to turn on any light and Alexa sends the message to turn on light XXX. Now the message from Alexa only contains the "on" part without the specification of the light. The setup didn´t change at all.
Did anyone experiance this behavior?
SUMMARY
Alexa Message only states "on".
ECHO DEVICES
Echo Dot 2nd generation
MODULE VERSION
0.1.10
Alexa: 7685028996
CONFIGURATION
[{"id":"dbd49e88.7f755","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"47600901.86eb08","type":"api-call-service","z":"dbd49e88.7f755","name":"Light ON","server":"4f41207c.694cc","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.bett_licht"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1560,"y":220,"wires":[[]]},{"id":"8b0e9ba1.efcf38","type":"api-call-service","z":"dbd49e88.7f755","name":"Light OFF","server":"4f41207c.694cc","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.bett_licht"],"data":"{}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1560,"y":280,"wires":[[]]},{"id":"1f0241a7.ba67de","type":"switch","z":"dbd49e88.7f755","name":"On or Off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":true,"outputs":2,"x":1120,"y":240,"wires":[["b4fe0242.30268"],["710bce82.04901"]]},{"id":"b4fe0242.30268","type":"function","z":"dbd49e88.7f755","name":"Payload = Entity_ID, Bri, RGB","func":"msg.payload = {\n \"data\":\n {\n \"entity_id\":msg.friendly_name,\n \"brightness_pct\":msg.percentage,\n \"rgb_color\":msg.rgb\n}\n};\nreturn msg;\n","outputs":1,"noerr":0,"x":1330,"y":220,"wires":[["47600901.86eb08"]]},{"id":"a54e0736.e94d58","type":"range","z":"dbd49e88.7f755","minin":"0","maxin":"255","minout":"1","maxout":"254","action":"scale","round":true,"property":"data.attributes.brightness","name":"Range Bri","x":300,"y":240,"wires":[["b79c5f15.170e"]]},{"id":"b79c5f15.170e","type":"function","z":"dbd49e88.7f755","name":"Build new Payload","func":"{\nvar bri =msg.data.attributes.brightness;\nvar name =msg.data.attributes.friendly_name;\nvar rgb =msg.data.attributes.rgb_color;\nvar state = msg.data.state;\nvar onstate;\n\nif (state == \"on\") {\n onstate= true;\n} else {\n onstate= false;\n}\nvar Msg = {\n \"nodename\": name,\n \"bri\" : bri,\n \"on\" : onstate,\n \"rgb\" : rgb\n}\nvar newMsg = { payload: Msg };\nreturn newMsg;\n}\n\n//uncomment everything rgb related as soon as rgb input is available","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":470,"y":240,"wires":[["226be9fd.62fea6","9ecea964bbbb8647"]]},{"id":"a9d91286.485c","type":"change","z":"dbd49e88.7f755","name":"Add Name","rules":[{"t":"set","p":"friendly_name","pt":"msg","to":"light.bett_licht","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":240,"wires":[["1f0241a7.ba67de"]]},{"id":"9868090c.c22f18","type":"comment","z":"dbd49e88.7f755","name":"","info":"Entity_ID aus Home Assistant an die Msg anhängen\num diese in den Funktionen vor \"Licht an\" und \"Licht aus\" anzuhängen.","x":970,"y":200,"wires":[]},{"id":"710bce82.04901","type":"function","z":"dbd49e88.7f755","name":"Payload= Entity_ID","func":"msg.payload = {\n \"data\":\n {\n \"entity_id\":msg.friendly_name,\n}\n};\nreturn msg;\n","outputs":1,"noerr":0,"x":1290,"y":260,"wires":[["8b0e9ba1.efcf38"]]},{"id":"8b99b94b.a73398","type":"change","z":"dbd49e88.7f755","name":"Add Name","rules":[{"t":"set","p":"friendly_name","pt":"msg","to":"light.nachtlicht","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":300,"wires":[["1f0241a7.ba67de"]]},{"id":"cc86b711.464ad8","type":"change","z":"dbd49e88.7f755","name":"Add Name","rules":[{"t":"set","p":"friendly_name","pt":"msg","to":"light.nachtlicht_links","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1010,"y":360,"wires":[["1f0241a7.ba67de"]]},{"id":"b87b5dd.2395ca","type":"change","z":"dbd49e88.7f755","name":"Add Name","rules":[{"t":"set","p":"friendly_name","pt":"msg","to":"light.nachtlicht_rechts","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1010,"y":420,"wires":[["1f0241a7.ba67de"]]},{"id":"226be9fd.62fea6","type":"debug","z":"dbd49e88.7f755","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":620,"y":360,"wires":[]},{"id":"6a8a30c6.da906","type":"api-current-state","z":"dbd49e88.7f755","name":"get state bett_licht","server":"4f41207c.694cc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.bett_licht","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":330,"y":400,"wires":[["a54e0736.e94d58"]]},{"id":"685dce17.44d5a","type":"trigger-state","z":"dbd49e88.7f755","name":"Trigger bett_led","server":"4f41207c.694cc","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"light.bett_licht","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"habool","enableInput":true,"x":140,"y":400,"wires":[["6a8a30c6.da906"],[]]},{"id":"69c5bad6.bac524","type":"api-current-state","z":"dbd49e88.7f755","name":"get state bett_licht","server":"4f41207c.694cc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.nachtlicht_links","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":330,"y":440,"wires":[["a54e0736.e94d58"]]},{"id":"19981a30.e74426","type":"trigger-state","z":"dbd49e88.7f755","name":"Trigger nachtlicht_links","server":"4f41207c.694cc","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"light.nachtlicht_links","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"habool","enableInput":true,"x":120,"y":440,"wires":[["69c5bad6.bac524"],[]]},{"id":"cd2f437b.18882","type":"api-current-state","z":"dbd49e88.7f755","name":"get state bett_licht","server":"4f41207c.694cc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.nachtlicht_rechts","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":330,"y":480,"wires":[["a54e0736.e94d58"]]},{"id":"fdb36652.0af778","type":"trigger-state","z":"dbd49e88.7f755","name":"Trigger nachtlicht_rechts","server":"4f41207c.694cc","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"light.nachtlicht_rechts","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"habool","enableInput":true,"x":110,"y":480,"wires":[["cd2f437b.18882"],[]]},{"id":"866f32e1.6a1ca","type":"api-current-state","z":"dbd49e88.7f755","name":"get state bett_licht","server":"4f41207c.694cc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.nachtlicht","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","x":330,"y":520,"wires":[["a54e0736.e94d58"]]},{"id":"d81be55d.ae57d8","type":"trigger-state","z":"dbd49e88.7f755","name":"Trigger nachtlicht","server":"4f41207c.694cc","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"light.nachtlicht","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"habool","enableInput":true,"x":130,"y":520,"wires":[["866f32e1.6a1ca"],[]]},{"id":"726192e2daad965e","type":"debug","z":"dbd49e88.7f755","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":900,"y":100,"wires":[]},{"id":"9ecea964bbbb8647","type":"amazon-echo-hub","z":"dbd49e88.7f755","port":"80","processinput":0,"discovery":true,"x":670,"y":240,"wires":[["478a2b7d4ef5aa20","ae27bbe5ee8a1b13","a35b97f1c9d59795","b896a09172f665ef","726192e2daad965e"]]},{"id":"b896a09172f665ef","type":"amazon-echo-device","z":"dbd49e88.7f755","name":"Nachtlicht rechts","topic":"","x":860,"y":420,"wires":[["b87b5dd.2395ca"]]},{"id":"a35b97f1c9d59795","type":"amazon-echo-device","z":"dbd49e88.7f755","name":"Nachtlicht links","topic":"","x":860,"y":360,"wires":[["cc86b711.464ad8"]]},{"id":"ae27bbe5ee8a1b13","type":"amazon-echo-device","z":"dbd49e88.7f755","name":"Nachtlicht","topic":"","x":840,"y":300,"wires":[["8b99b94b.a73398"]]},{"id":"478a2b7d4ef5aa20","type":"amazon-echo-device","z":"dbd49e88.7f755","name":"Bett Licht","topic":"","x":840,"y":240,"wires":[["a9d91286.485c"]]},{"id":"4f41207c.694cc","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]
CONSOLE OUTPUT
"Alexa turn on light XXX" Msg from Alexa: on
"Alexa turn off light XXX" Msg from Alexa: off
Its missing the name of the light.
Hello everyone,
I was running this contribution for quite some time. About 2 years. Always worked great. I ask Alexa to turn on any light and Alexa sends the message to turn on light XXX. Now the message from Alexa only contains the "on" part without the specification of the light. The setup didn´t change at all. Did anyone experiance this behavior?
SUMMARY
Alexa Message only states "on".
ECHO DEVICES
Echo Dot 2nd generation
MODULE VERSION
CONFIGURATION
CONSOLE OUTPUT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS