This is an old revision of the document!


Smart Home Lights & Power Outlet Control

Author: Dragos Macovei
Source code on Github:
Youtube video:

Description

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:

  1. Manual Mode, when the user is at home: all the switches are controlled by the user. Moreover, if the PIR sensor doesn't detect movement for more than 30 minutes, it switches to Auto Mode.
  2. Auto Mode, when the user is not home: all the sockets are turned off (except those that the user wants to keep permanently on) and all the lights are turned down.

When the user enters the house, he will be detected by the PIR sensor, all elements are turned on and the program will switch to Manual Mode.

iothings/proiecte/2022/smart_home_lights_power_outlet_control.1674158581.txt.gz · Last modified: 2023/01/19 22:03 by catalina.sirbu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0