fire-tv-remote
desktop and REST control for a Fire TV, over ADB
- ~50-endpoint REST API
- live screen view, click-to-tap
- self-healing reconnect
- /24 device auto-discovery
A desktop control center that drives an Amazon Fire TV entirely over ADB. It exposes the device through a polished CustomTkinter GUI and a 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 built in. A self-healing reconnect supervisor escalates all the way to an adb kill-server/start-server restart, and a concurrent /24 subnet scanner auto-discovers devices by probing port 5555 across 254 hosts. Every long operation is marshaled 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.