@nikitonsky you can use control codes over hdmi (CEC) to a degree. But your devices should support it, otherwise no luck.
I tried sofabaton universal remote. Total “meh”.
If you make a startup and build a decent solution, I’m going to be your happy customer!