[Smart Speaker] or [Meross App] or [IoT Device] ---> [Meross Smart Plug Mini] - [ESP32 Board]
- The power supply from the smart plug causes the ESP32 to wake up.
- ESP32 will connect to the WiFi AP.
- ESP32 send a Magic Packet on UDP.
- ESP32 will try pinging continuously to target PC.
- ESP32 will turn off the smart plug via IFTTT when receiving the pong.
"OK Google, Turn on the PC."
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.