{
  "id": 22233348,
  "title": "I built an ESP32 Wake-on-LAN button, and I stopped leaving my gaming PC on all day",
  "url": "https://urgent.news/2026/11/27/i-built-an-esp32-wake-on-lan-button-and-i-stopped-leaving-my-gaming",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T20:30:21.000Z",
  "source": {
    "name": "XDA Developers",
    "slug": "xda-developers",
    "url": "https://www.xda-developers.com/i-built-an-esp32-wake-on-lan-button-and-i-stopped-leaving-my-gaming-pc-on-all-day/"
  },
  "original_language": "en",
  "account": "I've constructed an ESP32-powered Wake-on-LAN button to avoid leaving my gaming PC on continuously. This setup aids in reducing idle energy consumption while providing quick access to my PC's processing power when needed. To enable Wake-on-LAN (WoL) on my PC, I entered its BIOS and disabled the ErP setting, ensuring my Ethernet port remained powered even when the PC was off. Upon verifying WoL support on my network interface card (NIC), I opted for an Arduino IDE-based solution to trigger the WoL packet with a button press rather than relying on additional services like Home Assistant. Utilizing a KY-023 joystick module, I connected a button to my ESP32, enabling me to create a custom macro pad that activates my PC whenever I press the analog stick. By setting up constants for Wi-Fi details and my PC's MAC address, I developed two essential functions: connectWiFi() to establish a connection between the ESP32 and PC, and sendMagicPacket() to transmit the WoL packet containing the necessary MAC address repetitions. The loop() function ensures the WoL workflow repeats upon each button press, providing an efficient and energy-saving solution for accessing my PC's capabilities when required.",
  "summary": "I built a button that wakes my gaming PC remotely, and it finally ended all-day idling",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}