An old, inexpensive television lacked smart features but was connected by HDMI to a desktop computer, making it useful for watching shows from the couch. The trouble was that starting playback required repeated trips between the couch and desk to enable the second display, move and fullscreen an app, and fetch a keyboard. To avoid that routine, the author wired an infrared transmitter and receiver to an ESP32-C3 board, which connects over Wi-Fi, and used Claude to identify the remote’s RC-5 button codes and automate the setup with a single press.
That basic solution expanded into a remote-controlled entertainment system. Buttons now launch several console emulators, Steam in Big Picture mode, or long fireplace videos; two Xbox controllers are configured for the emulators. To avoid windows appearing on the wrong display, the author moved from a shared desktop to separate X sessions for each screen. An admin panel can send remote commands through the homemade IR device, synchronize volume changes made on the physical remote, control a virtual gamepad, and show a live view of the TV screen with clickable controls. Turning on a controller selects a gaming mode, and turning off the last controller returns to the fireplace. The project took about ten hours, mostly for emulator setup. Claude accelerated the work but still required close supervision to catch faulty approaches and bugs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.