仅在 Google 上的智能家居操作模拟器中调用失败
Invocation fails only in simulator of smart home actions on Google
我按照 Google 的 example 创建了一个智能家居操作,并将 table lamp 设备添加到智能家居服务器。
使用"turn on the table lamp",仅在模拟器中调用失败。它确实响应了我 phone 上的助手并显示了亮度控制。
在模拟器中,它在 displayText 中显示 "Sure, turning the table lamp on.",但响应仍然是 "We're sorry, but something went wrong. Please try again."
我的服务器的控制台确实显示了对 Device Exec api.
的成功响应
我阅读了一些 Whosebug 问题并尝试了以下操作:
- 我link我的测试帐号在我的phone上进行操作。
- 在Chrome中,我只登录了一个账号,模拟器也显示一个账号正在linked。
- 我在目录信息中填写所有信息
- 直接用"turn on the table lamp"不用说"talk to...(action name)"
这可能是什么原因?有什么我可以尝试的吗?
谢谢
这是模拟器的截图
这是模拟器的一个已知问题。您可以使用 phone、智能扬声器或连接到您用于测试的 Google 帐户的任何其他 Google 助理界面在设备上进行测试。
我按照 Google 的 example 创建了一个智能家居操作,并将 table lamp 设备添加到智能家居服务器。
使用"turn on the table lamp",仅在模拟器中调用失败。它确实响应了我 phone 上的助手并显示了亮度控制。
在模拟器中,它在 displayText 中显示 "Sure, turning the table lamp on.",但响应仍然是 "We're sorry, but something went wrong. Please try again." 我的服务器的控制台确实显示了对 Device Exec api.
的成功响应我阅读了一些 Whosebug 问题并尝试了以下操作:
- 我link我的测试帐号在我的phone上进行操作。
- 在Chrome中,我只登录了一个账号,模拟器也显示一个账号正在linked。
- 我在目录信息中填写所有信息
- 直接用"turn on the table lamp"不用说"talk to...(action name)"
这可能是什么原因?有什么我可以尝试的吗? 谢谢
这是模拟器的截图
这是模拟器的一个已知问题。您可以使用 phone、智能扬声器或连接到您用于测试的 Google 帐户的任何其他 Google 助理界面在设备上进行测试。