In this project i made functional model of an smart home system.
I started from 3D drawing and modeling, you can see the picture attached
Made this in real life and connected all of the wires.
Smart home is made of 4 light bulbs and 2 power plugs that are controlled by esp32 microcontroller(switched on/off using relays).
esp32 is wireless connected to web server that i made on my raspberry pi.
I made an android app on which i can change relay states. Android app is connected to my web server and can change or read data from database in matter of milliseconds.