将物联网设备与 Google Home 集成 [英] Integrating IoT device with Google Home

查看:28
本文介绍了将物联网设备与 Google Home 集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在研究用于控制灯光的 IoT 设备.此设备是使用 FreeRTOS 实现的.

I am currently working on a IoT device to control lights. This device is implemented using FreeRTOS.

我对如何提供与此设备的 Google Home 集成有点困惑,有人可以对此有所了解.

I am little confused how to provide Google Home integration with this device, could someone shed some light on this.

推荐答案

您可以使用智能家居API.Google 助理使用网络钩子,向该 URL 上的 SYNCQUERYEXECUTE 发送命令.然后,您需要将这些命令发送到您的设备.

You can use the Smart Home API. The Google Assistant works with a webhook, sending commands to SYNC, QUERY, and EXECUTE on that URL. You will then need to send these commands to your device.

通过 Google 助理应用进行设置,用户必须在该应用中链接到您的 OAuth 服务器.

Setup happens through the Google Assistant app, where users must link with your OAuth server.

这是智能家居的示例项目,使用虚拟设备.

Here is a sample project for Smart Home, using virtual devices.

这篇关于将物联网设备与 Google Home 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆