Oreilly - Building Alexa Skills for Home Automation with Raspberry Pi
by Lee Assam | Publisher: Packt Publishing | Release Date: January 2019 | ISBN: 9781838552701
Learn to build Alexa Skills from scratch to control devices in your home with any Amazon Echo device and a Raspberry Pi!About This VideoLearn how to build custom Alexa skillsLearn how to use Alexa to control anything in your homeUse the Raspberry Pi and Alexa to voice-control anything in your homeIn DetailThis course will teach you how to build Alexa skills that will run on any Amazon Echo device to voice-control anything in your home.In this course, you will learn:What Alexa is and the underlying Alexa ecosystem that uses the Alexa Voice ServiceWe discuss Custom Alexa Skills and you will learn the components that make up a custom Alexa skillWe then prepare your Raspberry Pi for the projects we will buildWe describe the flask-ask Python library, which we will be using to build custom Alexa skillsYou will learn how to use the Amazon Developer Portal to configure and create your custom Alexa skillsWe will build a skill to control an LED connected to the Raspberry Pi with AlexaWe then use relays to safely connect to our Raspberry Pi via AC mains powerWe create a skill that allows you to control any device in your home to turn it on or off using AlexaWe create an awesome project that will enable you to voice-control any TV in your houseThe skills that you'll create in this course can be run on any Amazon Echo device in your home. You will learn how to test the custom skills that you will build on an Amazon Echo or any Alexa-enabled device.All the code files are placed at https://github.com/PacktPublishing/Building-Alexa-Skills-for-Home-Automation-with-Raspberry-PiDownloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
- Chapter 1 : Introduction
- What is Alexa? 00:02:30
- Why is this important? 00:02:25
- Chapter 2 : Taking a Deeper Dive into Custom Alexa Skills
- What are Custom Alexa Skills? 00:01:26
- Understanding the components that make up Custom Alexa Skills 00:04:09
- Chapter 3 : Preparing the hardware and software
- Setting up your Raspberry Pi 00:01:25
- Updating the software that you will need 00:04:19
- Downloading all the code and resources for the course 00:04:41
- Creating your Amazon Developer Account 00:01:07
- Setup and register your Alexa Device 00:01:49
- Chapter 4 : Understanding flask-ask
- Overview of flask-ask 00:04:48
- Chapter 5 : Building a Hello World Alexa Skill with flask-ask
- Overview of the Hello World Skill 00:04:23
- Creating the Skill Interaction Model 00:12:48
- Creating the flask-ask Skill Handler Python Program 00:13:47
- Exposing and configuring a URL for the Skill Endpoint 00:03:46
- Testing our Skill 00:10:16
- Chapter 6 : Building a Custom Alexa Skill to control an LED
- Overview of the Project 00:02:45
- Setting up the Circuit 00:03:17
- Creating the Skill Interaction Model 00:05:59
- Creating the flask-ask Skill Handler Python Program 00:09:43
- Exposing and configuring a URL for the Skill Endpoint 00:03:25
- Testing our Skill 00:04:36
- Test from an Alexa-enabled Device 00:03:27
- Chapter 7 : Build a Custom Skill to control any device using a relay
- Overview of the Project 00:03:13
- Overview of how relays work 00:08:14
- Overview of the Circuit 00:06:40
- Wiring the Circuit 00:11:24
- Creating the Skill Interaction Model 00:06:44
- Testing our Relay 00:04:00
- Exposing and configuring a URL for the Skill Endpoint 00:02:38
- Testing our Skill from the Alexa Console 00:02:21
- Enable Skill on the Alexa App 00:01:28
- Testing our Skill on an actual Alexa Device 00:01:47
- Code Review of the MyDevice Skill Handler Python program 00:08:16
- Chapter 8 : Build a Custom Skill to Control any TV using an Alexa-enabled device
- Introduction to the Project 00:01:32
- Technical Overview of the Project 00:02:04
- Chapter 9 : Setting up the circuit
- Review of the Circuit Diagram 00:01:54
- Wiring the Circuit 00:08:27
- Chapter 10 : Configuring LIRC (Linux Infrared Remote Control)
- Installing the LIRC (Linux Infrared Remote Control) Library 00:01:00
- LIRC Setup 00:05:10
- Testing LIRC with our Circuit 00:01:39
- Programming our IR remote 00:07:55
- Chapter 11 : Testing the LIRC setup
- Change your device name 00:02:06
- Testing our Circuit 00:05:19
- Review of the Test Code 00:12:10
- Chapter 12 : Alexa Skill Setup
- Creating the Skill Interaction Model 00:04:02
- Starting the flask-ask Skill Handler Python Program & setting the Skill Endpoint 00:02:37
- Code Review for the Skill 00:09:50
- Chapter 13 : Final Test
- Change your device name 00:01:37
- Let's control our TV! 00:04:02
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.