ESP32 IoT Home Automation | Firebase Realtime + Web Dashboard + Manual Relay control

Published at : 23 Dec 2025

In this project, we build a powerful ESP32 IoT Home Automation System that features real-time control via Firebase Realtime Database, a modern Web Dashboard, and manual relay control using physical switches. This complete setup lets you control your appliances from anywhere in the world!

Order PCB online from JLCPCB: https://jlcpcb.com/?from=1tech
Quality 6 layer PCB for $2 & Get $30 Coupon: https://jlcpcb.com/6-layer-pcb?from=2tech

Download the Source codes and other details for this ESP32 Firebase project from the following article :
https://iotcircuithub.com/esp32-firebase-iot-home-automation-project/

Download PCB Gerber file for this ESP32 home automation project
https://iotcircuithub.com/wp-content/uploads/2024/06/PCB_Gerber_ESP32_4_Relays_V3.zip

During the ESP32 project video, I covered the following topics:
00:49 Quick demo on ESP32 Firebase Web server relay control project.
01:49 Required components for the ESP32 IoT project.
02:00 Circuit diagram of the ESP32 Relay control project.
03:16 Configure the Firebase Realtime Database and Web App for ESP32.
06:15 Source codes for the ESP32 Firebase project.
08:38 Prepare the Web-Dashboard HTML for ESP32 Firebase project.
09:47 Deploy the Web-Dashboard HTML in GitHub.
11:20 Steps to access Web UI to control the relays from mobile.

Project Key Features:
Control 4 relays using Firebase Realtime Database, a live Web Dashboard & Manual Switches.
Real-time sync between ESP32 Firebase and Web Dashboard.
Web dashboard hosted on GitHub for global access.
Login/logout functionality with responsive UI.
Automatic feedback updates from manual control to Firebase.

Required Components for this ESP32 home automation project
1. ESP32 DEV KIT V1
2. 4-channel 5V SPDT Relay Module (active LOW)
3. Latched switches or Push Buttons

Amazon India Affiliate links:
ESP32 DEV KIT V1 : https://amzn.to/331pohb
4-channel 5V Relay Module : https://amzn.to/2BQ5Y3o

Amazon United States Affiliate links:
ESP32 DEV KIT V1 : https://amzn.to/3mBjCch
4-channel 5V Relay Module : https://amzn.to/3r2HuJ4

Required Components for the ESP32 control relay PCB V3:
1. Relays 5v (SPDT) (4 no)
2. BC547 Transistors (5 no)
3. PC817 Optocouplers (4 no)
4. 510-ohm 0.25-watt Resistor (5 no) (R1 -- R5)
5. 1k 0.25-watt Resistors (7 no) (R6 -- R12)
6. LED 5-mm (7 no)
7. 1N4007 Diodes (4 no) (D1 -- D4)
8. Hi-Link HLK-5M05 AC to DC converter.
9. Terminal Connectors
10. Push button (1no)

Important Points:
If you not able to control the relays or monitor the relay status on Web-Dashboard, then please close the dashboard and delete the browsing history, then try again.
For the authentication in Firebase Realtime database you can use any dummy email id and password.

#esp32 #homeautomation #firebase

-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS

Find out more such projects: https://iotcircuithub.com/
Facebook: https://www.facebook.com/techstudycell/
Instagram: https://www.instagram.com/techstudycell/
Telegram: https://t.me/techstudycell/
-------------------------------------------------------

-------------------------------------------------------
WARNING:
This video is for demonstration and educational purposes only.
Each demonstration presents risks and hazards that must be fully understood before attempting.
And should be performed only by professionals
------------------------------------------------------

Other useful IoT projects:
Latest ESP32 projects playlist:
https://www.youtube.com/playlist?list=PLlBmS9EKFydee7YsvVP_5TiPDeH38PwlK

Latest NodeMCU projects playlist:
https://www.youtube.com/playlist?list=PLlBmS9EKFydcv9ffXm72-cU9_EusicIjO

Arduino Home Automation Projects playlist:
https://youtube.com/playlist?list=PLlBmS9EKFydcxOoCht4ocLEV5zUdoCwsd