ESP32 Smart Relay for Home Assistant (ESPHome)

This guide shows how to build a safe ESP32 smart relay (Shelly-style) for Home Assistant using ESPHome (optional MQTT). Includes correct wiring (low-voltage vs mains), relay module selection, GPIO “safe pins”, EMI/noise tips, and example ESPHome YAML for a reliable…






