Integrating with Amazon Alexa
As we have discussed, AVS allows us to add voice features to our connected devices. When we integrate with AVS, ESP32 can report to voice commands and take action if it is commanded to do so. In this section, we will see how to develop an Alexa-enabled temperature sensor by using ESP32. Although developing the sensor firmware is a relatively easy task, creating an Alexa skill requires attention. The following is what we need to do:
- Create a smart home skill in the Alexa development environment.
- Create a Lambda function as the backend service of the smart home skill.
- Link the Amazon account to the skill.
- Enable the skill.
- Create a thing in AWS IoT Core.
- Develop the Lambda function.
- Test the skill.
- Develop the sensor firmware.
- Test the project with voice commands.
There are many concepts to learn regarding Alexa development, which we are going to cover while we do all these steps one by one. Let's start...