Inside a generic/white-label HDMI KVM Switch
If you’re here just for “how do I get it working with ESPHome” bit, skip to the ESPHome Component section below.
Update 2022.05.14
I have just uploaded a basic PCB and enclosure to the ESPHome Component Repository.
For the last few months, I have been looking for a KVM switch to simplify switching between work and personal computers. Initially, I didn’t think my criteria were that unreasonable, but for whatever reason there is no KVM switch that: