Skip to content

3. Make an API call using Amazon Alexa

Nikos Fotiou edited this page Mar 21, 2022 · 2 revisions

For this example we will use Amazon developer console.

Preparation

A sample Alexa skill is provided in the alexa-iot folder. Update lambda\lambda_function.py, line 50, with your IoT device URL. Compress the skill and upload it to you Amazon developer console.

Test the skill

Make sure that the tunnel you created previously is up, as well as that the provided server script is running. In Amazon developer console, select Code, then Deploy, then Test. In the Alexa simulator, say (or type):

open invoke

The skill will respond with Welcome, you can say execute hello, followed by a word.. Then say (or type):

execute hello admin
Clone this wiki locally