Smart home from scratch with your own hands or a year-long journey

I am writing this article for those who think, whether it is worth it or not, and who are beginning to build their smart home, I hope it will help you make your choice. For those who think that I am not a programmer, I will not succeed, I too, although I have a technical (heat and power) education, but I have never worked in IT, I do not know a single programming language. The road will be mastered by the walking one. Let's start with the discussion of what a smart home is, take my word for it, it won't solve all your household and family problems, but it will definitely make life a little more comfortable. What is a smart home in my mind a year ago: 1. A beautiful tablet with a diagram of the house hanging on the wall in the hallway from which you can control everything in the house; 2. Control everything you can with your voice. Revelation in a year: a tablet is not needed, since it is inconvenient to run from the second floor to the first in order to control.For voice control to work well, you need to install a smart speaker in each room, when two of them are one. And when much more is a question. Now for me a smart home is something that works by itself without my participation, and does not require management. Everything that will be discussed further has been done by me personally, maybe you can do it differently, maybe easier and better. But this is the way.





Brief educational program

Smart home systems

1.1 Mi Home

 + beautiful sensors and devices; good mobile application; simple construction of automation;





- closed ecosystem; data is stored on cloud servers; automation works through cloud servers.





1.2 Google home

+ this is google, top-level interface;





- closed ecosystem; automation works through cloud servers; the application has support for solutions that I have never heard of.





1.3 Domoticz

+ open ecosystem; large Russian-speaking community; cloud through which you can log into your server; blockly language for automations - convenient and understandable;





- some things in it are very difficult to implement (or I didnโ€™t figure it out); the documentation does not have time to update; you do according to what was written in the Wiki, but does not work, since everything has changed; frequent updates.





1.4 HomeBridge - apple, ,

+ Apple, ;





- ? - , Apple , .





1.5 ioBrocker - ,

+ , ;





- 2020 .





1.6 MajorDomo - -

+ , , ;





- .





1.7 Home Assistant -

+ , , , , , , Mi Home, Google home, HomeBridge, , ;





- .





, Home assistant .





2.1

, , ZTE F660. , - , Keenetic Ultra. . . .





2.2

Home Assistant , . : Home Assistant , Windows Linux Ubuntu, , NAS. . 24/7, Raspberry pi 4b 4Gb. , ( ). Home Assistant Plex ( ) 24/7 , . - , NUC. Windows 10, , , . Raspberry pi 4b, , , 3 , 50 . Raspberry pi 4b 4Gb 4 . . .





2.3

WiFi - WiFi. WiFi . WiFi , WiFi . WiFi , .





Zigbee- ( ) , . Zigbee (). , Zigbee . Zigbee , 2.0 3.0. Zigbee 2.0 Zigbee 3.0. Zigbee 3.0. .





Bluetooth - ( ) , Mesh, . Bluetooth (). , Bluetooth .





2.4 . Home Assistant

Xiaomi , u, Sonoff . . ( ). . . 2-3 . . .





Stick 2531, 2538, 2652, usb , zigbee2mqtt, , . , . Stick 2531 32 , , Stick 2538, 2652, 100 . 2 . . Telegram. 





SLS , Xiaomi , u, Sonoff, zigbee2mqtt. . , . 3 . . Telegram. 





2019 Xiaomi . Mi Home , , . , . , . 5 , 5 ( ). , , . .





2020 , stick 2538 Home Assistant Windows 10, . .





( ), 90 , . Raspberry pi 4b 4Gb , Xiaomi ( ). . Home Assistant Raspberry Alex Kvazis youtube, . , Home Assistant Telegram, , 90% . , . , . . https://ivan.bessarabov.ru/, . 





stick 2538, . Xiaomi bluetooth mesh , , stick Xiaomi. @AlexxIT Xiaomi Gateway 3 Home Assistant, , Home Assistant MiHome, Xiaomi. Home Assistant , Google home HomeBridge. @AlexIT Home Assistant , Sonoff LAN, Yandex.Station. Xiaomi, 10.2020 . Telnet Home Assistant ( 10 ), .





Xiaomi Gateway 3, , 77 Xiaomi, , , .





4.





  • ,





  • , , , , ;





  • , ;













  • ;









  • ;





  • ;









  • , , , , , ;





  • , ;









  • ;





,





  • , ;





  • ;





  • google.





  • ;





  • Home assistant;









5.

  • , . , , . .





  • , ip Home assistant.





  • WiFi Xiaomi , Home assistant, Reolink.





, , . , - . , , , , , . .





This is my first article on habr, if the topic of a smart home is interesting, write in the comments what you want to know, I'll tell you everything, it's just that the Home assistant is a whole planet and you can't tell everything in one article. What topics are interesting, what do you want to know in more detail, if there is interest, I will write more detailed material.








All Articles