If what you're looking for is missing, call us — we'll help you find it

IoT Projects

WiFi Home Automation Switch

Switch four appliances from a phone or browser using an ESP32.

WiFi Home Automation Switch — main component

Overview

The ESP32 hosts a small web page; tapping a button toggles a relay. Mains wiring must be done carefully, inside an enclosure.

Build Steps

  1. Wire the relay board

    Power it from 5 V and connect IN1–IN4 to four ESP32 pins.

  2. Write the web server

    One button per relay that flips its pin.

  3. Wire loads safely

    Use screw terminals, keep mains inside the enclosure and never touch it while powered.

  4. Mount in the box

    Fix boards with standoffs and close the lid before connecting to mains.

Related Projects