Samsung TV Binding (Beta)
This is an updated version of the samsungtv binding. it has specific channels for Frame TV’s, but also has been completely re-written for enhanced stability and function. it supports all Samsung TV’s (not just Frame TV’s).
NOTE: Encryted TV’s from 2014/2015 (H and J versions) are NOT supported.
Key features:
- Supports power/artMode/off function
- Stores TV token after first connection
- allows multiple KEY_CODES to be sent, with
- delays
- long key press
- mouse moves and clicks
- text entry
- Supports app read and launching in >2020 TV’s.
- Supports Smartthings connection:
- read/change TV input
- read channel number/name
- Has specific channels for Frame TV’s artwork support.
See the Documentation for full details, configurations etc.
You must uninstall the original samsungtv
binding if you have it installed.
You may have to load UPnP transport as well if you use the .jar
file. From the console:
feature:install openhab-transport-upnp
If you use the .kar
file, it should take care of installing the UPnP transport for you, but the .kar
file is untested.
Changelog
Version 01.0
initial release
Version 01.01
Attempt to trap polling job Exceptions, and included .kar
file.
Version 01.02
Bug Fixes for 2017/2018 TV’s
Version 1.03
Pull Request release version.
Version 1.04
This Release adds over 340 known app ID’s, which should be automatically checked on >2020 TV’s. Some bug fixes, and polling is now delayed 10 seconds on TV power on, and disabled on TV power off.
Version 1.05
Added back two frame TV Channels that got accidentally left out.
Version 1.06
Fixed creation of services after WOL. Should make power ON more reliable.
Version 1.07
Added option to subscribe to UPNP events (reduces polling slightly). Some bug fixes.
Version 1.08
Increased websocket buffer sizes from 64k to 1Mb. Large thumbnail images should now download correctly. Thumbnails are now only downloaded if the ART_IMAGE channel is linked.
Version 1.09
Fixed <2019 Frame TV thumbnail downloads, changed websocket connect logic.
Version 1.10
Fixed SmartThings API Device ID discovery.
Version 1.11
Improved Websocket handling, and TV app launching on <2020 TV. Bug Fixes.
Version 1.12
Changes requested by PR reviewers. Location of the custom app file has been moved from misc/samsungtv.applist
to services/samsungtv.cfg
. Please move and rename this file if it previously existed. Bug Fixes.
Version 1.13
Changes for 2022 Frame TV to allow basic support. NOTE most art mode channels will NOT work on the 2022 Frame TV due to Samsung removing the art api interface.
2022 Frame TV channels supported: artMode
and setArtMode
. setArtMode
is a new channel, intended to allow you to manually tell the binding if the TV is in artMode or not, as the binding can no longer determine this from the TV (for instance if you use the remote control the binding will not be able to tell). Use only with 2022 Frame TV’s!.
New support for SmartThings subscriptions. No more polling of SmartThings required!
Improved WebSocket handling.
Version 1.14
Minor fixes, and removal of the Smarthings Subscription control of power state as it was proving difficult to handle correctly.
Version 1.15
First Openhab 4.0 release
Version 1.16
Added automatic channel update for existing things
Version 1.17
Added KEY_MULTI_VIEW a long press of this key rotates the Frame TV from landscape to portrait mode if you have the auto rotation mount.
Version 1.18
Added workaround for missing PowerState value in Series 7 TV’s, plus label fixes.
Version 1.19
Added certificate trust, updated copywrite for 2024
Version 1.20
Reintroduced the art api for Frame TV’s 2022+. This was recently added back by Samsung in firmware V1622. All art channels should be functional again. This version is for OpenHAB 4.20 and above only.
Version 2.0
Fixed bug in channel number parsing. Added ability to poll Smartthings channels by disabling Smartthings subscription. Added new Switch channel artOrientation
for people with the Frame auto-rotiation mount.
Version 2.01
Fixed power ON bug.
Resources
org.openhab.binding.samsungtv-4.3.0-SNAPSHOT.jar
org.openhab.binding.samsungtv-4.3.0-SNAPSHOT.kar
Previous Versions
org.openhab.binding.samsungtv-3.3.0-SNAPSHOT.jar
org.openhab.binding.samsungtv-3.3.0-SNAPSHOT.kar