Voice Controlled Smart Home

The Internet of Voice has come and now you can monitor and control all various devices in your home by using the sound of your voice, Amazing!!! Amazon Alexa and Raspberry Pi made the thing supper easy and now every hobbyist can enter in the era of hands-free home control using Alexa Voice Service.voice controlled smart home

Getting started with a voice controlled smart home is easier than you might think, and it won’t cost you much money either. You just need a Raspberry Pi with Alexa Voice Service.

In this project I will give you complete instruction to convert the dream to reality. I made the project to control 4 appliances and I used a Raspberry Pi to do this. Single Raspberry Pi is used for dual purpose. I is serving as a Alexa Voice Client and Paho MQTT client at the same time. You may use Amazon ECHO device for Alexa Voice Service. If you do so then you can escape first two steps (STEP 1 & STEP 2). For voice interface you require Alexa custom voice skill. Don't worried, making Alexa custom voice skill is very easy.

I developed a custom voice skill for my project and the skill was published and now live in the link below.


I hope you already watched demo video of my project. If you like it let's start making it.

For easy understanding I divided full project documentation into several steps. Follow step by step, I think you will enjoy it. If you have Amazon Echo device and want to use that ignore first two steps.

Amazon Developer Account Setup

If you are not already enrolled, setup an Amazon Developer Account which will allow the development of Alexa Voice Service and many more. Follow the link: https://developer.amazon.com/home.html


Setup Alexa Voice Service

1. Log in to Amazon Developer Console and get started with Alexa Voice Service.

Turn your Raspberry Pi into Alexa Client

Full instructions to make your Pi into an Alexa Client is available in AVS official Github page (https://github.com/amzn/alexa-avs-raspberry-pi) but I found it more easy to Sam Machin Github page (https://github.com/sammachin/AlexaPi).

1. Clone the repo to your Pi using the terminal. Type:

sudo git clone https://github.com/sammachin/AlexaPi.git

2. Go to AlexaPi directory and Run the setup script


3. Wait for a while to ask your security profile information. Enter all information (product ID, Security profile ID, Client ID etc.) from the security profile of AVS when ask.

 schematic voice controlled smart home

4. Open your browser and type your Pi IP address with port 5000 e.g. ( Just replace IP with your own.

You'll be taken to a Login with Amazon web page. Enter your Amazon credentials.

For more detail: Voice Controlled Smart Home

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top