The brief
The app speaks the Android TV Remote v2 protocol, the one the official Google TV app uses. There is no cloud, no account and no analytics, and the only network traffic is to your own TV.
What it does
Finding and pairing. It discovers the TV with Bonjour, or you can enter an IP address. You pair once with the code on the TV screen and it reconnects on its own after that.
The remote. Power, mute, d-pad, volume with hold-to-repeat, and a touchpad mode. It shows the TV’s power state and the app in the foreground.
Networking. The networking lives in its own Swift package with no UI dependencies. On first launch the app generates a self-signed certificate and keeps it in the Keychain. The protocol logic is a Swift port of androidtvremote2, the library behind Home Assistant.
Where it stands
Pairing, control, discovery and the main remote screen work against a real Chromecast with Google TV. The rest is still in progress.