this post was submitted on 08 Nov 2024
18 points (90.9% liked)
ESP32
249 readers
2 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Esp8266, but I realized my PC was using too much idle power when I wasn't around so I slapped it to an Arduino Leonardo to emulate sleep/wake keyboard combos so I can sleep/wake the machine via home assistant
that's certainly one way to do it ๐ the newer esp32-s2 and s3 also support native usb, if you ever want a smaller package
Like you can emulate a keyboard off of them? That'd be neat for maannyy projects I envision.
I just have like a reel of esp-01s on hand and had a spare Leonardo so it was just what I had on hand.
I might pair it down all the way and have the machine open a socket to listen for a sleep command and get wake-on-lan going and get it all working without additional hardware.
I would just use ssh, then you can remotely tell the computer to sleep or do anything else. No need to reinvent the wheel.