我正在尝试使我的智能家居操作获得认证,但多年来一直受到审查。我已经意识到文档说要做测试套件,所以我正在尝试。我还发送了一封电子邮件来支持,但尚未回复。
关于测试套件,我已经正确输入了userAgentId和json密钥,并且进展顺利。这是我开始测试时出现问题的地方。每种话语都会读出我的Google主页。Google Home会唤醒“ 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 Home所做的完全相同的事情,那么它工作得很好。我应该做些什么?我不知道我在做什么错。我的专案编号是myhomie-smart-hvac