首页 > 解决方案 > Alexa 应用程序为设备接收语音命令但未显示响应

问题描述

我的 lambda 函数位于爱尔兰地区,我将所有英语 (IN) 用于技能(我来自印度)。

当我向设备“打开灯”发出命令时,alexa 说“好的”,可以在 cloudwatch 中看到日志、指令(请求)和事件(响应),但在 alexa 移动应用程序上看不到打开的灯。

{
    "event": {
        "header": {
            "namespace": "Alexa",
            "name": "Response",
            "messageId": "211e8b0f-14de-43cc-a66a-469e55cb6397",
            "payloadVersion": "3",
            "correlationToken": "AAAAAAAAAQB28....."
        },
        "endpoint": {
            "scope": {
                "type": "BearerToken",
                "token": "Atza|IwEBIFPL1D...."
            },
            "endpointId": "864053380"
        },
        "payload": {}
    },
    "context": {
        "properties": [
            {
                "namespace": "Alexa.PowerController",
                "name": "powerState",
                "value": "ON",
                "timeOfSample": "2021-09-27T08:06:04.00Z",
                "uncertaintyInMilliseconds": 0
            }
        ]
    }
}

请给我建议。提前致谢。

标签: amazon-web-servicesaws-lambdaalexa

解决方案


推荐阅读