Ursescu Ionut - AAC2
ionut.ursescu@stud.acs.upb.ro
The idea behind this project is to implement a smart lighting system. Basically a web interface that can be exposed over ethernet everywhere in world that is allowing the user to control placed bulbs and led strips. For the purpose of this project I've chosen to implement in two ways. First implementation is a standalone one, meaning that it's only based on ESP32 hardware and a very simple web interface to demonstrate the project capabilities. The second implementation is based on a very popular system for home automation called “Home Assistant”. I didn't want to implement the system as a standalone one because it is very hard to integrate with other solution present on the market. So that being said, in the following document I'll expose the used hardware, software libraries used some block diagrams explaining the application flow. After that I will explain how this project was ported to Home Automation and some pictures with the web application.
For this project, I used 2 ESP32 modules:
This project contains 2 ESP32 modules, because as I said in the description this project was implemented in two ways and I wanted to present both of them:
The hardware schema system 1:
The hardware schema system 2 (note that system 2 is also capable of using LED STRIP)
When it comes to software, I used ESP-IDF and the following libraries:
The code flow can be described as a simple state machine:
Managed to create a working system that can be used in real life scenarios. Being integrated with Home Automation, it is very easy to add new functionality and to improve the control over a lot of lighting systems. Also it can also be extended to other systems, controlling the power for devices as shown in the photos.
To test this project, I used a very simple hardware configuration mounted on a wood plank:
And the Home Assistant user interface:
The demo will be a live demo controlling the bulb over network.