I was excited to hear approximately the new Alexa Doorbell event source API and wanted to implement this in my smarthome skill. [br]
My smarthome skill is a "private" skill,for just one user (me!).
I have account linking incl. LWA configured in the smarthome skill to get the bearer token etc.
But for me in a single user environment, the handshake procedure for the doorbell to get access to the event gateway each time a visitor rings the bell, and seems to be a slight "over-engineered".[br]It has to get a token first,and since the token expires rather quick, employ the refresh token to get a new one, or just to deliver a message to the event gateway. This also adds a delay instead of directly delivering the event.
So my question,is there a way to send an event (e.g. doorbell interaction) directly from within an AWS service, maybe from a lambda function or triggered by a message in the IoT Hub? Instead of using the event gateway POST API with that oauth/bearer/token handshake that has to be renewed frequently? Because my existing doorbell already announces visitors by MQTT to the IoT Hub. Would be worthy whether an MQTT message could trigger an event for alexa.
thanks for your help!
Source: amazon.com