Book Image

ESP8266 Home Automation Projects

By : Catalin Batrinu, Constantin Tambrea
Book Image

ESP8266 Home Automation Projects

By: Catalin Batrinu, Constantin Tambrea

Overview of this book

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 (16 chapters)
Title Page
About the Author
About the Reviewer
Customer Feedback
Building a Home Thermostat with the ESP8266
Using ESP8266 to Build a Security System

Chapter 8. Adding a Mobile Application to Your Smart Home

In previous chapters we discussed Blynk as a digital dashboard for your project. If you want to build your own mobile application that connects to your MQTT cloud you will find in this chapter an application starter code that allows you to have a basic mobile application in just a few minutes. Current mobile application code allows you to log in to and control your registered devices. 

In this chapter we will address the following topics:

  • Installing Docker
  • Getting a development image for the Single Page application
  • Getting the demo code for the mobile application
  • Getting the application smart socket code for ESP8266
  • Installing an existing firmware for an ESP8266 MQTT broker
  • Producing the APK for Android devices