samsung-tv
Skill1 starsChanged 3 days agoMITView on GitHub
Controls a Samsung Tizen smart TV from 2016 on through Home Assistant, with read-only checks against its local REST API: launching apps with a Home Assistant REST command, confirming app IDs, turning it on with a guarded power key, voice assistant scripts and casting a dashboard. Use when the user says "open Netflix on the TV", "find the Disney+ app ID", "the TV does not turn on from Home Assistant" or "show a dashboard on the TV". Not for Home Assistant YAML style in general, use `home-assistant`.
In this repository71 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-engineeringSkill
- ai-regression-testingSkill
- angularSkill
- ansibleSkill
- api-designSkill
- application-security-reviewSkill
- architecture-decision-recordsSkill
- arch-linuxSkill
- ascend-memorySkill
- ascend-web-hunterSkill
- asus-routerSkill
- audio-scribeSkill
- automation-inventorySkill
- backend-patternsSkill
- bashSkill
- build-dependency-managementSkill
- cachyosSkill
- code-formatterSkill
- code-reviewerSkill
- coding-standardsSkill
- dart-flutter-patternsSkill
- database-migrationsSkill
- deployment-patternsSkill
- design-systemSkill
- docker-patternsSkill
- e2e-runbooksSkill
- e2e-testingSkill
- embedded-c-arduinoSkill
- frontend-designSkill
- g-code-3d-printingSkill
- github-opsSkill
- git-workflowSkill
- golang-patternsSkill
- hexagonal-architectureSkill
- home-assistantSkill
- homelab-servicesSkill
- java-coding-standardsSkill
- jetbrains-ide-opsSkill
- jira-integrationSkill
- kde-plasmaSkill
- keycloak-patternsSkill
- kicadSkill
- machine-healthSkill
- macosSkill
- markdown-writerSkill
- mongodb-patternsSkill
- nextjs-app-router-patternsSkill
- node-backend-patternsSkill
- observability-and-loggingSkill
- obsidianSkill
- performance-optimizationSkill
- postgres-patternsSkill
- powershellSkill
- project-trackingSkill
- proxmoxSkill
- python-patternsSkill
- pytorch-patternsSkill
- quality-loopSkill
- react-patternsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Never print the websocket token from the config entry, and never copy it out of Home Assistant.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Samsung TV
How an agent drives a Samsung Tizen TV from Home Assistant and checks it directly without changing anything on it. The TV answers a REST API on port 8001 with no login, which is enough to read its state and to confirm whether an app is installed. Every command that changes something goes through Home Assistant, and every change there is asked of the owner first: an app launch through a rest_command that posts to port 8001, and a key or power through the samsungtv integration, which holds the token for the secure websocket on port 8002.
Written for Tizen TVs from 2016 on that use the websocket API, and Home Assistant 2026.10 and newer, where the samsungtv integration no longer sends Wake on LAN itself. A fact marked VERIFIED was measured on a 2024 QN85D in the Polish region, the launch and power facts on 2026-11-06 with Home Assistant 2026.10.4, or read in the source or vendor page that the reference file names. INFERRED carries a confidence and a reason. Everything else is UNVERIFIED and stays marked until it is measured.
| You are about to | Open |
Read the TV's device info, network type, MAC, Frame support or power state from port 8001, or what the launch POST answers | tv-rest-api.md |
| Find, confirm or choose an app ID, or explain why Home Assistant lists no apps | app-ids.md |
Launch an app, change a channel or send a remote key from Home Assistant, explain why play_media opens no app, or tell the two media players apart | home-assistant-control.md |
| Turn the TV on from Home Assistant, explain why the magic packet does not wake it, or why the entity has no turn on | power-on.md |
| Cast a Home Assistant dashboard to the TV, or put custom content in Ambient Mode | cast-and-ambient.md |
| Write the script a voice phrase runs to open a TV app, or give it several phrases on Alexa, Google Assistant or Assist | voice-assistants.md |
Facts about one setup
The TV's address, its MAC address, its entity IDs, the Home Assistant address and the token of a real setup belong in the owner's own notes, for example MACHINE.md next to the global AGENTS.md, never in this skill and never in a shared repository. Every example uses placeholders in angle brackets: <tv-ip>, <tv-mac>, <tv-entity> for the samsungtv media player, <tv-remote-entity> for its remote, <cast-entity> for the Google Cast one, <app-id>, <dashboard-path>, <view-path>.
When to activate
- Launching an app on the TV from Home Assistant, a script or an automation
- Finding or confirming the app ID of Netflix, YouTube, Disney+, Spotify or any other TV app
- Turning the TV on or off from Home Assistant, or a TV entity that offers no turn on
- Writing a voice assistant script that opens a TV app
- Casting a Home Assistant dashboard view to the TV
- Reading the TV's network type, MAC address or Frame support without touching its settings
- The user says "which Netflix ID works on my TV", "the app script runs but nothing opens", "Wake on LAN stopped working after the update" or "can Ambient Mode show my dashboard"
When not to activate
- Home Assistant YAML style, automation modes, secrets and backups in general, use
home-assistant - The Docker VM, its Compose stack and its services, use
homelab-services - The router, its DHCP leases and its Wi-Fi, use
asus-router - SmartThings appliances such as a washer or a fridge, which this skill does not cover
- Judging whether the TV's open ports or the token are acceptable, use the
security-auditoragent
Hard rules
- The agent only reads the TV directly:
GETonhttp://<tv-ip>:8001/api/v2/andhttp://<tv-ip>:8001/api/v2/applications/<app-id>. It never opens the websocket, sends a key, launches an app or sends any other method to the TV itself. The launchPOSTis sent by Home Assistant, never by the agent. - Ask before every change in Home Assistant: an automation, a script, an integration option, a restart, and every service call that acts on the TV. Say what changes, the worst case and how to undo it, then wait for a yes. One yes covers one change. Reading states and the TV's REST API is free.
- Confirm every app ID on the TV the script is for with the applications call before writing it into a script. A
404means that ID is not installed there. IDs differ by region and model. - Launch an app with a Home Assistant
rest_commandthat sendsPOSTtohttp://<tv-ip>:8001/api/v2/applications/<app-id>, called from one shared script that stops with an error when the status is not200. Never usemedia_player.play_mediawithmedia_content_type: appfor it, which does not open apps on a QN85D, and never the Cast entity. - Turning on needs an automation on the
samsungtv.turn_ontrigger, because the integration sends no magic packet itself in Home Assistant 2026.10 and newer. The magic packet did not wake a QN85D from standby, aKEY_POWERdid.KEY_POWERis a toggle, so the automation sends it only afterGET http://<tv-ip>:8001/api/v2/reportedPowerStatestandby. - Never print the websocket token from the config entry, and never copy it out of Home Assistant.
- A claim stays UNVERIFIED until it was measured on a real TV, and the mark goes with it into every note and script comment.
Related skills
home-assistantowns automation and script style, modes, secrets and backupshomelab-servicesowns the VM and the services that run beside Home Assistantasus-routerowns the router that hands the TV its address- The
home-assistant-engineeragent owns building and changing the Home Assistant configuration - The
security-auditoragent owns judging exposed ports and tokens
Checklist
- Every app ID in a script answered the applications call with its
nameon the TV the script is for - Apps launch through the shared script and its
rest_commandPOST, which stops with an error on a status other than200, never throughmedia_player.play_media - An automation on
samsungtv.turn_onsendsKEY_POWERonly whenPowerStatereadsstandby, and the entity shows turn on - Power On with Mobile is on in the TV's Expert Settings, and the network type was read before trusting Wake on LAN
- Home Assistant Cast is used only with an
httpsexternal URL set - No address, MAC, entity ID or token of a real setup in the skill or a shared repository
- Every change in Home Assistant had its own yes after the worst case and the undo were stated
- Every UNVERIFIED fact used is still marked UNVERIFIED in the result
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

