this post was submitted on 18 Feb 2024
79 points (97.6% liked)

homeassistant

12107 readers
44 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I've had a laptop that I've never been able to get WoL (Wireless or otherwise) to work, no matter what I tried. Recently realized that the Bluetooth keyboard I used was able to wake it with a key press though.

I searched and found an ESP Home project that will make an ESP32 emulate a Bluetooth keyboard - https://github.com/dmamontov/esphome-blekeyboard

Now for $6 of hardware, I can wake my Laptop up remotely via HA, whenever needed. Definitely recommended!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 9 months ago (1 children)

I actually tried something like this, the laptop BIOS didn't have any settings to tweak for A/C power changes. However, it does wake from sleep after plugging in. The issue is, it immediately goes back to sleep (within seconds). Tried quite a few things to try to stop that behavior (e.g. running Power Toys Awake) but had no luck.

So that's when I switched to ESP Keyboard.

[–] [email protected] 3 points 9 months ago (1 children)

Ah yes, because it's a laptop, I know lots of desktop have the option tho.

[–] [email protected] 3 points 9 months ago

I think most laptop’s still have the option of whether to boot or not when you plug them in with a dead battery.