1 min read
on Apr 26, 2017
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