简体   繁体   English

Google 助理回复“抱歉,我没有收到任何回复”

[英]Google Assistant responding with “Sorry, I didn't get any response”

I have a smart home action that supports multiple device categories including blinds, doors and windows.我有一个智能家居动作,它支持多种设备类别,包括百叶窗、门和 windows。 The only time this error message comes up is when I say "Close all the windows".此错误消息出现的唯一一次是当我说“关闭所有窗口”时。 The windows are individually addressable. windows 可单独寻址。 Google Home responds fine if I say "Close all the blinds".如果我说“关上所有的百叶窗”,Google Home 的反应很好。 On the backend, they're essentially the same and the only thing that's different is the device category.在后端,它们本质上是相同的,唯一不同的是设备类别。 Is there something wrong with this particular device category?这个特定的设备类别有问题吗? This is all in english.这都是英文的。

This is the sync response:这是同步响应:

{
"requestId": "5149816291025266974",
"payload": {
    "agentUserId": "XXXXHOME45",
    "devices": [
        {
            "id": "HOME-34002c000a47363339343638-11",
            "name": {
                "name": "Bedroom 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-12",
            "name": {
                "name": "Bedroom 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-13",
            "name": {
                "name": "Bathroom"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-14",
            "name": {
                "name": "Balcony"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-3e0030000b47363339343638-19",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-3e0030000b47363339343638-20",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-3e0030000b47363339343638-21",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-3e0030000b47363339343638-22",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-17",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-3c002b000747363339343638-23",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-3c002b000747363339343638-24",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.WINDOW",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-28",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-18",
            "name": {
                "name": "Blind 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-34002c000a47363339343638-15",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-34002c000a47363339343638-16",
            "name": {
                "name": "Blind 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-34002c000a47363339343638-10",
            "name": {
                "name": "Front Door"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-340031000d47363330353437-133",
            "name": {
                "name": "Stove"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.OUTLET",
            "traits": [
                "action.devices.traits.OnOff"
            ]
        }
    ]
}

Here's a screenshot of me saying the commands.这是我说命令的屏幕截图。 As you can see, the window command gets the "didnt get a response" message BUT all the windows do indeed close in real life.如您所见,window 命令收到“没有得到响应”消息,但所有 windows 在现实生活中确实很接近。 Also I can individually control the windows.我也可以单独控制 windows。 谷歌助理

EDIT: Okay I changed my discovery from WINDOW to AWNING and that made it work.编辑:好的,我将我的发现从 WINDOW 更改为 AWNING 并使其工作。 So it looks like there is something going on with the window device type?所以看起来 window 设备类型发生了什么事? Again I'll attach the discovery response.我将再次附上发现响应。

{
"requestId": "5149816291025266974",
"payload": {
    "agentUserId": "XXXXHOME45",
    "devices": [
        {
            "id": "HOME-34002c000a47363339343638-11",
            "name": {
                "name": "Bedroom 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-12",
            "name": {
                "name": "Bedroom 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-13",
            "name": {
                "name": "Bathroom"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-34002c000a47363339343638-14",
            "name": {
                "name": "Balcony"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-3e0030000b47363339343638-19",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-3e0030000b47363339343638-20",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-3e0030000b47363339343638-21",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-3e0030000b47363339343638-22",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-17",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Master Bedroom"
        },
        {
            "id": "HOME-3c002b000747363339343638-23",
            "name": {
                "name": "Window 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-3c002b000747363339343638-24",
            "name": {
                "name": "Window 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.AWNING",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-28",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-330035000a47363339343638-18",
            "name": {
                "name": "Blind 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Second Bedroom"
        },
        {
            "id": "HOME-34002c000a47363339343638-15",
            "name": {
                "name": "Blind 1"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-34002c000a47363339343638-16",
            "name": {
                "name": "Blind 2"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.BLINDS",
            "traits": [
                "action.devices.traits.OpenClose"
            ],
            "roomHint": "Living Room"
        },
        {
            "id": "HOME-34002c000a47363339343638-10",
            "name": {
                "name": "Front Door"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.DOOR",
            "traits": [
                "action.devices.traits.OpenClose"
            ]
        },
        {
            "id": "HOME-340031000d47363330353437-133",
            "name": {
                "name": "Stove"
            },
            "willReportState": true,
            "deviceInfo": {
                "manufacturer": "XXXX"
            },
            "customData": {
                "device_class": "XXXX",
                "device_id": "XX",
                "property_id": XX
            },
            "type": "action.devices.types.OUTLET",
            "traits": [
                "action.devices.traits.OnOff"
            ]
        }
    ]
}

So everything is exactly the same, except that I changed the device type and it started to work.所以一切都是一样的,除了我改变了设备类型并且它开始工作了。

谷歌助理 2

Do you see any errors in your project's StackDriver logs corresponding to these request IDs?您是否在项目的 StackDriver 日志中看到与这些请求 ID 对应的任何错误? developers.google.com/actions/smarthome/develop/error-logging Make sure you select "Google Assistant Action" in the resource filter (for me, by default it was "Cloud Function") to see what Google Assistant is complaining about after the command got executed. developers.google.com/actions/smarthome/develop/error-logging确保你在资源过滤器中 select “Google Assistant Action”(对我来说,默认情况下它是“Cloud Function”)以查看 Google Assistant 之后抱怨的内容命令被执行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 与webhook的行动正在回应:“对不起,我没有得到任何回复。” - Actions with webhook is responding : “Sorry, I didn't get any response.” 谷歌的行动回应“对不起,我没有得到任何回应。” - Actions on Google responds with “Sorry, I didn't get any response.” Google德语交易显示“抱歉,我没有任何回应。” - Google Transaction in German leads to “Sorry, I didn't get any response.” 当我尝试Hand-off功能时,收到“抱歉,我没有得到任何回复。”消息 - Getting “Sorry, I didn't get any response.” message when I tried Hand-off feature 我的 Action on Google Assistant 已于 11 月 5 日部署,但我仍然没有收到任何 SWAGS 的电子邮件 - My Action on Google Assistant was deployed on 5th Nov but still I haven't got any email of SWAGS 我可以在Google智能助理简单响应中使用参数吗? - Can I use parameters in a Google Assistant Simple Response? 抱歉,该操作在Google Assistant应用的模拟中不可用吗? - Getting Sorry, this action is not available in simulation for a Google Assistant App? Google 助理发出 GET 请求并使用服务器响应进行回复 - Google Assistant make GET request and reply with server response Google Actions(Google Assistant)响应中的电话号码 - Phone Number in Google Actions (Google Assistant) Response Botium - Google Assistant Connector - 错误为空响应而响应不为空 - Botium - Google Assistant Connector - Error empty response while response ins't empty
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM