◂100Plain viewIT
Page 902 · Embedded

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

  1. Home AssistantA button on the dashboard
  2. MQTTMessage to the board
  3. ESP32 + W5500Wired to the network, always on
  4. Magic PacketTo the motherboard’s LAN port: the PC turns on
This one lives in my house, so there is no public demo. This is how the pieces talk to each other.