question

newuser-25efd199-1833-4acb-a01a-a670b106b092 avatar image

Smart Home Skill, turn on is OK, turn off responds 'xxx doesn't support that.'

I make a Smart Home Skill with alexa to control a camera, the discovery capabilities contains PowerController interface. Few days ago, turn on and turn off directive were responded OK.but now the turn on directive responded OK and the turn off directive responded 'xxx doesn't support that.'

alexa smart homecamera
1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

{
"event": {
"header": {
"namespace": "Alexa.Discovery",
"name": "Discover.Response",
"payloadVersion": "3",
"messageId": "963737f9-97dd-4f90-9c4e-1933d7c17691"
},
"payload": {
"endpoints": [
{
"endpointId": "28f366cfc48e",
"manufacturerName": "technology",
"friendlyName": "door",
"description": "door",
"displayCategories": [
"CAMERA"
],
"cookie": {},
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
},
{
"type": "AlexaInterface",
"interface": "Alexa.EndpointHealth",
"version": "3",
"properties": {
"supported": [
{
"name": "connectivity"
}
],
"proactivelyReported": true,
"retrievable": true
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.PowerController",
"version": "3",
"properties": {
"supported": [
{
"name": "powerState"
}
],
"proactivelyReported": true,
"retrievable": true
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.CameraStreamController",
"version": "3",
"cameraStreamConfigurations": [
{
"protocols": [
"RTSP"
],
"resolutions": [
{
"width": 1280,
"height": 720
},
{
"width": 1920,
"height": 1080
}
],
"authorizationTypes": [
"NONE"
],
"videoCodecs": [
"H264"
],
"audioCodecs": [
"G711"
]
}
]
}
]
}
]
}
}
}

0 Likes 0 ·

1 Answer

newuser-9adeda16-e546-487d-8f18-8720a5ca102d avatar image
newuser-9adeda16-e546-487d-8f18-8720a5ca102d answered

it seams cannot use

PowerController and

CameraStreamController together

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.