publish to alexa event from lambda or iot hub? /

Published at 2018-10-12 15:33:11

Home / Categories / Alexa / publish to alexa event from lambda or iot hub?
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.
B
ut 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 you
r help!

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0