简体   繁体   English

从 Android 电视控制智能家居设备

[英]Controlling Smart Home Devices from Android TV

I am working on Google Assistant integration for Smart Devices.我正在为智能设备集成 Google Assistant。

Apart from Tablets and Cell phones, I want to control smart home devices via Android TVs.除了平板电脑和手机,我想通过 Android 电视控制智能家居设备。 I looked at the Google Docs ( https://developers.google.com/assistant/smarthome/overview ), I had no difficulties with Google Local Home SDK, OAuth 2 installation.我查看了 Google 文档( https://developers.google.com/assistant/smarthome/overview ),我对 Google Local Home SDK、Z54699D9A7E6DF4EDBCA40238E 安装没有任何困难。

But there is this;但是有这个;

In the link https://www.android.com/tv/ , "control home devices" tab and;在链接https://www.android.com/tv/中,“控制家庭设备”选项卡和;

At https://assistant.google.com/platforms/tv/ there is a "control smart home" tab.https://assistant.google.com/platforms/tv/有一个“控制智能家居”选项卡。

In other words, the control of smart devices can be done from Android TVs.换句话说,智能设备的控制可以通过 Android 电视来完成。

But;但; It says on the https://developers.google.com/assistant/smarthome/overview page that all smart home integration processes will start through the Google Home application.它在https://developers.google.com/assistant/smarthome/overview页面上说,所有智能家居集成过程都将通过 Google Home 应用程序开始。 At least, even if this application is not installed, the first process can start from the add device tab in the google assistant settings.至少,即使没有安装这个应用程序,第一个过程也可以从谷歌助手设置中的添加设备选项卡开始。

But I couldn't find a google home app for Android TV on google play.但我在 google play 上找不到 Android TV 的 google home 应用程序。

When I say "turn off the lights" to my TV, it says "no such device, open assistant settings".当我对我的电视说“关灯”时,它说“没有这样的设备,打开助手设置”。 There are assistant settings.有辅助设置。 But not like cell phones.但不像手机。 None of the android tvs have an assistant settings with "add device" option. android 电视都没有带有“添加设备”选项的辅助设置。

So then;那么那么;

https://www.android.com/tv/ https://assistant.google.com/platforms/tv/ https://www.android.com/tv/ https://assistant.google.com/platforms/tv/

as shown in the links;如链接所示; With which integration can we control smart home devices?我们可以通过哪种集成来控制智能家居设备? As shown in these links;如这些链接所示; How can they control devices at home using google assistant with Android TVs?他们如何使用带有 Android 电视的谷歌助手控制家中的设备?

Anyone know?有人知道吗?

Thanks.谢谢。

Currently the Google Home App is available only on the phone.目前,Google Home App 仅在手机上可用。 In your use case a user needs Google Home App on the phone to set up a device and then Google Assistant on Android TV can control the device.在您的用例中,用户需要手机上的 Google Home App 来设置设备,然后 Android 电视上的 Google Assistant 可以控制设备。 Keep in mind that to have the same google account on the phone and the android TV for this flow to work.请记住,要在手机和 android 电视上拥有相同的 google 帐户,此流程才能正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM