SmartThings TV Commands

Hi,

Can the SmartThings integration be amended to include support for other Media Commands (ex: Home, Direction Left, etc…) similar to other TV’s? These commands are supported by the Samsung SmartThings. Hopefully this means that the API used in our integration here can reference those?

Would be great!

Thank you!

I cannot find those commands anywhere. I’ve searched long & hard for those. The SmartThings API is actually fairly straight forward & pretty easy to use. If you can find out what they are, please let me know & I will add them. Almost everything can be easily tested in CURL. For example, here’s the CURL command to get a list of your devices.

curl -X GET https://api.smartthings.com/v1/devices -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

https://smartthings.developer.samsung.com/docs/api-ref/st-api.html

I myself sort of gave up on sending those navigation commands through SmartThings. I’m thinking the only way might be through a direct connection to the TV. There is already a feature request for that if you’d like to vote on it

Hi Bill,

I am able to turn the TV’s power on/off through the existing Smartthings integration, and a few other TV commands (will need to check which ones are working).

I’ve actually been tinkering trying to build a plugin to connect to the Samsung TV via WebSocket. I’m not able to get a connection going through The Home Remote (not getting a response from the TV), although I am able to when I test through Chrome’s WebSocket tool.

I’ll attach my latest code here to see if it’s helpful. SamsungTV.plugin (2.5 KB)

Sorry, I really don’t have time to help you with this right now. To be honest, you’re quite a ways away from having something functional. It’ll actually be quicker for me to write it myself. Vote for the feature request if you haven’t already.

1 Like

Good evening,

I can’t control my Samsung TV 2024 using smartthings.

These commands don’t work
_55NeoQled.MediaCommand
Value ; UP, DOWN,LEFT, RIGHT,EXIT, BACK, OK, MENU,HOME
_55NeoQled.Volume
Label; always remains the same %, Not updated
_55NeoQled.Mute
Label ; the feedback always remains the same

These commands work
_55NeoQled.MediaCommand
Value ; Mute, VolumeUp, VolumeDown,
_55NeoQled.InputSource
Value ; HDMI1 HDMI2, …
_55NeoQled.Switch
Value ; On, Off

Attached the file of my TV on the smartthings website.

And it would be easier to make a script to connect me in ip ao tv, directly without going through Smartthings.

Thank you for giving me answers

Sincerely.

[
{
“componentId”: “main”,
“capabilityId”: “audioMute”,
“name”: “setMute”
},
{
“componentId”: “main”,
“capabilityId”: “audioMute”,
“name”: “mute”
},
{
“componentId”: “main”,
“capabilityId”: “audioMute”,
“name”: “unmute”
},
{
“componentId”: “main”,
“capabilityId”: “audioVolume”,
“name”: “volumeDown”
},
{
“componentId”: “main”,
“capabilityId”: “audioVolume”,
“name”: “volumeUp”
},
{
“componentId”: “main”,
“capabilityId”: “audioVolume”,
“name”: “setVolume”
},
{
“componentId”: “main”,
“capabilityId”: “custom.accessibility”,
“name”: “setAccessibility”
},
{
“componentId”: “main”,
“capabilityId”: “custom.energyType”,
“name”: “setEnergySavingLevel”
},
{
“componentId”: “main”,
“capabilityId”: “custom.error”,
“name”: “setError”
},
{
“componentId”: “main”,
“capabilityId”: “custom.launchapp”,
“name”: “launchApp”
},
{
“componentId”: “main”,
“capabilityId”: “custom.recording”,
“name”: “recordStart”
},
{
“componentId”: “main”,
“capabilityId”: “custom.recording”,
“name”: “recordStop”
},
{
“componentId”: “main”,
“capabilityId”: “custom.tvsearch”,
“name”: “search”
},
{
“componentId”: “main”,
“capabilityId”: “demandResponseLoadControl”,
“name”: “overrideDrlcAction”
},
{
“componentId”: “main”,
“capabilityId”: “demandResponseLoadControl”,
“name”: “requestDrlcAction”
},
{
“componentId”: “main”,
“capabilityId”: “execute”,
“name”: “execute”
},
{
“componentId”: “main”,
“capabilityId”: “logTrigger”,
“name”: “triggerLogWithUrl”
},
{
“componentId”: “main”,
“capabilityId”: “logTrigger”,
“name”: “triggerLogWithLogInfo”
},
{
“componentId”: “main”,
“capabilityId”: “logTrigger”,
“name”: “triggerLog”
},
{
“componentId”: “main”,
“capabilityId”: “mediaInputSource”,
“name”: “setInputSource”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “play”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “stop”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “rewind”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “fastForward”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “setPlaybackStatus”
},
{
“componentId”: “main”,
“capabilityId”: “mediaPlayback”,
“name”: “pause”
},
{
“componentId”: “main”,
“capabilityId”: “mediaTrackControl”,
“name”: “previousTrack”
},
{
“componentId”: “main”,
“capabilityId”: “mediaTrackControl”,
“name”: “nextTrack”
},
{
“componentId”: “main”,
“capabilityId”: “ocf”,
“name”: “postOcfCommand”
},
{
“componentId”: “main”,
“capabilityId”: “refresh”,
“name”: “refresh”
},
{
“componentId”: “main”,
“capabilityId”: “samsungim.findNodeGeolocation”,
“name”: “update”
},
{
“componentId”: “main”,
“capabilityId”: “samsungim.fixedFindNode”,
“name”: “refresh”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.ambient”,
“name”: “setAmbientOn”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.ambientContent”,
“name”: “setAmbientContent”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.appControl”,
“name”: “launch”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.firmwareVersion”,
“name”: “setFirmwareVersion”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.lightControl”,
“name”: “setLightControlMode”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.mediaInputSource”,
“name”: “setInputSource”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.pictureMode”,
“name”: “setPictureMode”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.remoteControl”,
“name”: “send”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.sensorStates”,
“name”: “setSensorState”
},
{
“componentId”: “main”,
“capabilityId”: “samsungvd.soundMode”,
“name”: “setSoundMode”
},
{
“componentId”: “main”,
“capabilityId”: “sec.deviceConnectionState”,
“name”: “refreshConnection”
},
{
“componentId”: “main”,
“capabilityId”: “sec.smartthingsHub”,
“name”: “onboarding”
},
{
“componentId”: “main”,
“capabilityId”: “sec.smartthingsHub”,
“name”: “cancelOnboarding”
},
{
“componentId”: “main”,
“capabilityId”: “soundDetection”,
“name”: “disableSoundDetection”
},
{
“componentId”: “main”,
“capabilityId”: “soundDetection”,
“name”: “enableSoundDetection”
},
{
“componentId”: “main”,
“capabilityId”: “switch”,
“name”: “off”
},
{
“componentId”: “main”,
“capabilityId”: “switch”,
“name”: “on”
},
{
“componentId”: “main”,
“capabilityId”: “tvChannel”,
“name”: “channelDown”
},
{
“componentId”: “main”,
“capabilityId”: “tvChannel”,
“name”: “setTvChannel”
},
{
“componentId”: “main”,
“capabilityId”: “tvChannel”,
“name”: “channelUp”
},
{
“componentId”: “main”,
“capabilityId”: “tvChannel”,
“name”: “setTvChannelName”
}
]

Summary

This text will be hidden

I don’t have smart things controller, but do other commands from THR control other devices through smart things, that is, is it just the TV?

This is a Samsung TV connected to the SMARTTHINGS app. The THR commands I mention are for TVs.

No one can help me with my missing commands.

Hi fabrice,
unfortunately I don’t have a Samsung TV either - perhaps the commands are case-sensitive. You could try instead of “UP, DOWN,LEFT, RIGHT” / Up, Down, Left, Right …

I have checked the Commands in THR for my LG and they looks similar to your Samsung commands (ChannelUp, ChannelDown …)
OK button is named: Select
LEFT button is named: DirectionLeft
RIGHT button is named: DirectionRight

In the picture you can see the settings for the Volume Label, maybe it works for you in the same way.