Use this if something went wrong, or you just do not want it any more. Nothing couch-tv does deletes anything from the TV. It only switches things off, so everything can be switched back on.
The bridge checks once a day that the Google home is still off and switches it off again. Stop it before you touch the TV, or it can undo your undo.
launchctl bootout gui/$(id -u)/app.couchtv.bridge, then delete
~/Library/LaunchAgents/app.couchtv.bridge.plist.systemctl --user disable --now couch-tv-bridge (the name you gave the .service
file), delete ~/.config/systemd/user/couch-tv-bridge.service, then
systemctl --user daemon-reload. If you ran loginctl enable-linger $USER only for couch-tv,
loginctl disable-linger $USER undoes it.Options A and C have no bridge on a computer: go straight on.
From the couch-tv folder on the computer you set it up with:
TV_IP=<your tv address> DEV_OFF=1 sh tv-home/tools/remove-all.sh
It first checks the computer can still reach the TV. If it cannot, it changes nothing, prints the TV-remote steps below and stops. Otherwise it does all of this, in order, and stops at the first thing that fails:
apply.sh
switched off back on, and makes the home the TV had before couch-tv the home again.app.couchtv.launcher and the “lives on the TV”
app dev.couchtv.ontv).DEV_OFF=1 to
keep Developer options on.Press Home on the TV. You should see the normal Google TV home.
To remove only one app by hand, without the rest:
TV_IP=<your tv address> .venv/bin/python tv-home/tools/tvadb.py shell "pm uninstall app.couchtv.launcher"
(nothing else to install: tvadb.py is the small ADB client in this repo).
client_name). On the TV: Settings, Remotes and accessories (on some TVs
Settings, System, Remotes and accessories, or Paired devices), pick it and choose
Forget or Unpair. Leaving it does no harm: nothing can use it once the bridge is gone.~/.android/adbkey and ~/.android/adbkey.pub are the key the TV
said “Always allow” to. Delete them if nothing else on the computer uses ADB (Android Studio
and Google’s adb use the same files). “Revoke USB debugging authorisations” below forgets it
on the TV’s side.undo.sh takes back “display over other apps” (the doorbell
card). In Home Assistant, delete the TV’s long-lived access token (its user’s profile, Security)
or the whole TV user. Removing the app from the TV removes its copy of the token too.bridge/data/ holds
it, plus config.json and .env).Do step 3 before step 4. If the couch-tv home is removed while Google TV Home is still off, the TV has no home screen. Apps still open from the remote’s app buttons, and the computer way above still works.
On some TVs the switch is under Settings, System, About instead. If there is no off switch, a restart after step 3 is enough: nothing can connect any more.
apply.sh again to put couch-tv back.apply.sh again.