coldfire84 / node-red-alexa-home-skill-v3-web

Web Service/ API for Alexa and Google Home Node-RED Smart Home Control
https://red.cb-net.co.uk/
Apache License 2.0
51 stars 7 forks source link

New feature: Getting information which Alexa is getting the command #176

Open marc965 opened 7 months ago

marc965 commented 7 months ago

Describe the bug There is no bug: only questing or feature request

To Reproduce I want to trigger a answer (spoken sentence) from alexa (there are three echos in our home) i spoke too. For Example i have a "alexa-smart-home-node" named "weather". When i question "weather" to echo number two i want the response from echo number two but not number one.

Expected behavior Is there a possibility to add a new field in default node outputs like: echoname or something else like a unique number for identification porpose?

msg : { topic: "" name: "weather" deviceid: "echo_1" _messageId: "3b6f7aa1-38c3-45a4-a94d-96e488c6d5ad" _endpointId: "7" _confId: "bfd0fcf4.bc90e" command: "Activate" extraInfo: object payload: "ON" acknowledge: true _msgid: "c3f50a98.9e0b08" }

WillMunns commented 6 months ago

This functionality (room aware routines) is more normally thought of as

Alexa Open the blinds -> triggers routine that works out which blinds to open based on room, based on the listening alexa.

Alexa already supports this functionality directly for lights which are the most common usecase.

It used to be possible to do something like this with node-red-contrib-alexa-remote2, but Amazon keep breaking it and even the node-red-contrib-alexa-remote2-applestrudel fork is sluggish and spotty.

WillMunns commented 6 months ago

Unless things have changed recently, the answer to your question is here:

https://github.com/coldfire84/node-red-alexa-home-skill-v3-web/issues/122

I.E. Not possible