Yes, you can turn your Wemo switches on and off, but isn’t that getting kinda boring at this point? There’s nothing smart about a smart house assistant that can only hit the electricity switch. Luckily though thanks to Amazon Devoloper interface you can create your own Alexa skills, and integrate them with a microcontroller like Raspberry Pi to unlock countless possibilities.
In the video on the right I’m asking Alexa to push a platform up, and it does it without a problem (well, except for one problem which I’ll mention in the end)
First of all you can definitely use AWS Lambda to deploy your Alexa skill logic on the cloud. Alexa talks to whatever endpoint in JSON interchange format, as long as you generate the JSON Alexa will be able to parse, where you deploy your code shouldn’t matter. In my use case I chose to deploy locally to a Raspberry Pi specifically because it would lower latency, rather than hawing the Lambda function in turn to talk to Raspberry Pi to get some script to start I simply used Flask-ask microframework and I was able to directly import this logic into the rest of my Python code.
Here’s how it looks like: