This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/joes30291 on 2026-02-17 10:42:51+00:00.
I walk into my office in the morning, coffee in hand, and sit down at my desk. Thanks to Deskflow, I only need to jiggle one mouse, but I need to jiggle it (or press a key) to wake up the three systems I work on every day.
I've got a PIR sensor by my desk, so being able to send a wake signal to my systems should be easy - why shouldn't I have the screens fully woken by the time I sit down at my desk?
Turns out it's a bit complex - I've got Windows and Ubuntu systems here, and the HA Desktop Companion and HA Linux Companion didn't offer much in the way of simulating a mouse jiggle. There's also the logic in terms of when those systems might be turning off their displays, and avoiding annoying extra jiggles when the sensor updates while working.
So I ended up making ha-display-wake - a simple listener for Linux and Windows that will connect to MQTT, listen to the sensor you specify, and then decide whether to simulate a mouse jiggle based on the screen timeout parameters it read and you confirmed when running for the first time, invoking the setup process.
It'll install itself as a service or scheduled task, and quietly just... turn the screens on when the sensor updates. No need to wake anything up manually anymore.
I've tried to keep it as simple as possible and it's under an MIT license. I'd love to hear if this is useful for others, and your feedback.