是否可以向 Google Home 设备发送语音通知 [英] Is it possible to send voice notification to Google Home device

查看:22
本文介绍了是否可以向 Google Home 设备发送语音通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们收到某些特定事件但不确定是否支持/可能时,我们希望从我们的服务向 Google Home 设备发送语音通知.

We want to send voice notifications to Google Home device from our service when we get some specific events but not sure if it is even supported/possible.

例如,我们会在厨师快准备好时通知用户,例如:'嘿安德,你的饭菜将在 5 分钟内准备好.别忘了拿出来'

For example, we will notify the user when the cook is almost ready like: 'Hey Ender, your meal will be ready in 5 minutes. Don't forget to take it out'

有些脚本声称它们会向 Google Home 设备发送语音通知,但它们似乎可以在本地环境中运行,而我们的情况并非如此.

There are some scripts that claim they send voice notification to Google Home device however they seem to work in the local environment which is not our case.

其中一个示例脚本发布在 Reddit 上@S1lentAssass1nhttps://github.com/GhostBassist/GooglePyNotify

One of the example scripts is posted on Reddit by @S1lentAssass1n https://github.com/GhostBassist/GooglePyNotify

Google 在 Google Home 文档中提到了一些提醒/通知,但我相信这不是我们想要的.

Google mentions some reminder/notification in Google Home documents but I believe it is not what we what.

https://support.google.com/googlehome/answer/7387866?co=GENIE.Platform%3DAndroid&hl=en

任何想法/帮助将不胜感激!

Any idea/help would be appreciated!

推荐答案

Google 助理通知 平台目前处于开发者预览版中.你还不能发布支持它们的 Action,而且它们目前在移动设备上工作,而不是像 Google Home 这样的扬声器.

Notifications on the Google Assistant platform are currently in Developer Preview. You can't release an Action that supports them, yet, and they currently on work on mobile devices - not speakers such as Google Home.

随着它从开发者预览版移出并投入生产,这可能会发生变化,但他们尚未宣布时间框架.

This will likely change as it moves out of Developer Preview and into production, but they haven't announced a time frame for this yet.

您从 Reddit 引用的解决方案使用 Google Home 作为 Chromecast 音频设备,因此需要一个(单独的)本地代理来投射到它.关于 Google Home 的注释指的是 Google 的消费者功能,它允许您设置通知和提醒 - 不适用于其他应用程序.

The solution you cite from Reddit uses the Google Home as a Chromecast Audio device, so requires a (separate) local agent to cast to it. The notes about Google Home refer to the consumer feature from Google that allows you to set notices and reminders - not for other applications.

这篇关于是否可以向 Google Home 设备发送语音通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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