用于智能家居的智能家居测试套件没有对我的 Google 家做任何事情

Smart Home Test Suite for smart home not doing anything with my Google Home

我正在尝试让我的智能家居操作获得认证,但它一直处于审查阶段。我已经意识到文档说要做测试套件,所以我正在尝试。我也发了一封电子邮件给支持,但还没有回复。

关于测试套件,我已经正确输入了 userAgentId 和 json 密钥,并且进展顺利。当我开始测试时,问题就出现了。每句话都会读到我的 Google 主页。 Google 主页在 "Ok Google" 唤醒,但之后什么也不做,我的所有测试都失败了。

Starting test...
  Utterance (setup): Ok Google. Turn on the Bedroom . . . . . . . . . . . . FAIL
  Utterance (1/1) Ok Google. Set the Bedroom to 30 degrees SKIP
Test Completed!
Starting test...
  Utterance (setup): Ok Google. Turn on the Bedroom . . . . . FAIL
  Utterance (setup): Ok Google. Change the Bedroom to cool mode . . . . . FAIL
  Utterance (1/1): Ok Google. Set the Bedroom to 30 degrees . . . . . FAIL
  Utterance (restore): Ok Google. Change the Bedroom to off mode . . . . . FAIL
Test Completed!

这些错误也不是很有用,我得到的信息如下:

AssertionError: Expected state to include: {"thermostatTemperatureSetpoint":30}, actual state: {}: expected false to be true" 

我已经检查了我的服务器,履行 url 没有收到任何东西。如果我说的内容与测试对 Google 主页所做的完全相同,它就可以正常工作。我应该做些什么?我不知道我做错了什么。我的项目 ID 是 myhomie-smart-hvac

报告状态不是同步的API,它是异步的。 Home graph 不会向您发送任何事件更改请求,您应该向 Home Graph 发送状态更改请求,因为您的设备首先知道状态更改

事实证明报告状态实施不正确,这是有道理的,因为测试一直显示实际状态为 {}。这意味着 homegraph 上的状态实际上并没有被更新。我还将设备的名称从 'bedroom' 更改为 'living room',出于某种原因,google

似乎更有意义