$npx skillfedfor your agent

samsungtvws

Samsung Smart TV WS API wrapper

With conditionsPyPI NetworkingReleased May 2026117.7K downloads / moLGPL-3.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — samsungtvws-3.0.5-py3-none-any.whl
v3.0.5 · released 2026-05-28 · Python >=3.9 · 3 runtime deps: websocket-client, requests, yarl

Yes, if you own a compatible Samsung TV and need programmatic control. The library is actively maintained, has low install friction, and covers a broad range of TV models and control scenarios. The LGPL-3.0 license is permissive for most use cases but requires derivative works to remain open-source. The main gotcha is the subnet restriction—your TV must be on the same network as your client.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • TV must be on the same subnet as the client; WebSocket connections across different subnets or VLANs are not supported by Samsung TVs.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a recent commit on 2026-08-08 and 419 repository stars.

License · maintenance · safety

LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must remain open-source under the same license; proprietary applications using this library must comply with copyleft obligations.

last release 2026-05-28 (78 days) · last repo commit 2026-08-08 · 419 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 117,705 downloads/mo, #12,154 on PyPI

Verify before relying

pip install samsungtvws

from samsungtvws import SamsungTVWS

tv = SamsungTVWS(host="192.168.1.50")
tv.power()
  • Whether the library works reliably with all Tizen OS TVs from 2016 onward or if specific TV models have known compatibility issues.
  • Performance characteristics when controlling multiple TVs concurrently or sending rapid command sequences.
  • Whether the encrypted v1 API for older Orsay TVs (H series 2014, J series 2015) is actively maintained or deprecated.
Same gist for agents: .md · .json

What it is and what it does

Samsungtvws is a Python wrapper around Samsung Smart TV control APIs, letting you remotely control Tizen OS TVs (2016+) and older Orsay models via WebSocket or REST. It handles both synchronous and asynchronous control flows, with optional support for encrypted connections on legacy hardware. The library exposes remote key commands, app management, device information queries, Wake-on-LAN, and Art Mode control for Frame TVs—either programmatically from Python code or via a command-line interface.

The package depends on websocket-client, requests, and yarl for core networking, with optional extras for async I/O (aiohttp, websockets), encryption (cryptography, py3rijndael), and CLI tooling (typer, wakeonlan). It is actively maintained, marked as production-stable, and requires Python 3.9 or later. No known security vulnerabilities are recorded.

Use it for

  • Automate TV power, volume, and input switching in a home automation system without a dedicated remote.
  • Launch apps or open URLs on the TV programmatically from a Python application or script.
  • Integrate Samsung TV control into a larger smart-home orchestration platform via async APIs.
  • Manage Art Mode on Frame TVs—upload images or toggle the feature from a custom application.
  • Build CLI tooling to quickly test TV connectivity and send remote commands for debugging or scripting.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you own a compatible Samsung TV and need programmatic control.

The library is actively maintained, has low install friction, and covers a broad range of TV models and control scenarios. The LGPL-3.0 license is permissive for most use cases but requires derivative works to remain open-source. The main gotcha is the subnet restriction—your TV must be on the same network as your client.

Install

samsungtvws on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a recent commit on 2026-08-08 and 419 repository stars. Requires Python >= 3.9.

TV must be on the same subnet as the client; WebSocket connections across different subnets or VLANs are not supported by Samsung TVs.

License in practice

Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must remain open-source under the same license; proprietary applications using this library must comply with copyleft obligations.

Quickstart

pip install samsungtvws

from samsungtvws import SamsungTVWS

tv = SamsungTVWS(host="192.168.1.50")
tv.power()

Verify before relying

  • Whether the library works reliably with all Tizen OS TVs from 2016 onward or if specific TV models have known compatibility issues.
  • Performance characteristics when controlling multiple TVs concurrently or sending rapid command sequences.
  • Whether the encrypted v1 API for older Orsay TVs (H series 2014, J series 2015) is actively maintained or deprecated.

Package facts

LicenseLGPL-3.0 copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
websocket-clientrequestsyarl
MaintenanceActively maintained 78 days since the last release
Last repo commit
First released
Downloads117,705 / month, #12,154 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3

Evidence: samsungtvws-3.0.5-py3-none-any.whl

Tags

Capabilities
samsung tv remote control pythonwebsocket tv api wrappersmart tv automation librarysamsung tizen os controltv device integration python
Topics
home-automationdevice-controlwebsocket-api

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “samsung tv remote control python”

  • samsungtvwsA Python library for remotely controlling Samsung Smart TVs via…
  • androidtvremote2A Python library for controlling Android TV devices over the network…
  • aiowebostvAsync Python library for controlling LG webOS-based TV devices over…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also pyatv · pybravia · pykodi · aiowebostv · androidtvremote2 · httpx-ws · pysensibo · websockets-proxy · aioshelly · wakeonlan