Wake On Wan the PC by using ESP32 with the Smart Plug
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ESP32_WakeOnLan.h
ESP32_WakeOnLan.ino
LICENSE
Ping.cpp
README.md
README_ESP32_ping.md
ping.h

README.md

ESP32_WakeOnLan

Wake On Wan the PC by using ESP32 with the Smart Plug.

[Smart Speaker] or [Meross App] or [IoT Device] ---> [Meross Smart Plug Mini] - [ESP32 Board]

Description

  1. The power supply from the smart plug causes the ESP32 to wake up.
  2. ESP32 will connect to the WiFi AP.
  3. ESP32 send a Magic Packet on UDP.
  4. ESP32 will try pinging continuously to target PC.
  5. ESP32 will turn off the smart plug via IFTTT when receiving the pong.

Demonstration (in Japanese)

"OK Google, Turn on the PC."

demo

Blog

http://dsas.blog.klab.org/archives/2019-02/52304808.html (in Japanese)

Thanks for 'ESP32_ping' Library by pbecchi.

https://github.com/pbecchi/ESP32_ping

Copyright (c) 2019 KLab Inc.