Diagram of my smart home based on ESP8266

I wanted to make my house smart. And so that it is cheap, simple and reliable. As it turned out, this can be done. But ... I could not find ready-made smart houses. Those on the market are either expensive, or non-functional, or indistinct, etc. etc. I remembered about the Arduino. And it turned out that you can do this on it (or rather, not on it, but on the ESP8266 controller very similar to it). True, this will already be a whole hobby. You can't just buy and sell. You need to search, assemble, solder, connect and, of course, program. Ok, let's go!





This is my first article on my smart home. In the future, I will lay out the following articles about what I specifically did and how.





Who is the article for?

It is designed for ordinary applied programmers who live in a cottage community in their own house, who know electronics at the level of a regular school. Those who, due to their employment, cannot spend a huge amount of time studying microcontrollers and radio electronics, but would like to make and maintain their own smart home as a hobby.





Electronics professionals won't be interested. I'm talking about my path from scratch.





What should be the result?

As a result, a base should appear on the basis of which you can make a complex smart home system and implement your scenarios. For example, I am interested in the following scenarios:





  1. Connect a network humidifier, heater, air conditioner, forced ventilation, temperature sensors, humidity sensors, carbon dioxide sensors into one system that would provide a normal microclimate in the room.





  2. I left home button. By which devices in the house were turned off: for example, lighting, an iron, a soldering iron.





  3. Motion and presence detectors with basic room lighting. To turn off the lighting if there is no one in the room for some time.





Smart home requirements

So, the requirements for a smart home as a hobby are:





  1. If possible, do without soldering.





  2. Don't go deep into electronics.





  3. All problems are solved mainly by programming.





  4. C ++ and JavaScript programming languages.





  5. Use Wi-Fi, 1-Wire, I2C as a device connection.





  6. The devices should be cheaper than Xiaomi.





, , . , . - , .





ESP8266. Arduino. Wi-Fi . 80 . . Arduino, , , Wi-Fi. . . .





ESP8266 , . . . .





The cheapest variant of the ESP8266, called the ESP01
ESP8266, ESP01

ESP8266 , . (Wi-Fi + ). ESP8266 Wi-Fi. ESP8266 , 1-Wire I2C. , .





ESP8266 . Arduino. , ESP8266. . ESP Easy. .





ESP8266 . . . : MQTT-, Low Code Node Red Homebridge. Apple HomeKit + Siri. , , , , .





? - . . , , , . , Raspberry Pi Zero W, : 1500 , wi-fi , . DIN- .





. Raspberry Pi Zero W . . .





ESP8266. . , ( , ZigBee , Wi-Fi, ZigBee , Wi-Fi).





Siri . Siri . . , .. . Siri .





?

. . . . DHT11 () BMP085 ( ). Homekit .








All Articles