Matrix_TV_The_Construct

couch-tv on a Samsung TV

Samsung TVs run Tizen, not Android, and Samsung does not let any app replace its home screen. So couch-tv on a Samsung is an app that opens itself, not a true home screen:

It needs a computer at home that stays on (option B). Without one you can still install the app and open it from Samsung’s app row, but nothing opens it for you.

Test status

Built in October 2026 and tested so far on a 2021 Samsung Frame (Tizen 6.0) and against a stand-in TV on the computer:

What works and what does not

  Samsung
couch-tv home as an app, apps in your order, the remote’s arrows, OK and Back Yes
Opens by itself when the TV is switched on Yes, with the bridge running
Samsung’s own Home button Still opens Samsung’s menu. Press Back or open couch-tv from the app row
Phone remote: keys, volume, mute, open an app Yes (the TV asks to Allow the remote once). Mute goes over UPnP
More than one TV on one phone remote Yes: one bridge runs Google TVs and Samsungs together (several entries in config.json), the remote’s TV menu switches between them
“Put on Bluey” (find and play) Netflix: opens the show and presses Play (tested). YouTube: opens the video. Prime Video, Stan, Binge, Paramount+, Apple TV: the couch-tv app hands them the title, then Play is pressed by timing (Prime seen opening, the title page not yet confirmed). Disney+ and others: open on their home page and the reply says to pick the show there
“Who’s watching?” in an app OK is pressed, which takes the highlighted profile (usually the first). It cannot pick yours by name: Samsung gives no way to read the screen
Typing into the TV from the phone Only while the TV shows its own keyboard
Turning the TV on from the phone Only if the TV allows it over the network (see “Turning it on”)
What is playing, a progress bar, screenshots, the Claude ask’s “look at the screen” No. Samsung gives none of these to the network remote
Keep watching From couch-tv’s own history only (what you started through couch-tv)
Picture mode switch, ADB tools, re-disabling the stock home No (Android only)

Frame TVs: “off” from the phone, the sleep timer and a short press of power go to Art Mode, as the Frame’s own remote does. The hook treats Art Mode as off, so leaving Art Mode counts as switching the TV on.

Before you start

Set it up

1. Developer Mode on the TV

  1. On the TV open Apps (the app store).
  2. Press 1 2 3 4 5 on the remote. If your remote has no number buttons, use the on-screen number pad that some models show, or the phone remote’s number keys once the bridge is paired.
  3. Switch Developer mode to On and type the IP address of the computer that will install the app (the bridge computer). Press OK.
  4. Restart the TV: hold the power button until the TV switches off and on again (a short press only sends it to standby or Art Mode).

Check from the computer:

apps2samsung-cli tv <tv address>

It should say “ready”, Developer mode on, and your computer’s address as the host.

2. Build the app

.venv/bin/python samsung/build.py --bridge http://<bridge computer's address>:5400

Use the computer’s number address (for example http://192.0.2.20:5400), not its .local name: the TV looks the name up only now and then and can miss it. With more than one TV in config.json, add --tv <id> for this TV. This makes build/samsung/CouchTV.wgt. It holds the TV home, the app ids for Samsung, and a copy of your settings for when the computer is off. No passwords or keys go in it.

3. Install it (the Samsung sign-in happens here, once)

apps2samsung-cli install build/samsung/CouchTV.wgt --tv <tv address>

The first time, a browser opens for the Samsung account sign-in. After that the certificate is kept on the computer and later installs need nothing. The app appears on the TV’s app row as Couch TV and opens.

4. Tell the bridge about the TV

In config.json, add the TV with "kind": "samsung":

{ "id": "lounge", "name": "Lounge", "kind": "samsung", "ip": "<tv address>", "mac": "<tv mac>" }

mac is the TV’s network (MAC) address: Settings, General, Network, Network Status, IP Settings, or the Wi-Fi MAC that http://<tv address>:8001/api/v2/ prints. Restart the bridge.

5. Allow the remote (someone at the TV, once)

The first key sent from the phone (or the hook’s first “open couch-tv”) makes the TV show “Allow Couch TV bridge to connect?”. Press Allow. The TV gives the bridge a token, kept in bridge/data/samsung-<id>-token.txt, and never asks again. If you pressed Deny by mistake: Settings, General, External Device Manager, Device Connection Manager, Device List, and allow it there.

Reading the TV (power, which app is open, the volume) needs no Allow. Keys and opening apps do.

6. Check it

How the hook works

bridge/samsung.py asks the TV every 2 seconds, on its own network ports, which need no pairing:

When the TV goes from off (or Art Mode) to on, the bridge waits a moment, and if no app is on screen (the TV is on live TV, an HDMI input or Samsung’s menu) it opens couch-tv with the TV’s REST call (POST http://<tv>:8001/api/v2/applications/<app id>; the remote’s ed.apps.launch is the fallback). If the TV came back straight into an app (some TVs reopen the last app), it is left alone. Anything the phone remote or Claude just asked for also wins: the hook stays quiet for 20 seconds after any command, except a power press, so turning the TV on from the phone also lands on couch-tv. "open_on_power_on": false in config.json turns the hook off.

Netflix and YouTube titles open through DIAL (port 8080, the protocol phones use to cast), which needs no pairing.

Other apps take a title the way Samsung’s own Universal Guide gives one: an app id plus action_data (Prime Video a gti, Stan a guid, Binge an EventId, Paramount+ a URL). JustWatch lists these for each title (deeplinkURL(platform: TIZENOS), bridge/finder.py). A 2021 Frame ignores them over the network remote, but an app on the TV may pass them on: the couch-tv app collects the job from the bridge (/api/tizen/next) and calls tizen.application.launchAppControl with the operation http://samsung.com/appcontrol/operation/eden_resume and PAYLOAD = {"values": <action_data>}. The couch-tv app only runs while it is on screen, so the bridge brings it forward first. Then it presses OK by timing (BLIND in bridge/samsung.py): on a fresh start once for the profile screen, then for Play. Only Netflix’s timing has been checked on a real TV; if an app ends up on the show’s page without playing, press OK.

Turning it on

When a Samsung is properly off it leaves the network, and only a Wake-on-LAN packet can reach it, and only if the TV allows it: Settings, General, Network, Expert Settings, Power On with Mobile (or IP Remote / Network Standby, depending on the year). On Wi-Fi this is unreliable on some models; a cable is more reliable. If it does not wake, the phone says so and you use the TV’s remote. A Frame in Art Mode is still on the network, so “on” from the phone always works there.

Limits to know

Undo

  1. Remove the app: apps2samsung-cli uninstall CouchTVApp --tv <tv address>. Some TVs keep the tile after this. Then delete it on the TV: Apps, Settings (the cog), pick Couch TV, Delete.
  2. Developer Mode off: Apps, 1 2 3 4 5, Developer mode Off, restart the TV.
  3. Take the TV out of config.json and restart the bridge. To also remove the remote’s permission: Settings, General, External Device Manager, Device Connection Manager, Device List, delete “Couch TV bridge”.

Nothing else on the TV was changed.