[
{
"creationTime": 1666871965346,
"deviceURL": "rts://2017-1033-8638/16774911",
"available": true,
"synced": true,
"type": 1,
"states": [],
"label": "Gym blind",
"definition": {
"states": [],
"widgetName": "UpDownScreen",
"attributes": [],
"uiClass": "Screen",
"commands": [
{
"nparams": 0,
"commandName": "stop",
"paramsSig": "*p1"
},
{
"commandName": "test",
"nparams": 0
},
{
"nparams": 0,
"commandName": "open",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "close",
"paramsSig": "*p1"
},
{
"commandName": "identify",
"nparams": 0
},
{
"nparams": 0,
"commandName": "up",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "down",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "my",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "openConfiguration",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "rest",
"paramsSig": "*p1"
}
],
"type": "ACTUATOR"
},
"attributes": [],
"enabled": true,
"controllableName": "rts:BlindRTSComponent",
"subsystemId": 0
},
{
"creationTime": 1666871964036,
"deviceURL": "rts://2017-1033-8638/16746440",
"available": true,
"synced": true,
"type": 1,
"states": [],
"label": "Living room blind",
"definition": {
"states": [],
"widgetName": "UpDownScreen",
"attributes": [],
"uiClass": "Screen",
"commands": [
{
"nparams": 0,
"commandName": "stop",
"paramsSig": "*p1"
},
{
"commandName": "test",
"nparams": 0
},
{
"nparams": 0,
"commandName": "open",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "close",
"paramsSig": "*p1"
},
{
"commandName": "identify",
"nparams": 0
},
{
"nparams": 0,
"commandName": "up",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "down",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "my",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "openConfiguration",
"paramsSig": "*p1"
},
{
"nparams": 0,
"commandName": "rest",
"paramsSig": "*p1"
}
],
"type": "ACTUATOR"
},
"attributes": [],
"enabled": true,
"controllableName": "rts:BlindRTSComponent",
"subsystemId": 0
}
]
Edit as I'm not allowed to post any more....
I've tried up and down etc but get the same result. I've gone back to Swagger which produces this curl:
curl -X 'POST'
'https://gateway-2017-1033-8638.local:8443/enduser-mobile-web/1/enduserAPI/exec/apply'
-H 'accept: application/json'
-H 'Authorization: Bearer 638f79237fbe15af7b48'
-H 'Content-Type: application/json'
-d '{
"label": "string",
"actions": [
{
"commands": [
{
"name": "down"
}
],
"deviceURL": "rts://2017-1033-8638/16774015"
}
]
}'
which returns an execId but also:
Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.
The blind doesn't move.