Wake-on-LAN ESP32
Turning on a PC from Home Assistant, through an ESP32 wired to the network.
An ESP32 WROOM-32 with a W5500 Ethernet board listens on MQTT. When Home Assistant asks, it sends the Magic Packet to the motherboard’s onboard LAN port.
For the power side I compared the Shelly 1PM Mini Gen3 and Gen4 relays and picked the Gen4 for Zigbee and Matter.
- Hardware
- ESP32 WROOM-32, W5500
- Protocols
- MQTT, Wake-on-LAN
How it is wired
- Home AssistantA button on the dashboard
- MQTTMessage to the board
- ESP32 + W5500Wired to the network, always on
- Magic PacketTo the motherboard’s LAN port: the PC turns on