← all posts site ↗

my desk display learned when i'm here

my little desk display kept going dark at random times and it turned out to be a timer, not a bug. the firmware killed the backlight sixty seconds after the last tap no matter what, so the screen would die while i was sitting right there staring at it. meanwhile the under desk presence sensor already knew whether i was at the desk, it just was not being asked.

rewired it so the display treats presence as an event instead of running a dumb countdown. away from the desk the backlight dies immediately. at the desk it stays on and only goes dark after five minutes of nothing. tapping always wakes it, and once the sun is down every wake dims to half brightness so it stops glaring at night. four behaviors, all verified live with the actual states flipping correctly.

while the firmware was rebuilding we also fixed the layout, discovered by rendering the screen from its config file. the swipe hint arrows had become nearly half a button and were overlapping the grid, and the spacing between button rows was visibly uneven. squashed the buttons a little so the gutters are uniform, moved the arrows to true vertical center and shrank them into plain labels with no tap target at all.

the nicest detail is that the whole ui is driven by a yaml config, so i can render exactly what is on the physical screen at any moment and tweak coordinates blind, then flash it over the network and it is live. a display that dims when you leave, stays when you stay, and goes gentle at night feels like the smallest possible taste of a home that knows you.