Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actions on google 对谷歌的行动';s智能家居同步正常,但显示错误消息_Actions On Google - Fatal编程技术网

Actions on google 对谷歌的行动';s智能家居同步正常,但显示错误消息

Actions on google 对谷歌的行动';s智能家居同步正常,但显示错误消息,actions-on-google,Actions On Google,我正在谷歌上开发新的智能家居应用程序 在谷歌家庭应用->家庭控制->添加设备中,我可以找到我的智能家庭应用。 通过OAuth 2授权过程后,它将action.devices.SYNC发送到我的web服务,并在屏幕上显示与您的帐户的链接 然后,我的web服务用设备列表进行响应。以下是返回的响应: {"requestId":"16673404925179824463","payload":{"devices":[{"id":"DEVICE_ID","type":"action.devices.typ

我正在谷歌上开发新的智能家居应用程序

在谷歌家庭应用->家庭控制->添加设备中,我可以找到我的智能家庭应用。 通过OAuth 2授权过程后,它将action.devices.SYNC发送到我的web服务,并在屏幕上显示与您的帐户的链接

然后,我的web服务用设备列表进行响应。以下是返回的响应:

{"requestId":"16673404925179824463","payload":{"devices":[{"id":"DEVICE_ID","type":"action.devices.types.OUTLET","traits":["action.devices.traits.OnOff"],"name":{"defaultNames":["Chris Switch"],"name":"Chris Switch","nicknames":["Chris Switch"]},"willReportState":false,"deviceInfo":{"manufacturer":"AIONE Lifestyle Studio Inc.,","model":"SPM185","hwVersion":"1.0","swVersion":"8.0"}}]}}
但是,Google Home应用程序的底部会出现一条错误消息,说“无法更新设置,请检查您的连接”。 然后我回到设备列表,发现设备已经添加到Google Home。之后,我可以通过语音命令来控制它


所以整个过程都在运行,但我只是想知道为什么会出现错误消息?

问题刚刚消失。。。我重新链接我的帐户,没有显示错误消息。我的web服务未被修改。我应该把这个问题保留在这里作为参考还是删除它?这个问题刚刚消失了。。。我重新链接我的帐户,没有显示错误消息。我的web服务未被修改。我应该把这个问题保留在这里作为参考还是删除它?