Home Page Icon
Home Page
Table of Contents for
ESP8266 Home Automation Projects
Close
ESP8266 Home Automation Projects
by Catalin Batrinu
ESP8266 Home Automation Projects
Title Page
Copyright
ESP8266 Home Automation Projects
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Getting Started with the ESP8266
Starting with the ESP8266 chip
Installing Arduino IDE
Downloading the Arduino Software IDE
Configure Arduino IDE
Installing the ESP8266 SDK
How to install a library
Libraries from the Arduino's repository
Library is not in the repository
It is time for your first program
Seeing the result
Connecting ESP8266 to Wi-Fi
Getting data from the internet
Sending data to the internet
Summary
Building and Configuring Your Own MQTT Server
Message Queue Telemetry Transport
Quality of service
Security
Retain messages and last will
Basic terminology
Wildcards on topics
Introducing Mosquitto broker
ESP8266 and MQTT
Publishing data from the ESP8266
Receiving MQTT messages in the ESP8266
Securing Mosquitto
Summary
Building a Home Thermostat with the ESP8266
SPIFFS
SPIFFS objects
Directory object
File object
Temperature sensor
Summary
Control Appliances from the ESP8266
Using the WiFiManager library
Adding parameters to the WiFiManager setup page and saving them into the file
ESP8266 and Infrared communication
Hardware components
Software and libraries for this project
Summary
Using ESP8266 to Build a Security System
Passive infrared sensor
How PIRs work
Testing the PIR module
Connecting the PIR module to the internet
The ESP8266 PIR security code
Summary
Securing Your Data
Enabling encryption on mosquitto
Installing the openssl package
Generating your own certificates
Securing a connection between ESP8266 and an MQTT broker
Working offline
Saving data on the SD card
Summary
Real-Time Communication
WebSockets
Protocol details
Streaming data from ESP8266
ADXL345 accelerometer
Connection to the ESP8266
ESP8266 code
Backend code
Public web page
Summary
Adding a Mobile Application to Your Smart Home
Installing Docker and using containers
Getting the development image
Docker images
Setting up the local broker
ESP8266 code specifications
Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset