Build

Building Voice-Controlled Home Automation with Amazon Alexa

1 min read Joe Hanson on Apr 26, 2017
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

How to build a voice-controlled home automation app using PubNub and Amazon Alexa for natural language processing device control.

Voice-control, powered by natural language processing (NLP), plays a major role in home automation solutions. Allowing users to use natural voice rather than a keyboard or mobile app for triggering device action and monitoring state is intuitive and accessible. And with now cloud-based technologies, it’s not so hard to build anymore.

In this post, we want to introduce an awesome new tutorial on voice-controlled home automation using Amazon Alexa from Gopal Amlekar on Hackster.io. The application takes voice commands, sends them in real time via PubNub, to control connected devices.

To see it in-action, check out the quick demo below:

Tutorial Overview: Voice-Controlled Home Automation

The tutorial covers:

  • Setting up PubNub for real-time messaging
  • Getting Alexa voice service running on Raspberry Pi
  • Creating a custom skill and running skill adapter code as a web service
  • Configuring skill
  • Running code on BeagleBone

By the end, you’ll have a basic home automation application powered by voice control!

For the full tutorial, including all the code and schematics you need, check out the voice-controlled home automation using Amazon Alexa tutorial on Hackster.

natural language processing with alexa

This is another awesome example of the variety of IoT use cases in combining PubNub with the vast number of IoT devices, APIs and frameworks. You can see a ton of other great examples here.

More from PubNub

Top Trends to Engage Your App Users
InsightsSep 27, 20224 min read

Top Trends to Engage Your App Users

Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...

PubNub Staff

PubNub Staff

Comparing Game Engines: Unity vs Unreal vs the Rest
Real-Time Gaming BlogSep 21, 20225 min read

Comparing Game Engines: Unity vs Unreal vs the Rest

Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...

PubNub Staff

PubNub Staff

Python Socket Programming: Client, Server and Peer Libraries
BuildSep 21, 20226 min read

Python Socket Programming: Client, Server and Peer Libraries

Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...

PubNub Staff

PubNub Staff