ProtoPulse
Intermediate

Smart Home Relay Control with ESP32

Switch appliances from your phone through a web page or MQTT, with manual override switches.

About this project

An ESP32 controls relays for lights and appliances from a phone browser on your local network. Add MQTT to integrate with Home Assistant. Use properly rated relays and enclosures when switching mains.

What it does

  • Phone control over WiFi
  • Manual override switches
  • State kept after power loss
  • Optional MQTT

Components needed

  • ESP32 DevKit V1 (WiFi + Bluetooth)
  • 5V Relay Module (1 channel)

You can find these parts in our components shop. To learn the skills behind this project, see the ProtoPulse Academy or read our guide on how to write a good electronics project.