Smarthome应用/操作不会出现在家庭控制下的Google助手随播应用中

meh*_*met 9 actions-on-google google-home google-smart-home

问题: 我遇到了很长时间的问题,我使用Actions SDK创建的智能家居应用程序并未作为测试应用程序在家庭控制下的Google智能助理应用程序中显示.我尝试了3个不同的帐户,寻找使用相同的帐户登录,从头开始但没有任何帮助!你可以帮助解决这个问题吗,因为我无法测试谷歌助理应用程序的最终用户oAuth流程.这让我无法继续下去,也让我觉得Google Home不是那个准备就绪的产品.

Iam为全球知名的开源项目开发了智能家居应用程序操作,许多用户要求使用Google Home.我的实现几乎完成了,并且它没有出现在助手应用程序中.所以我不能测试,社区也不能测试!

这是我的观点,对Google和Google Home的推出不利.我打开了许多支持票,但仍然没有解决方案.希望开发人员感到负责任并且可以提供帮助.

环境:

  • MacBookAir:Mac OS X 10.12.15
  • 浏览器:Chrome,版本59.0.3071.115(64位)
  • Android智能手机(从Android v6开始)

框架:动作SDK(gactions)

重现步骤:

  • https://console.actions.google.com/下创建了一个新项目
  • 在我的项目中添加了Actions SDK并运行以下命令: ./gactions update --action_package action.json --project <project-id>

./gactions --verbose test --action_package action.json --project <project-id>

  • 添加了所有必需的应用程序信息和帐户链接信息
  • 单击TEST(在"提交审阅"旁边)按钮

结果:

我无法使用模拟器,因为当我输入"Talk to"时,我总是得到这个ErrorMessage:"抱歉,此操作在模拟中不可用".如果我在Android设备上打开Goog​​le智能助理并转到"家庭控制"以查看我的测试智能家应用程序,则它不会出现在带有括号等的列表中,例如[test ...].它根本不存在!

我发现其他开发人员在这里遇到了和我一样的问题:https: //github.com/actions-on-google/actionssdk-smart-home-nodejs/issues/1

在这里,您可以在终端中通过gactions命令部署smarthome应用程序:

./gactions --verbose test --action_package action.json --project <project-id>

Checking for updates...

Successfully fetched update metadata

Finished checking for updates -- no updates available

Pushing the app for the Assistant for testing...

POST /v2/users/me/previews/<project- id>:updateFromAgentDraft?updateMask=previewActionPackage.actionPackage.actions%2CpreviewActionPackage.actionPackage.conversations%2CpreviewActionPackage.actionPackage.types%2CpreviewActionPackage.startTimestamp%2CpreviewActionPackage.endTimestamp HTTP/1.1

Host: actions.googleapis.com

User-Agent: Gactions-CLI/2.0.7 (darwin; amd64; stable/6f4c996f8ee63dc5760c7728f674abe37bfe5fc4)

Content-Length: 369

Content-Type: application/json

Accept-Encoding: gzip

{"name":"users/me/previews/<project-id>","previewActionPackage":  {"actionPackage":{"actions":[{"deviceControl":{},"fulfillment":{"conversationName":"automation"},"name":"actions.devices"}],"conversations":{"automation":{"name":"automation","url":"https://MY-GOOGLE-CLOUDFUNCTION-URL"}}},"name":"users/me/previews/<project-id>"}}

Reading credentials from: creds.data

Successfully pushed the app for the Assistant for testing

Your app for the Assistant for project <project-id> is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/<project-id>/simulator/
Run Code Online (Sandbox Code Playgroud)

小智 0

我和你一样面临着这个问题。我已经向智能家居团队发送了电子邮件,但他们只是解释:

“智能家居应用程序未显示在 Google Home 应用程序的家庭控制部分下的应用程序列表中是一个已知问题,我们目前正在调查该问题。一旦获得相关更新,我会立即与您联系。 ”

不幸的是,到目前为止我还没有收到任何反馈,即使我已经开了很多支持票。

顺便说一句,官方文档已经更新了两次(2017年7月14日和2017年7月25日)。但现在还是不行,不知道什么意思!令人非常失望。