I want to control the Samsung Smart TV via cloud APIs using SmartThings.
Every operations are working fine except Navigation control.
Model - UA55DU8300ULXL
I tried following Request :
curl --location 'https://api.smartthings.com/v1/devices/738ca837-77d2-88d8-b4e0-ebc3e5121efc/commands?=null' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Token' \
--data '{
"commands": [
{
"component": "main",
"capability": "samsungvd.remoteControl",
"command": "navigateRight"
}
]
}'
Response:
{
"requestId": "3719356782267280912",
"error": {
"code": "ConstraintViolationError",
"message": "The request is malformed.",
"details": [
{
"code": "NotValidValue",
"target": "commands[0].Command(component=main, capability=samsungvd.remoteControl, command=navigateRight, commandId=null, arguments=[])",
"message": "navigateRight is not a valid value.",
"details": []
}
]
}
}
Can anyone help me regarding correct commands via api to control TV navigation like left, right, up and down.