Aircoookie/Espalexa

Set the device temporarily to unavailable

atefthab opened this issue · 1 comments

Hello All,
I am working on a smart home project and I was testing the Espalexa lib.
It works fine so far.
I wanted to know if it is possible to temporarily set the device to unavailable and Alexa will tell that the device is busy or cannot be used.
The idea is when the device is in use for example by the socket client I don't want Alexa to take control and also not validate commands.

Thank you.

i'm not a developer of the library, but i think you could implement this via the arduino, not with the API

what you'd is implement an if statement in the function that's called by the api,
depdending on your condition (which you didn't post) you may have the board react or not, or even do something different.

as for the audio feedback from alexa ("device is not on" or "you can't do this right now") it might be a bit of a headache.