ESP8266 Home Automation Projects

Unleash the power of the ESP8266 and build a complete home automation system with it.
Preview in Mapt

ESP8266 Home Automation Projects

Catalin Batrinu

Unleash the power of the ESP8266 and build a complete home automation system with it.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99 p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


ESP8266 Home Automation Projects Book Cover
ESP8266 Home Automation Projects
$ 27.99
$ 19.60
ESP8266 Internet of Things Cookbook Book Cover
ESP8266 Internet of Things Cookbook
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $24.98
Add to Cart

Book Details

ISBN 139781787282629
Paperback196 pages

Book Description

The ESP8266 is a low-cost yet powerful Wi-Fi chip that is becoming more popular at an alarming rate, and people have adopted it to create interesting projects.

With this book, you will learn to create and program home automation projects using the ESP8266 Wi-Fi chip. You will learn how to build a thermostat to measure and adjust the temperature accordingly and how to build a security system using the ESP8266. Furthermore, you will design a complete home automation system from sensor to your own cloud. You will touch base on data monitoring, controlling appliances, and security aspects.

By the end of the book, you will understand how to completely control and monitor your home from the cloud and from a mobile application. You will be familiar with the capabilities of the ESP8266 and will have successfully designed a complete ready-to-sell home automated system.

Table of Contents

Chapter 1: Getting Started with the ESP8266
Starting with the ESP8266 chip
Installing Arduino IDE
How to install a library
It is time for your first program
Connecting ESP8266 to Wi-Fi
Getting data from the internet
Sending data to the internet
Summary
Chapter 2: Building and Configuring Your Own MQTT Server
Message Queue Telemetry Transport
Introducing Mosquitto broker
ESP8266 and MQTT
Publishing data from the ESP8266
Receiving MQTT messages in the ESP8266
Securing Mosquitto
Summary
Chapter 3: Building a Home Thermostat with the ESP8266
SPIFFS
Temperature sensor
Summary
Chapter 4: Control Appliances from the ESP8266
Using the WiFiManager library
ESP8266 and Infrared communication
Summary
Chapter 5: Using ESP8266 to Build a Security System
Passive infrared sensor
Summary
Chapter 6: Securing Your Data
Enabling encryption on mosquitto
Securing a connection between ESP8266 and an MQTT broker
Working offline
Summary
Chapter 7: Real-Time Communication
WebSockets
Streaming data from ESP8266
Summary
Chapter 8: Adding a Mobile Application to Your Smart Home
Installing Docker and using containers
Summary

What You Will Learn

  • Get, compile, install, and configure an MQTT server
  • Use the Wi-Fi connectivity feature to control appliances remotely
  • Control several home appliances using the ESP8266 Wi-Fi chip
  • Control and monitor your home from the cloud using ESP8266 modules
  • Stream real-time data from the ESP8266 to a server over WebSockets
  • Create an Android mobile application for your project

Authors

Table of Contents

Chapter 1: Getting Started with the ESP8266
Starting with the ESP8266 chip
Installing Arduino IDE
How to install a library
It is time for your first program
Connecting ESP8266 to Wi-Fi
Getting data from the internet
Sending data to the internet
Summary
Chapter 2: Building and Configuring Your Own MQTT Server
Message Queue Telemetry Transport
Introducing Mosquitto broker
ESP8266 and MQTT
Publishing data from the ESP8266
Receiving MQTT messages in the ESP8266
Securing Mosquitto
Summary
Chapter 3: Building a Home Thermostat with the ESP8266
SPIFFS
Temperature sensor
Summary
Chapter 4: Control Appliances from the ESP8266
Using the WiFiManager library
ESP8266 and Infrared communication
Summary
Chapter 5: Using ESP8266 to Build a Security System
Passive infrared sensor
Summary
Chapter 6: Securing Your Data
Enabling encryption on mosquitto
Securing a connection between ESP8266 and an MQTT broker
Working offline
Summary
Chapter 7: Real-Time Communication
WebSockets
Streaming data from ESP8266
Summary
Chapter 8: Adding a Mobile Application to Your Smart Home
Installing Docker and using containers
Summary

Book Details

ISBN 139781787282629
Paperback196 pages
Read More

Read More Reviews

Recommended for You

ESP8266 Internet of Things Cookbook Book Cover
ESP8266 Internet of Things Cookbook
$ 31.99
$ 22.40
Building Smart Drones with ESP8266 and Arduino Book Cover
Building Smart Drones with ESP8266 and Arduino
$ 31.99
$ 22.40
ESP8266 Robotics Projects Book Cover
ESP8266 Robotics Projects
$ 23.99
$ 16.80
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 16.80
Cybersecurity: Attack and Defense Strategies Book Cover
Cybersecurity: Attack and Defense Strategies
$ 31.99
$ 22.40
MQTT Essentials - A Lightweight IoT Protocol Book Cover
MQTT Essentials - A Lightweight IoT Protocol
$ 31.99
$ 22.40