English 中文(简体)
设法从模拟器中找到一条基本的回旋余地,把我的网站打上光灯
原标题:Trying to get a basic google home action to call my web hook from the simulator

我做了以下工作:

  • Created a python flask API and ran it on a server using SSL
  • Successfully tested the API using Postman
  • Created a new project on https://console.actions.google.com/
  • Created an action and gave it a name
  • Skipped account linking for now (Later I also tried setting up linking without success)
  • On the develop section I added my API as the fulfillment URL and saved
  • On the test section I switched to "Speaker"
  • Then I selected the suggested text

成果:

  • No logging appears on the terminal where the flask application is running. So the action did not communicate with my web hook
  • In the test section on the actions console I see "We re sorry, but something went wrong. Please try again."
  • REQUEST, RESPONSE, and AUDIO are all empty
  • DEBUG has the following information:
{
   "response": "We re sorry, but something went wrong. Please try again.",
   "expectUserResponse": false,
   "conversationToken": "",
   "audioResponse": "",
   "ssmlMarkList": [],
   "clientError": 8,
   "is3pResponse": false,
   "clientOperationList": [],
   "projectName": "",
   "renderedHtml": "",
   "previewStartTimeMicros": "",
   "isEmptyResponse": false,
   "agentName": "",
   "servingModelOutdated": false
} 

想得到一点帮助,让我来。 奥索尔确实要求我能够开展我所做的“网络与活动”。 我也试图为账户连接点设置终点站,但看不到试图与它们沟通的任何东西。

问题回答

似乎你再次遇到一个问题,即把谷歌行动科罗账户与谷歌家 app项目联系起来。 解决这一问题,采取这些步骤:

  1. 检查“谷歌行动”账户:确保你在“康索尔行动”中使用正确的谷歌账户。 确保它能把你用于谷歌家用电器的同样说法。

  2. 与行动/项目的联系: 你们需要制定或把行动/项目联系起来。 如果你没有这样做的话,就设立一个新的项目或选择现有的项目,并将其与谷歌行动科联系起来。

  3. 普及测试: 在“青少年行动”中,确保你能够检测你的行动。 这使你能够测试你与谷歌家 app的行动。

  4. 链接装置:确保至少有一个装置与谷歌家用电器中你的行动有关。 这一装置应当与你设立的项目相联系。

我们高度建议使用。 页: 1 本准则实验室将指导你建立明智的家事行动,以控制使用谷歌助理的模拟装置。 它涵盖一些关键概念,如装置特征、履行和账户连接。





相关问题
Google Home Notification

I want to create a script that fetches some data from an external API. The data contains prayer times. I want to send a broadcast to my Google Home mini 15 minutes before every prayer time. I wanted ...

热门标签