This is a simple project to wakeup PC by using remote USB wakeup designed for ESP32 with WiFi module. The project was build around ESP IDF. It works by starting HTTP server and listening for incoming requests. When a request to the specific URI has been made ESP32 will send remote USB wakeup command to a host to wake it up from suspension/hibernation.
sequenceDiagram
Client ->> ESP32: GET /
ESP32 ->> Client: "Processed"
ESP32 ->> PC: Remote USB wakeup
The URI, Port of the HTTP server as well as SSID, Passphrase of a WiFi AP could be configured through idf.py menuconfig
or directly through sdkconfig
.
The build process with idf.py
is pretty straightforward:
- Set the target with
idf.py set-target <TARGET>
- Configure SSID and Passphrase and optionally URI and Port which are
/
and80
respectively by default:idf.py menuconfig
- Build:
idf.py build
- Upload to ESP32:
idf.py flash