Htec Samsung TV
IP control for Samsung smart TVs from 2016 on, including The Frame: power, HDMI inputs, exact volume and mute with
feedback, navigation, apps and Art Mode. Built to stay connected: the driver checks the TV every 10 seconds,
reconnects by itself, keeps commands waiting while the TV wakes, and follows the TV if its IP address changes.
Htec license
- Free trial: without a key the driver runs a free 2-day trial on this controller (the controller needs internet;
Htec License Status shows the time left).
- License: send the Htec Controller ID to Htec, then paste the key you receive into Htec License Key.
Keys for this driver start with SAM-; an Htec ALL- key also works. The driver checks the license
with www.htecmarine.com once a day.
Setup (2 minutes)
- On the TV: turn on Settings > General > Network > Expert Settings > Power On with Mobile
(called IP Remote or Network Standby on some models). This lets Control4 wake the TV over the network.
Give the TV a fixed (reserved) IP address in your router if you can.
- In Composer: add the driver to the room. Run Actions > Find Samsung TVs; if only one TV is found,
its IP address is filled in, otherwise copy it from Found TVs into IP Address.
- Pair: with the TV on, a prompt appears on the TV: choose ALLOW with the TV remote. Paired
changes to Yes. The pairing is saved; you never need to allow it again. If you missed it, run
Actions > Pair with TV.
- Connections: bind the HDMI inputs to your sources and the Room Selection - Output to the room,
as with any Control4 TV.
How it stays connected
- The MAC Address is filled in automatically the first time the TV is seen; Wake-on-LAN uses it.
- When the TV is off it usually stops answering; that is normal. ON sends Wake-on-LAN several times, waits up
to Wake Time seconds for the TV, then sends the commands that were waiting (for example the HDMI input).
- If the TV's IP address changes, the driver finds it again by its unique ID (with Follow IP Address Changes on)
and updates IP Address by itself.
- Diagnostics shows how long the control link has been up, reconnects, drops, wakes and IP changes.
Events Connection Lost and Connection Restored can alert you in programming.
TV Sync button (Control4 app)
The driver adds a TV Sync button to the room in the Control4 app (iPad, phone, touchscreen). Rename it in
Composer (for example "Salon TV Sync") and place it like any other room button.
- Green check: synced. Control4 is connected to the TV, or the TV is off normally.
- Amber arrows: reconnecting or waking the TV.
- Red warning: lost sync. The TV should be on but has not answered for 30 seconds, or it asks to be allowed
again. Tap it to resync: Control4 reconnects at once, wakes the TV, looks for it at a new IP address or starts
pairing, whichever is needed. The same is in Actions > Resync with TV.
The event Sync Lost and the variable SYNC_STATE (Synced / Syncing / Lost) can drive a push notification or an
announcement. With Power On with Mobile enabled the TV stays visible when off, so the driver can tell "turned off"
from "lost connection" and the button never turns red just because the TV is off.
Volume
Exact level with feedback (default) sets and reads the TV's volume and mute directly, so Control4 shows the real
level. If a TV does not support it, choose Up/Down keys only.
The Frame
The Frame: Off Command chooses whether OFF goes to Art Mode (default) or turns the TV fully off.
The programming command ART_MODE switches Art Mode on or off.
Apps and programming
- Installed Apps lists the apps on the TV. LAUNCH_APP opens one by name (for example Netflix, YouTube,
Prime Video, Disney+, Apple TV, Plex) or by app ID.
- SEND_KEY sends any Samsung remote key (for example KEY_HOME, KEY_SOURCE, KEY_AMBIENT).
- Variables: POWER_STATE, VOLUME, MUTE, CURRENT_INPUT. Events: TV Turned On/Off, Connection Lost/Restored,
Pairing Needed, IP Address Changed.
Troubleshooting
- Never pairs: on the TV, open Settings > General > External Device Manager > Device Connection
Manager, make sure Access Notification is on and "Htec Control4" is not denied, then run Pair with TV.
- Does not turn on: check Power On with Mobile on the TV and that MAC Address is filled in. The
controller and TV must be on the same network.
- Set Debug Mode to On and watch the Lua output. Last Error shows the latest problem.
Version history
- 1.2: fixes power on by Wake-on-LAN and commands sent while the TV was waking (a timer error on the controller).
- 1.1: no installer password needed: IP Address and MAC Address can be typed directly.
- 1.0: first release: TV Sync button in the Control4 app (green / amber / red, tap to resync), self-healing connection, Wake-on-LAN with command queue, IP following, exact volume
with feedback, HDMI 1-4, apps, The Frame Art Mode, diagnostics, Htec license and 2-day free trial.
Htec Samsung TV © 2026 Htec. All rights reserved. Licensed per controller.
Samsung is a trademark of Samsung Electronics; Htec is not affiliated with Samsung.