Samsung TV (Tizen)
Controls Samsung Tizen TVs (2016 and later) for navigation, inputs, transport, and remote keys. It connects over the TV’s remote-control WebSocket.
Connection
Section titled “Connection”Network, over WebSocket: secure wss on port 8002, or plain ws on port 8001. The first connection triggers a pairing prompt on the TV; accepting it yields a token, stored as a managed secret.
Power-on is handled by Wake-on-LAN, which needs the TV’s MAC address — taken from the TV itself where it can be. Power state is read back over the TV’s REST interface.
- Host — the TV’s address.
- MAC address — needed for Wake-on-LAN power-on, and usually filled in automatically. A set on Wi-Fi publishes its own address in the REST document the driver already reads. A set on a cable does not — it still reports only its Wi-Fi card, which is the wrong one to wake — so for those the address comes from the hub’s own neighbour table instead, and only when the TV shares a network with the hub. A MAC you type is never overwritten.
- Pairing — run
pair_begin, then accept the prompt on the TV to obtain the token.
What it can do
Section titled “What it can do”| Command | What it does |
|---|---|
pair_begin | Start pairing (accept the prompt on the TV) |
power_on (WoL) / power_off / power | Power the TV on or off |
volume_up / volume_down / mute | Adjust or mute volume |
channel_up / channel_down | Change channel |
nav | Navigate the on-screen interface |
menu / guide / info / exit / tools | On-screen shortcuts |
source / input_hdmi1–input_hdmi4 / input_tv | Select an input |
| transport | Play, pause, and related transport control |
red / green / yellow / blue | Colour keys |
send_key | Send a raw KEY_* code (e.g. KEY_NETFLIX) |
Reports state and implements input-source discovery, so it exposes the TV’s real input list. It ships a remote template.