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 thread.
View all comments
24 points

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!

permalink
report
reply
7 points
*

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

permalink
report
parent
reply
6 points

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.

permalink
report
parent
reply
2 points

I was a little surprised as well, but I think it’s because the keyboard / mouse I use (and the ESP32) all use Bluetooth LE specifically.

I looked at USB solutions first actually, but then decided to try ESP Home solution since I was already familiar with the system.

permalink
report
parent
reply
4 points

I definitely thought about trying something physical like that too, but mostly as a fallback plan!

permalink
report
parent
reply
4 points
*

My thoughts were a switchbot, for a non diy version. You put the bot on the laptop power button or keyboard.

permalink
report
parent
reply
1 point

I was thinking of using an electro magnet to trigger the lid switch. Maybe we are just fans rube goldberg setups :D

permalink
report
parent
reply

homeassistant

!homeassistant@lemmy.world

Create post

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

Community stats

  • 415

    Monthly active users

  • 563

    Posts

  • 5.9K

    Comments

Community moderators