ESP8266 Home Automation Projects
Book information
Description
Cover ......Page 1 Title Page......Page 2 Copyright......Page 3 Credits......Page 5 About the Author......Page 6 About the Reviewer......Page 7 www.PacktPub.com......Page 8 Customer Feedback......Page 9 Table of Contents......Page 10 Preface......Page 12 Chapter 1: Getting Started with the ESP8266......Page 18 Starting with the ESP8266 chip......Page 19 Downloading the Arduino Software IDE......Page 20 Configure Arduino IDE......Page 22 Installing the ESP8266 SDK......Page 24 How to install a library......Page 28 Libraries from the Arduino's repository......Page 29 Library is not in the repository......Page 30 It is time for your first program......Page 31 Seeing the result......Page 33 Connecting ESP8266 to Wi-Fi......Page 35 Getting data from the internet......Page 37 Sending data to the internet......Page 46 Summary......Page 52 Message Queue Telemetry Transport......Page 53 Security......Page 54 Basic terminology......Page 55 Wildcards on topics......Page 57 Introducing Mosquitto broker......Page 58 ESP8266 and MQTT......Page 62 Publishing data from the ESP8266......Page 64 Receiving MQTT messages in the ESP8266......Page 67 Securing Mosquitto......Page 70 Summary......Page 75 SPIFFS......Page 76 SPIFFS objects......Page 78 Directory object......Page 80 File object......Page 81 Temperature sensor......Page 84 Summary......Page 96 Using the WiFiManager library......Page 97 Adding parameters to the WiFiManager setup page and saving them into the file......Page 105 ESP8266 and Infrared communication......Page 109 Hardware components......Page 110 Software and libraries for this project......Page 111 Summary......Page 115 How PIRs work......Page 116 Testing the PIR module......Page 120 Connecting the PIR module to the internet......Page 124 The ESP8266 PIR security code......Page 133 Summary......Page 137 Installing the openssl package......Page 138 Generating your own certificates......Page 139 Securing a connection between ESP8266 and an MQTT broker......Page 142 Working offline......Page 146 Saving data on the SD card......Page 151 Summary......Page 154 Protocol details......Page 155 Streaming data from ESP8266......Page 156 ADXL345 accelerometer......Page 157 Connection to the ESP8266......Page 158 ESP8266 code......Page 159 Backend code......Page 167 Public web page......Page 169 Summary......Page 170 Installing Docker and using containers......Page 171 Getting the development image......Page 174 Docker images......Page 175 Setting up the local broker......Page 179 ESP8266 code specifications......Page 182 Summary......Page 188 Index......Page 189 Index......Page 0
Similar books
ESP8266 Home Automation Projects: Leverage the power of this tiny WiFi chip to build exciting smart home projects
2017 · PDF
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF