This is an old revision of the document!
Author: Dragos Macovei
Source code on Github:
Youtube video:
This project explains how to control sockets and lights in houses of any size in order to save more energy and enjoy your comfort. An ESP32 WROOM module will be connected individually to each socket in the room using relays and there will also be 2 PIR modules in 2 different rooms. Depending on the activity detected in the house, the program will have 2 states:
When the user enters the house or he gets out of bed in the morning, he will be detected by the PIR sensor, all elements will be turned on and the program will switch to Manual Mode.