In this project, we will build a simple smart home application. A smart home application is an application based on technology that enables users to control devices within the house. This application is connected to some sensors and devices. We can get information about our home through sensor devices such as cameras, temperature, and electricity usage. We can also control turning lamps on and off.
In this section, we will build a simple smart home using ESP32. We can see a general design of smart home with the ESP32 board in the following diagram. We can connect sensor and actuator devices to the ESP32 board, and we can then control them over the network.
To enable us to control the ESP32 board from outside the house, we should activate a web server service. We define our commands to ESP32 through the web server, as explained in the following diagram...