fire-tv-remote
desktop fire tv control, engineered as a real platform
A desktop control center that drives an Amazon Fire TV entirely over ADB, exposing the device through both a polished CustomTkinter GUI and a fully separate, Bearer-token-authenticated REST API (~50 endpoints) with a generic command/sequence bus of 14 dispatchable actions for external automation. Both surfaces sit on one thread-safe, UI-free ADB client that handles key events (31 mapped keycodes), text injection, app launch/stop with cached launch-activity resolution, device telemetry, and intent-based deep-linking into YouTube and the Silk browser.
The standout feature is an interactive screen view: it captures live screencaps back-to-back with rolling FPS and per-frame latency and maps canvas clicks and drags onto the TV's native 1920 × 1080 coordinate space, turning mouse gestures into precise taps and swipes.
Reliability is engineered in — a self-healing reconnect supervisor that escalates all the way to an adb kill-server/start-server restart, a concurrent /24 subnet scanner that auto-discovers devices by probing port 5555 across 254 hosts, and every long operation marshalled safely off the Tk main loop. It ships as a windowed PyInstaller executable with bundled ADB binaries and persistent JSON config for favorites, macros and known devices.