google 上的操作 - 智能家居 - REQUEST_SYNC

Actions on google - smart home - REQUEST_SYNC

我们有一个智能家居应用程序,可以在 google 上执行操作,并且已经实现了 SYNC、QUERY 和 EXECUTE 意图。

现在,我们想实现 REQUEST_SYNC 意图(在图 2 here 中提到)。但是,我们找不到任何关于它的实现的文档。有人已经实现了吗?

Google 使用请求同步功能更新了他们的示例 Node.js 代码: https://github.com/actions-on-google/actionssdk-smart-home-nodejs

参考上次提交。 也许你可以从这里开始。

似乎现在可用。 我用 https://homegraph.googleapis.com/v1/devices:requestSync?key= < KEY > json 正文内容 agent_user_id: < agent userid >

在页面上搜索 "request sync":https://developers.google.com/actions/smarthome/create-app