question

newuser-f33c2da3-ad49-4b47-8cff-d57ae9515c2c avatar image

Camera endpoint doesn't support 'turn off' directives, but WWA need to test that.

Hello, I'm sure 'turn off' directives doesn't work if I use CameraStreamController interface.

However, WWA certification have to test 'turn on/off' and 'show me device' since I declare my product support PowerController and CameraStreamController.

To pass WWA certification, I need to remove PowerController interface so WWA team can pass all the test cases.


I think the test cases were created for Alexa V2 API.

There are many issues when I use V3 API.

For example, prostates report does not work.

I sent an API for device state change, then I got 202 status code which means the requests succeed, but there was no error banner on Alexa APP (the error banner was asked by WWA team) and the debug tool show 'Failed to retrieve state' instead of endpoint offline.


Anyone has the same issue with me?


[
    {
        "type": "AlexaInterface",
        "interface": "Alexa.PowerController",
        "version": "3",
        "properties": {
            "supported": [
                {
                    "name": "powerState"
                }
            ],
            "proactivelyReported": True,
            "retrievable": True
        }
    },
    {
        "type": "AlexaInterface",
        "interface": "Alexa.EndpointHealth",
        "version": "3",
        "properties": {
            "supported": [
                {"name": "connectivity"}
            ],
            "proactivelyReported": True,
            "retrievable": True
        }
    },
    {
        "type": "AlexaInterface",
        "interface": "Alexa.CameraStreamController",
        "version": "3",
        "cameraStreamConfigurations": [
            {
                "protocols": ["RTSP"],
                "resolutions": [{"width": 1920, "height": 1080}],
                "authorizationTypes": ["NONE"],
                "videoCodecs": ["H264"],
                "audioCodecs": ["AAC"]
            }
        ]
    }
]


{
    "context": {
        "properties": []
    },
    "event": {
        "header": {
            "messageId": "uuid12314",
            "namespace": "Alexa",
            "name": "ChangeReport",
            "payloadVersion": "3"
        },
        "endpoint": {
            "scope": {
                "type": "BearerToken",
                "token": "access_token"
            },
            "endpointId": "appliance12345"
        },
        "payload": {
            "change": {
                "cause": {
                    "type": "PHYSICAL_INTERACTION"
                },
                "properties": [{
                    "namespace": "Alexa.EndpointHealth",
                    "name": "connectivity",
                    "value": {
                        "value": "UNREACHABLE"
                    },
                    "timeOfSample": datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.00Z'),
                    "uncertaintyInMilliseconds": 60000
                }]
            }
        }
    }
}
camerapowercontroller
10 |5000

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

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered

Hi there,

Please share skill id for further debugging.

10 |5000

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