this post was submitted on 18 Feb 2024
76 points (97.5% liked)

homeassistant

14887 readers
142 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.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years 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
[–] throw4w4y5@sh.itjust.works 1 points 1 year ago (2 children)

I must be too old school because my first thought when i read this was “with an old solenoid lying around and a few lines of code, an AtTiny could strike a key on the bluetooth keyboard, waking the laptop!

[–] Gloria@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (1 children)

You could ditch the solenoid and use a ATMega32u4 that can act as a HID device to send a keypress signal.

[–] Panq@lemmy.nz 1 points 1 year ago

I'm mildly surprised OP's laptop keeps the bluetooth radio powered up while asleep, but I would be a lot more surprised to find one that doesn't work with USB HID.