You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google Home测试套件未发送StartStop用例EXECUTE请求求助

Google Home Action测试及设备控制问题

我正在开发Google Home智能家居Action,使用Test Suite测试后端对fulfillment URI的EXECUTE意图处理能力。已成功关联测试账号,测试用例中能加载action.devices.types.SHOWER设备及对应trait(包含action.devices.traits.StartStop)。

但测试StartStop trait时,测试套件从未向fulfillment URI发送EXECUTE意图尝试启停设备,测试用例失败后触发的QUERY意图能被后端正常接收。

我验证过,如果在“启动Office”指令运行时手动更新设备状态并通过Google Homegraph API上报状态,测试用例可以通过。但HTTP请求日志和Cloud Console日志里完全找不到EXECUTE意图的调用记录。试过重新关联账号、更换多个测试账号,问题依然存在。

以下是我的SYNC响应:

{
    "requestId": "9346220314501836318",
    "payload": {
        "devices": [
            {
                "id": "1002",
                "type": "action.devices.types.SHOWER",
                "traits": [
                    "action.devices.traits.StartStop",
                    "action.devices.traits.TemperatureControl"
                ],
                "name": {
                    "name": "Office"
                },
                "attributes": {
                    "temperatureRange": {
                        "minTemperatureCelcius": 0,
                        "maxTemperatureCelcius": 60
                    },
                    "temperatureUnitForUX": "C",
                    "commandOnlyTemperatureControl": true,
                    "temperatureStepCelcius": 1,
                    "pausable": false
                },
                "willReportState": true,
                "deviceInfo": {
                    "manufacturer": "REMOVED",
                    "model": "TestModel",
                    "hwVersion": null,
                    "swVersion": null
                }
            }
        ],
        "agentUserId": "1000"
    }
}

另外,我无法通过手机端Google Assistant控制这些设备,会提示“此设备尚未设置”,但在Assistant应用设置的家居控制界面里也找不到添加该设备的选项。

请问是否存在配置错误导致测试套件无法发送EXECUTE意图?或是这属于bug?

内容的提问来源于stack exchange,提问作者JHalson

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.04 02:45:34