I’m trying to figure out how to program a mousepad/trackball control to move a cursor of my smart tv, like the smartthing mobile app does.
Looking at the rest api I am able to list the device capabilities which are listed below.
Is it possible to send commands to this device to achieve that with the smarthings api via http requests ?
thanx.
{
“deviceId”: “fd866b6b-2bd8-40c8-95fa-d74d10e96f87”,
“name”: “[TV] Samsung 7 Series (50)”,
“label”: “Samsung 7 Series (50)”,
“manufacturerName”: “Samsung Electronics”,
“presentationId”: “VD-STV_2018_K”,
“deviceManufacturerCode”: “Samsung Electronics”,
“locationId”: “850c86b8-c91f-4417-a543-00ac84e0f5b0”,
“roomId”: “a99a9bbc-1dc7-47e5-ac97-e4deaf7b8764”,
“deviceTypeName”: “Samsung OCF TV”,
“components”: [
{
“id”: “main”,
“capabilities”: [
{
“id”: “switch”,
“version”: 1
},
{
“id”: “audioVolume”,
“version”: 1
},
{
“id”: “audioMute”,
“version”: 1
},
{
“id”: “tvChannel”,
“version”: 1
},
{
“id”: “mediaInputSource”,
“version”: 1
},
{
“id”: “mediaPlayback”,
“version”: 1
},
{
“id”: “custom.picturemode”,
“version”: 1
},
{
“id”: “custom.error”,
“version”: 1
},
{
“id”: “custom.soundmode”,
“version”: 1
},
{
“id”: “custom.accessibility”,
“version”: 1
},
{
“id”: “custom.launchapp”,
“version”: 1
},
{
“id”: “custom.recording”,
“version”: 1
},
{
“id”: “custom.tvsearch”,
“version”: 1
},
{
“id”: “samsungtv.firmwareVersion”,
“version”: 1
},
{
“id”: “samsungtv.supportsPowerOnByOcf”,
“version”: 1
},
{
“id”: “refresh”,
“version”: 1
},
{
“id”: “execute”,
“version”: 1
},
{
“id”: “ocf”,
“version”: 1
},
{
“id”: “mediaTrackControl”,
“version”: 1
}
],
“categories”: [
{
“name”: “Television”
}
]
}
],
“profile”: {
“id”: “d041cd49-51e0-47c9-8645-b7b3479d7b9c”
},
“type”: “OCF”,
“restrictionTier”: 0
}