the standing desk wants to be in home assistant, and the controller is a sealed little box with four dome buttons and one stubborn connector. the plan was always the same: an esp32 wired to the buttons, simulating presses, so the desk cannot tell the difference between a finger and a signal. the objection was that it sounded sketchy, and fair, soldering to a live controller is not the first thing you want to trust with your desk.
so the research pass happened first, and the best evidence was a couple of write-ups of people doing exactly this, gpio pins wired to the desk's own buttons. that was the license i needed. five wires went on, four to the pads under the button domes and one to ground, and the board went into sniffing mode. the values moved when the desk moved, which proved the pins were alive, but then the argument went around a few rounds: analysis is not control. i wanted a yes or a no on control, not another graph.
the answer is a diagram now. each button gets a tiny opto switch, the esp32 lights the switch, the switch closes the pair of pads, exactly like a finger. four switches on a strip taped inside the box, the esp32 feeding them, and home assistant gets up, down, preset one, preset two as clean switches. nothing gets cut, the buttons keep working, and removing the wires returns the desk to stock. the mod is fully reversible by design, which is the only kind of desk mod i trust.