Google Smart Home与我的IoT设备集成(需要澄清) [英] Google Smart Home integration with my IoT device (clarification needed)

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

问题描述

我正在寻找有关Google Smart Home工作方式的说明。
我希望将我目前的控制灯光的终端设备与Google Smart Home集成在一起。

I am looking for some clarification to how Google Smart Home works. I am looking to integrate my current end device which control lights with Google Smart Home.

我的终端设备正在使用RTOS运行一个非常小的微控制器(Linux不可用)

My end device is running a very small microcontroller utilizing an RTOS (Linux is not available)

这就是我的看法(请更正或发表评论)


  • 据我所知,这需要我托管自己的云服务
    会与我当前的终端设备对话?

  • 然后我的云服务将与Google云服务对话。

  • 我的云服务定义与多个终端设备对话的协议

  • Google Smart Home定义与我的云服务对话的协议

  • To my understanding this requires me to host my own cloud service which will talk to my current end device?
  • My cloud service will then talk to Google cloud service.
  • My cloud service defines the protocol to talk to multiple end devices
  • Google Smart Home define the protocol to talk to my cloud service

问题


  1. 在没有自己的云服务的情况下,有什么方法可以做到这一点? / li>
  1. Is there any method of doing this without having my own cloud Service?


推荐答案

这是一个非常基本的内容摘要-是的。

That is a pretty basic summary of things - yes.

关键是要向Google Home发送命令要它在您的本地网络上发送消息。 Google会从他们的网络发出任何命令,而不是从您的设备发出。

The crucial point there is that issuing a command to the Google Home does not have it send out a message on your local network. Google issues any commands from their network - not from your device.

这似乎是一个小细节,但它不一定是一个云服务您可以控制Google与之对话。 确实必须是可公开访问的HTTPS端点。这可能是一个云服务(在大多数情况下都是这样),一个公共的非云服务器,甚至只是一个具有通往您的专用网络的隧道的公共URL(例如使用ngrok)。

This might seem like a minor detail, but it doesn't need to be a "cloud service" that you control that Google talks to. It does need to be a publicly accessible HTTPS endpoint. This could be a cloud service (and it would be in most cases), a public non-cloud server, or even just a public URL that has a tunnel to your private network (such as with ngrok).

最后就是您如何拥有自己的云服务-您可以在本地计算机上设置控件,并使用 ngrok

The last is really how you'd get around having your own cloud service - you can setup the control on a local machine, and have a tunnel using ngrok.

这篇关于Google Smart Home与我的IoT设备集成(需要澄清)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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