Book Image

Alexa Skills Projects

By : Madhur Bhargava
Book Image

Alexa Skills Projects

By: Madhur Bhargava

Overview of this book

Amazon Echo is a smart speaker developed by Amazon, which connects to Amazon’s Alexa Voice Service and is entirely controlled by voice commands. Amazon Echo is currently being used for a variety of purposes such as home automation, asking generic queries, and even ordering a cab or pizza. Alexa Skills Projects starts with a basic introduction to Amazon Alexa and Echo. You will then deep dive into Alexa Programming concepts such as Intents, Slots, Lambdas and maintaining your skill’s state using DynamoDB. You will get a clear understanding of how some of the most popular Alexa Skills work, and gain experience of working with real-world Amazon Echo applications. In the concluding chapters, you will explore the future of voice-enabled applications and their coverage with respect to the Internet of Things. By the end of the book, you will have learned to design Alexa Skills for specific purposes and interact with Amazon Echo to execute these skills.
Table of Contents (14 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Designing the Ambience Manager Skill


Our Ambience Manager Skill will have at least five moving parts, including a User that interacts with Amazon Echo, which in turns communicates with the AWS Lambda, which in turn fetches the temperature information from the Firebase cloud. The temperature information will be pushed to the Firebase cloud via the Mobile Device, which reads it from the Ambient Sensor. The flow of information is shown in the following diagram:

Figure 6.2: Data flow in Ambience Manager Skill

The ambient sensor will communicate the ambient parameters, that is, temperature and humidity, to a mobile app over BLE.

Note

To learn more about BLE, visit https://www.bluetooth.com/news/pressreleases/2009/12/17/sig-introduces-bluetooth-low-energy-wireless-technologythe-next-generation-of-bluetooth-wireless-technology.

This will eventually upload the ambient parameters to the Firebase backend.

Note

Firebase is a real-time database by Google. To learn more about Firebase, visit https://firebase...