3 ms·
I did something similar recently. I wanted to wake my laptop via wifi. There's no way to do it using WoL with the laptop's wifi card. For some reason the lapt
by leptons 3y ago
I did something similar recently.
I wanted to wake my laptop via wifi. There's no way to do it using WoL with the laptop's wifi card.
For some reason the laptop's wifi card won't be powered during sleep or never responds to WoL packets, but the USB port is powered during sleep.
I got an ESP32-S3 which has built-in USB. I cobbled together the examples from the ESP-IDF framework. Using one wifi example I got the ESP32 to detect WoL packets sent to it, and the other example was the USB HID example that acts like a mouse and moves the cursor around.
So now I can send a WoL request to the ESP32, and it will then "move the mouse" and wake the laptop. It worked like a charm and only took me about 2 evenings to put together.