SlideShare a Scribd company logo
Amazon Alexa
Home Automation Skills
Presented by
Jeremy Proffitt
What are Home Automation Skills?
Unlike a custom skill, Home Automation Skills have a standard command structure
designed to operate items in the home like lights, power outlets, locks and
thermostats. Recently, Version 3 added multimedia controls, including channels,
volume, media and input controls.
Examples:
Alexa, Fireplace off.
Alexa, make living room blue.
Alexa, Lock front door.
Alexa, What is the temperature of my house?
What is required to build an Home Automation Skill?
● AWS Skill Linking to:
○ AWS Lambda written in Python, Node JS, C# or Java.
○ oAuth user access management supporting access tokens.
● Something to control “the something”.
● Cloud based transport layer to bridge the Lambda with the something.
Note: All communications to and from the Lambda function are in JSON.
Account Linking - oAuth Access Token
RequirementsIn order to identify which devices belong to you, Home Automation Skills require
you to link you Amazon Alexa account with your specific device cloud using oAuth
Access Tokens. This access token is then presented to the lambda when it is
called to uniquely identify the user’s devices.
You can build your own oAuth system, or use a freely available alternative like
“Login with Amazon.” For our example today, we will be using the oAuth built into
Particle.IO’s cloud.
Certification - The Who’s Complaining Now Dept.
1. The skill's [Privacy Policy and Terms of Use] page is not displayed when opened in the Alexa companion app on a mobile device. When these links are selected, the URL you’ve specified in the
developer portal must be displayed and cannot redirect to another site.
Please note that the privacy policy and the terms of use link provided by you on the skill detail page navigates to a GitHub profile. Please provide relevant privacy policy and the terms of use.
2. Your skill improperly uses Amazon brands or trademarks. For permitted uses of certain Amazon brands and trademarks in connection with the distribution of your skill through our Program,
please consult our Trademark Guidelines, found here:
Please update your Skill's Title to remove the improperly used Amazon brand or trademark and resubmit your Skill for reconsideration.
3. The description displayed in the skill’s detail card must contain accurate information so users are well informed on how to use the skill.
Please note that the skill description provided by you doesn't inform the user about the core functionality of the skill. It must tell user what the skill does and few example utterances for the user
to get started with the skill. Please provide proper skill description.
The Flow for Device Discovery
The User Invokes Discover Devices
through the Alexa App or by says,
“Alexa, Discover Devices”
Lambda is sent Discover Devices Request
which includes the access token
Lambda retrieves a list of physical devices
from the Particle.IO cloud
Lambda checks all physical devices for
home automation devices and capabilities
of those devices.
The Lambda returns the complete list of all
home automation devices and their
capabilities from all the physical devices.
This response is in JSON.
The Flow for Device Usage
“Alexa, Turn Fan On”
Amazon calls the Lambda with the
access token and unique home
automation device identifier
The Lambda calls the Particle.IO
Cloud and sending the command.
The Particle.IO Cloud, contacts the
physical device, sending it the
command and returning any
requested information.
The Lambda returns the
information to the Echo System.
The Particle.IO Cloud returns the
information to the Lambda.
The Echo either responds “OK” or
provides the requested information
like lock state or temperature.
The Downfall of a Lambda Based System
● You are locked into paying Amazon for every time a customer uses their
device, this means building in the application cost into the initial device price
or moving to a subscription based plan.
● Amazon charges by the 100ms for lambda usage, so the longer your code,
and the communication with your devices take, the more it will cost.
● Communication timeout with the world outside your Lambda need to be short
○ If the Lambda times out while doing a device discovery, no devices will be discovered.
○ If the Lambda times out while communicating with your device, the device may not get the
command, or the user may have a bad user experience of the device working but Alexa saying
it’s not.
Introduction to the Particle.IO Photon
Based on Cypress's WICED architecture, the Particle
Photon Series combines a powerful STM32 ARM Cortex
M3 microcontroller and a Cypress Wi-Fi chip. This keeps
the footprint small but the function broad. The Particle
has a brother too, the Cellular based Electron.
The Photon is paired to wifi using a very simple
smartphone application and has both a command line
control system and a very powerful web based
development and debugging platform. With Arduino
compatibility, most Arduino libraries can be used with the
Photon with little or no change.
The most powerful feature of the Particle.IO devices is it’s
powerful built in cloud system.
Particle.IO IDE
The online particle.io IDE allows for
both writing of the software and
programming of the device over the
internet.
Libraries can be published online which
allows for easy click and add
integration, manage multiple devices
and even group multiple devices into a
project for easy group control.
Debugging is easy with endpoint
interface control and publishing
functions allowing for powerful
integration with external endpoints.
Particle IO Photon Code Sample - Lights On / Off
From: https://github.com/JeremyProffitt/EchoPhotonBridge
#include <EchoPhotonBridge.h>
EchoPhotonBridge epb;
//function OnOff - this turns a device on or off
int functionOnOff(int device, bool onOff, String rawParameters)
{
digitalWrite(D7, (onOff) ? HIGH : LOW);
}
// REMINDER: Tell your echo, "Alexa, Discover Devices" after you program your photon so Amazon picks it up.
void setup()
{
pinMode(D7, OUTPUT);
epb.addEchoDeviceV2OnOff("Photon Light", &functionOnOff);
}
void loop()
{
}
What’s Next?
Hands On Demonstration
&
Questions

More Related Content

PDF
Real-World, Open Source, End-to-End JavaScript in IoT
PDF
Build advanced Voice Assistants and Chat Bots - Stève Sfartz - Codemotion Mil...
PDF
Ultimate Guide to 30+ API Documentation Solutions
PDF
Canopy SF Home Automation Meetup Slides 10/14/2014
PDF
apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...
PDF
INTERFACE, by apidays - C* made easy with Stargate APIs by Kirsten Hunter, D...
PDF
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...
PDF
apidays LIVE Paris 2021 - Getting started with Event-Driven APis by Hugo Guer...
Real-World, Open Source, End-to-End JavaScript in IoT
Build advanced Voice Assistants and Chat Bots - Stève Sfartz - Codemotion Mil...
Ultimate Guide to 30+ API Documentation Solutions
Canopy SF Home Automation Meetup Slides 10/14/2014
apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...
INTERFACE, by apidays - C* made easy with Stargate APIs by Kirsten Hunter, D...
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...
apidays LIVE Paris 2021 - Getting started with Event-Driven APis by Hugo Guer...

What's hot (20)

PPTX
API Description Languages: Which is the Right One for Me?
PDF
apidays LIVE London 2021 - Application to API Security, drivers to the Shift ...
PDF
The impact of IoT on APIs
PPTX
Mobile sdk best practices
PDF
APIdays Paris 2019 - Adopting Service Mesh by Marco Palladino , Kong
PDF
apidays LIVE Helsinki & North - Serverless Bots in a Blink by Rachel White, D...
PDF
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
PDF
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
PPTX
DreamFactory Essentials Webinar
PPTX
Reply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case Studies
PPT
ioBridge Web of Things Platform, Projects, and Products
PPTX
REST-Enabling Enterprise Data in the Mobile Era
PDF
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
PDF
PuppetConf 2017 | Adobe Advertising Cloud: A Lean Puppet Workflow to Support ...
PPTX
apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...
PDF
apidays LIVE Paris 2021 - Advanced Authentication patterns at the Edge by Den...
PDF
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
PPTX
Platform Security that will Last for Decades (Travis Spencer)
PPTX
Logic appsforbeginners
PPTX
apidays LIVE Jakarta - Building an Event-Driven Architecture by Harin Honesty...
API Description Languages: Which is the Right One for Me?
apidays LIVE London 2021 - Application to API Security, drivers to the Shift ...
The impact of IoT on APIs
Mobile sdk best practices
APIdays Paris 2019 - Adopting Service Mesh by Marco Palladino , Kong
apidays LIVE Helsinki & North - Serverless Bots in a Blink by Rachel White, D...
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
DreamFactory Essentials Webinar
Reply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case Studies
ioBridge Web of Things Platform, Projects, and Products
REST-Enabling Enterprise Data in the Mobile Era
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
PuppetConf 2017 | Adobe Advertising Cloud: A Lean Puppet Workflow to Support ...
apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...
apidays LIVE Paris 2021 - Advanced Authentication patterns at the Edge by Den...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
Platform Security that will Last for Decades (Travis Spencer)
Logic appsforbeginners
apidays LIVE Jakarta - Building an Event-Driven Architecture by Harin Honesty...
Ad

Similar to Amazon Alexa Home Automation Skills (18)

PDF
Building Smart Home skills for Alexa
PPTX
Amazon Alexa Development Overview
PDF
Building a chatbot – step by step
PDF
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
PPTX
aws-iot-button-slideshow
PDF
IRJET- Automation using Alexa and Raspberry Pi
PPTX
Voice control with Amazon Alexa(for pacemaker conf)
PPTX
Alexa Smart Home Skill
PPTX
Reply Webinar Online - Mastering AWS - IoT Foundations
PPTX
Amazon Web Services (AWS) that enables developers to build applications with ...
PPTX
Azure Internet of Things
PDF
AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"
PDF
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
PPTX
Jeremy Cowan's AWS user group presentation "AWS Greengrass & IoT demo"
PDF
McrUmbMeetup 22 May 14: Umbraco and Amazon
PPTX
Make your home smarter with Alexa
PPTX
Your Smart Scale Is Leaking More than Your Weight
PDF
서버리스 IoT 백엔드 개발 및 구현 사례 : 윤석찬 (AWS 테크에반젤리스트)
Building Smart Home skills for Alexa
Amazon Alexa Development Overview
Building a chatbot – step by step
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
aws-iot-button-slideshow
IRJET- Automation using Alexa and Raspberry Pi
Voice control with Amazon Alexa(for pacemaker conf)
Alexa Smart Home Skill
Reply Webinar Online - Mastering AWS - IoT Foundations
Amazon Web Services (AWS) that enables developers to build applications with ...
Azure Internet of Things
AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
Jeremy Cowan's AWS user group presentation "AWS Greengrass & IoT demo"
McrUmbMeetup 22 May 14: Umbraco and Amazon
Make your home smarter with Alexa
Your Smart Scale Is Leaking More than Your Weight
서버리스 IoT 백엔드 개발 및 구현 사례 : 윤석찬 (AWS 테크에반젤리스트)
Ad

More from All Things Open (20)

PDF
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
PPTX
Big Data on a Small Budget: Scalable Data Visualization for the Rest of Us - ...
PDF
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
PDF
Let's Create a GitHub Copilot Extension! - Nick Taylor, Pomerium
PDF
Leveraging Pre-Trained Transformer Models for Protein Function Prediction - T...
PDF
Gen AI: AI Agents - Making LLMs work together in an organized way - Brent Las...
PDF
You Don't Need an AI Strategy, But You Do Need to Be Strategic About AI - Jes...
PPTX
DON’T PANIC: AI IS COMING – The Hitchhiker’s Guide to AI - Mark Hinkle, Perip...
PDF
Fine-Tuning Large Language Models with Declarative ML Orchestration - Shivay ...
PDF
Leveraging Knowledge Graphs for RAG: A Smarter Approach to Contextual AI Appl...
PPTX
Artificial Intelligence Needs Community Intelligence - Sriram Raghavan, IBM R...
PDF
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
PPTX
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
PDF
The Death of the Browser - Rachel-Lee Nabors, AgentQL
PDF
Making Operating System updates fast, easy, and safe
PDF
Reshaping the landscape of belonging to transform community
PDF
The Unseen, Underappreciated Security Work Your Maintainers May (or may not) ...
PDF
Integrating Diversity, Equity, and Inclusion into Product Design
PDF
The Open Source Ecosystem for eBPF in Kubernetes
PDF
Open Source Privacy-Preserving Metrics - Sarah Gran & Brandon Pitman
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
Big Data on a Small Budget: Scalable Data Visualization for the Rest of Us - ...
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
Let's Create a GitHub Copilot Extension! - Nick Taylor, Pomerium
Leveraging Pre-Trained Transformer Models for Protein Function Prediction - T...
Gen AI: AI Agents - Making LLMs work together in an organized way - Brent Las...
You Don't Need an AI Strategy, But You Do Need to Be Strategic About AI - Jes...
DON’T PANIC: AI IS COMING – The Hitchhiker’s Guide to AI - Mark Hinkle, Perip...
Fine-Tuning Large Language Models with Declarative ML Orchestration - Shivay ...
Leveraging Knowledge Graphs for RAG: A Smarter Approach to Contextual AI Appl...
Artificial Intelligence Needs Community Intelligence - Sriram Raghavan, IBM R...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
The Death of the Browser - Rachel-Lee Nabors, AgentQL
Making Operating System updates fast, easy, and safe
Reshaping the landscape of belonging to transform community
The Unseen, Underappreciated Security Work Your Maintainers May (or may not) ...
Integrating Diversity, Equity, and Inclusion into Product Design
The Open Source Ecosystem for eBPF in Kubernetes
Open Source Privacy-Preserving Metrics - Sarah Gran & Brandon Pitman

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I

Amazon Alexa Home Automation Skills

  • 1. Amazon Alexa Home Automation Skills Presented by Jeremy Proffitt
  • 2. What are Home Automation Skills? Unlike a custom skill, Home Automation Skills have a standard command structure designed to operate items in the home like lights, power outlets, locks and thermostats. Recently, Version 3 added multimedia controls, including channels, volume, media and input controls. Examples: Alexa, Fireplace off. Alexa, make living room blue. Alexa, Lock front door. Alexa, What is the temperature of my house?
  • 3. What is required to build an Home Automation Skill? ● AWS Skill Linking to: ○ AWS Lambda written in Python, Node JS, C# or Java. ○ oAuth user access management supporting access tokens. ● Something to control “the something”. ● Cloud based transport layer to bridge the Lambda with the something. Note: All communications to and from the Lambda function are in JSON.
  • 4. Account Linking - oAuth Access Token RequirementsIn order to identify which devices belong to you, Home Automation Skills require you to link you Amazon Alexa account with your specific device cloud using oAuth Access Tokens. This access token is then presented to the lambda when it is called to uniquely identify the user’s devices. You can build your own oAuth system, or use a freely available alternative like “Login with Amazon.” For our example today, we will be using the oAuth built into Particle.IO’s cloud.
  • 5. Certification - The Who’s Complaining Now Dept. 1. The skill's [Privacy Policy and Terms of Use] page is not displayed when opened in the Alexa companion app on a mobile device. When these links are selected, the URL you’ve specified in the developer portal must be displayed and cannot redirect to another site. Please note that the privacy policy and the terms of use link provided by you on the skill detail page navigates to a GitHub profile. Please provide relevant privacy policy and the terms of use. 2. Your skill improperly uses Amazon brands or trademarks. For permitted uses of certain Amazon brands and trademarks in connection with the distribution of your skill through our Program, please consult our Trademark Guidelines, found here: Please update your Skill's Title to remove the improperly used Amazon brand or trademark and resubmit your Skill for reconsideration. 3. The description displayed in the skill’s detail card must contain accurate information so users are well informed on how to use the skill. Please note that the skill description provided by you doesn't inform the user about the core functionality of the skill. It must tell user what the skill does and few example utterances for the user to get started with the skill. Please provide proper skill description.
  • 6. The Flow for Device Discovery The User Invokes Discover Devices through the Alexa App or by says, “Alexa, Discover Devices” Lambda is sent Discover Devices Request which includes the access token Lambda retrieves a list of physical devices from the Particle.IO cloud Lambda checks all physical devices for home automation devices and capabilities of those devices. The Lambda returns the complete list of all home automation devices and their capabilities from all the physical devices. This response is in JSON.
  • 7. The Flow for Device Usage “Alexa, Turn Fan On” Amazon calls the Lambda with the access token and unique home automation device identifier The Lambda calls the Particle.IO Cloud and sending the command. The Particle.IO Cloud, contacts the physical device, sending it the command and returning any requested information. The Lambda returns the information to the Echo System. The Particle.IO Cloud returns the information to the Lambda. The Echo either responds “OK” or provides the requested information like lock state or temperature.
  • 8. The Downfall of a Lambda Based System ● You are locked into paying Amazon for every time a customer uses their device, this means building in the application cost into the initial device price or moving to a subscription based plan. ● Amazon charges by the 100ms for lambda usage, so the longer your code, and the communication with your devices take, the more it will cost. ● Communication timeout with the world outside your Lambda need to be short ○ If the Lambda times out while doing a device discovery, no devices will be discovered. ○ If the Lambda times out while communicating with your device, the device may not get the command, or the user may have a bad user experience of the device working but Alexa saying it’s not.
  • 9. Introduction to the Particle.IO Photon Based on Cypress's WICED architecture, the Particle Photon Series combines a powerful STM32 ARM Cortex M3 microcontroller and a Cypress Wi-Fi chip. This keeps the footprint small but the function broad. The Particle has a brother too, the Cellular based Electron. The Photon is paired to wifi using a very simple smartphone application and has both a command line control system and a very powerful web based development and debugging platform. With Arduino compatibility, most Arduino libraries can be used with the Photon with little or no change. The most powerful feature of the Particle.IO devices is it’s powerful built in cloud system.
  • 10. Particle.IO IDE The online particle.io IDE allows for both writing of the software and programming of the device over the internet. Libraries can be published online which allows for easy click and add integration, manage multiple devices and even group multiple devices into a project for easy group control. Debugging is easy with endpoint interface control and publishing functions allowing for powerful integration with external endpoints.
  • 11. Particle IO Photon Code Sample - Lights On / Off From: https://github.com/JeremyProffitt/EchoPhotonBridge #include <EchoPhotonBridge.h> EchoPhotonBridge epb; //function OnOff - this turns a device on or off int functionOnOff(int device, bool onOff, String rawParameters) { digitalWrite(D7, (onOff) ? HIGH : LOW); } // REMINDER: Tell your echo, "Alexa, Discover Devices" after you program your photon so Amazon picks it up. void setup() { pinMode(D7, OUTPUT); epb.addEchoDeviceV2OnOff("Photon Light", &functionOnOff); } void loop() { }
  • 12. What’s Next? Hands On Demonstration & Questions