3 options
ESP8266 home automation projects : leverage the power of this tiny WiFi chip to build exciting smart home projects / Catalin Batrinu.
- Format:
- Book
- Author/Creator:
- Batrinu, Catalin, author.
- Language:
- English
- Subjects (All):
- Home automation.
- Home computer networks.
- Wireless LANs.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt Publishing, 2017.
- System Details:
- text file
- Biography/History:
- Batrinu Catalin: Catalin Batrinu graduated from the Politehnica University of Bucharest in Electronics, Telecommunications, and Information Technology. He has been working as a software developer in telecommunications for the past 16 years. He has worked with old protocols and the latest network protocols and technologies, so he has experienced all transformations in the telecommunication industry. He has implemented many telecommunications protocols, from access adaptations and backbone switches to high-capacity, carrier-grade switches on various hardware platforms from Wintegra and Broadcom. Internet of Things came as a natural evolution for him and now he collaborates with different companies to construct the world of tomorrow that will make our life more comfortable and secure. Using the ESP8266, he has prototyped devices such as irrigation controllers, smart sockets, window shutters, Digital Addressable Lighting Controls, and environment controls, all of them controlled directly from a mobile application over the cloud. An MQTT broker with bridging and a WebSockets server was even developed for the ESP8266. Soon, all those devices will be part of our daily life, so we will all enjoy their functionality.
- Summary:
- Unleash the power of the ESP8266 and build a complete home automation system with it. About This Book Harness the power of the ESP8266 Wi-Fi chip to build an effective Home Automation System Learn about the various ESP8266 modules Configuring the ESP8266 and making interesting home automation projects A step-by-step guide on the ESP8266 chip and how to convert your home into a smart home. Who This Book Is For This book is targeted at people who want to build connected and inexpensive home automation projects using the ESP8266 Wi-Fi chip, and to completely automate their homes. A basic understanding of the board would be an added advantage 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 In Detail 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. Style and approach A practical book that will cover independent home automation projects. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.
- Contents:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: 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
- Chapter 3: Building a Home Thermostat with the ESP8266
- SPIFFS
- SPIFFS objects
- Directory object
- File object
- Temperature sensor
- Chapter 4: 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
- Chapter 5: 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
- Chapter 6: 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
- Chapter 7: Real-Time Communication
- WebSockets
- Protocol details
- Streaming data from ESP8266
- ADXL345 accelerometer
- Connection to the ESP8266
- ESP8266 code
- Backend code
- Public web page
- Chapter 8: 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
- Index.
- Notes:
- Includes bibliographical references at the end of each chapters and index.
- Description based on online resource; title from PDF title page (EBC, viewed December 27, 2017).
- ISBN:
- 9781787285385
- 1787285383
- OCLC:
- 1018480161
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.