问题:有很长一段时间都有问题,我用Actions创建的smarthome应用程序在家庭控制下的Google应用程序中没有作为测试应用出现。我尝试了3个不同的帐户,寻找与同一个帐户登录,从零开始,但没有任何帮助!你能帮我解决这个问题吗,因为我不能测试最终用户的oAuth流,这是非常糟糕的,从谷歌助理应用程序。这阻碍了我继续下去,也让我觉得谷歌主页还没有准备好生产。
我正在为一个全球知名的开源项目开发智能家居应用程序,很多用户都要求谷歌主页。我的实现已经快完成了,它被塞在这个没有出现在助理应用程序。所以我不能测试,社区也不能测试!
从我的角度来看,这对谷歌和谷歌主页的推出都是不利的。我有许多支持票打开,但仍然没有解决办法。希望开发人员感到有责任感,并能提供帮助。
环境:
框架:动作SDK (gactions)
复制步骤:
./gactions update --action_package action.json --project <project-id>
./gactions --verbose test --action_package action.json --project <project-id>
结果:
我不能使用模拟器,因为当我输入"Talk to“时,我总是得到这个ErrorMessage:”对不起,这个动作在模拟中不可用“。如果我打开Android设备上的Google助手,去“家庭控制”看我的测试智能应用程序,它不会出现在列表中,括号等等,就像测试.根本不存在!
我在这里发现其他的开发人员也有类似的问题:https://github.com/actions-on-google/actionssdk-smart-home-nodejs/issues/1
在这里,您可以在终端中使用我的命令,通过gaction命令部署智能体应用程序::
./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/
发布于 2017-07-27 02:41:49
我和你一样面临着这个问题。我已经给Smart团队发了邮件,但他们只是解释说:
“智能家庭应用程序没有显示在谷歌家庭应用程序的家庭控制部分下的应用程序列表中,这是一个众所周知的问题,我们目前正在调查它。一旦有了更新,我会尽快与您联系。”
不幸的是,到目前为止,我没有收到任何反馈,甚至我已经打开了许多支持票。
顺便说一下,这份官方文件已经更新了两次(2017年7月14日和2017年7月25日)。但现在还不起作用,我不知道这是什么意思!这是非常失望的。
发布于 2017-08-24 18:22:54
这个错误最近已经修复,所以所有用户现在都应该能够在Google应用程序中看到他们的测试设备了。
https://stackoverflow.com/questions/45234171
复制相似问题