Build a versatile home automation system from scratch. There are many ways of controlling home appliances with your smartphones, voice, gestures, etc. This book dives into the many options for for communicating with appliances wirelessly and we''ll discuss and implement the leading protocols in the field.
In first few chapters, you will develop a basic understanding of the Raspberry Pi and how one can control it wirelessly from anywhere in the world. Then you''ll get to know about the local server for your home automation projects and control the Raspberry Pi GPIOs using smartphone and web apps. Every appliance will be able to talk to each other, as well, with the help of mesh networking, which you''ll learn to implement. The user interface is also an important aspect of handling all the appliances, so you''ll create your own user dashboard using OpenHAB. From there, you can monitor all the appliances and sensor data in one environment.
Table of ContentsChapter 1 : Introduction to Raspberry Pi
· Introduction
· Raspberry Pi at a glance
· Software and Hardware requirements
· Setup
Chapter 2 : Controlling the Raspberry Pi Remotely
· Remote server setup
· Create a local server
· Controlling Raspberry Pi GPIO using local server
Chapter 3: Understanding MQTT Broker
· What is MQTT Broker?
· Packet Structure
· Publisher and Subscriber
· Installing Mosquitto Broker
Chaptre 4: Controlling Raspberry Pi GPIO
· Writing Python Program for GPIO
· Using MQTT for controlling GPIO
· Example code for getting sensor data on smartphone
Chapter 5: Building Your Own Alexa and Google Home
· How voice assistant works
· Understanding flow of Amazon Alexa and Google home
· Installing the Alexa voice assistant
· Installing Google Home voice assistant
· Testing
Chapter 6: Making a Wireless Node
· What is Mesh networking?
· Types of Mesh
· Hardware requirements
· Sensors and Modules
· Implementation and Testing
Chapter 7: AC Light Dimming Node and Circuit Design
· Basics of Electronics and components
· Designing Dimming circuit
· Designing PCB
· Testing
Chapter 8: User Interface Using OpenHAB
· What is openHAB?
· Initial Setup
· Installing in Raspberry Pi
· Creating User Interface
· Testing
Chapter 9: Custom Voice Assistant
· What is STT and TTS and available types?
· What is Jasper Framework?
· Installing and setup process
· Making Receipes
· Testing
Chapter 10: GPIO Control Using Gestures
· Sensor Requirement
· Interfacing with the node
· Coding and Testing
Chapter 11: Smart Door Bell and Integration
· Camera Interfacing with Raspberry Pi
· Basics of Image processing
· Installing image processing Packages
· Testing and Integration