简体   繁体   English

如何在没有“让我们谈谈”和没有 IFTTT 的情况下使用自定义 Google 助理命令

[英]How to use custom Google Assistant commands without "Let's talk to" and without IFTTT

I know this is broad question but I've spent counless hours searching for the right solution.我知道这是一个广泛的问题,但我已经花了无数个小时寻找正确的解决方案。 Google provides at least 15 different types of Google Assistant connections all of them are different and I don't know which one to use for my project. Google 提供了至少 15 种不同类型的 Google Assistant 连接,它们各不相同,我不知道该为我的项目使用哪一种。 The project is pretty simple - I would like to call dynamic url with parameters (webhook to my home server) from mobile Google Assistant.Example - I would say to my Android mobile phone该项目非常简单 - 我想从移动 Google Assistant 调用带有参数的动态 url(Webhook 到我的家庭服务器)。示例 - 我会对我的 Android 手机说

> Ok, Google set the TV volume to 50

and the assistant would call然后助理会打电话

GET "https://192.168.1.12/tv/volume/50

or或者

GET "https://192.168.1.12/?device=tv&action=volume&value=50

where 'tv', 'volume' and '50' are the dynamic parameters (not static) so I could also call其中 'tv'、'volume' 和 '50' 是动态参数(非静态)所以我也可以调用

> Ok, Google set the TV channel to 132

I just want a link or a name of the Google dev console that I can use.我只想要一个可以使用的 Google 开发控制台的链接或名称。 I don't want to waste another several hours just to find out that another Google package is not suitable for my project.我不想再浪费几个小时来发现另一个谷歌包不适合我的项目。 Have anyone done something similar?有没有人做过类似的事情?
PS聚苯乙烯
I know that I could achieve something similar with "Ok, Google let's talk to ...." but that is not my case.我知道我可以通过“好吧,谷歌让我们谈谈......”来实现类似的目标,但这不是我的情况。
also I CAN'T USE IFTTT我也不能使用 IFTTT

I know this is broad question but I've spent counless hours searching for the right solution.我知道这是一个广泛的问题,但是我花了很多时间寻找正确的解决方案。 Google provides at least 15 different types of Google Assistant connections all of them are different and I don't know which one to use for my project. Google提供了至少15种不同类型的Google Assistant连接,它们都是不同的,我不知道该为我的项目使用哪种连接。 The project is pretty simple - I would like to call dynamic url with parameters (webhook to my home server) from mobile Google Assistant.Example - I would say to my Android mobile phone该项目非常简单-我想通过移动Google Assistant调用带有参数的动态网址(通过Webhook连接到我的主服务器)。示例-我要对我的Android手机说

> Ok, Google set the TV volume to 50

and the assistant would call助手会打电话给

GET "https://192.168.1.12/tv/volume/50

or或者

GET "https://192.168.1.12/?device=tv&action=volume&value=50

where 'tv', 'volume' and '50' are the dynamic parameters (not static) so I could also call其中“电视”,“音量”和“ 50”是动态参数(不是静态参数),因此我也可以调用

> Ok, Google set the TV channel to 132

I just want a link or a name of the Google dev console that I can use.我只想要一个可以使用的Google开发控制台的链接或名称。 I don't want to waste another several hours just to find out that another Google package is not suitable for my project.我不想再浪费几个小时,只是为了发现另一个Google软件包不适合我的项目。 Have anyone done something similar?有人做过类似的事情吗?
PS聚苯乙烯
I know that I could achieve something similar with "Ok, Google let's talk to ...." but that is not my case.我知道我可以通过“好吧,Google让我们与....交谈”来实现类似的目标,但这不是我的情况。
also I CAN'T USE IFTTT我也不能使用IFTTT

It's hard to answer your question without knowing your constraints.在不了解您的限制的情况下很难回答您的问题。 Are you a developer?你是开发者吗? Are you looking to make a commercial app?您是否正在寻找制作商业应用程序? For non-commercial use you can use the Google Assistant Service to create custom commands that do whatever you want (including call your API).对于非商业用途,您可以使用Google 助理服务来创建可以执行任何操作(包括调用您的 API)的自定义命令。 As a benefit, you don't have to say "hey Google" before your command.作为一个好处,您不必在命令前说“嘿谷歌”。

Also, it would help to know why you can't use IFTTT, given that it seems to do exactly what you're asking for.此外,了解为什么您不能使用 IFTTT 会有所帮助,因为它似乎完全符合您的要求。

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

相关问题 没有Google Talk服务器,我们可以使用XMPP smack吗? - can we use XMPP smack without google talk servers Google Assistant自定义命令| 嘿Google,打开“我的应用”页面 - Google Assistant Custom Commands | Hey Google, Open My App's page 没有 Google Play 控制台的 Google Assistant 实施 - Google Assistant implementation without Google play console 如何使用 android 深度链接和谷歌助手的自定义 DialogFlow 操作? - How to use android deeplink with custom DialogFlow action for google assistant? Google助手,将安装的应用程序与没有OAuth2的助手连接 - Google Assistant, connecting installed app with the assistant without OAuth2 无需服务器连接即可将 Google 助理集成到应用程序 - Google assistant intergration to app without server connection 使用Google智能助理直接与我的Android应用对话并执行一项非常简单的任务 - Use Google Assistant to directly talk to my Android app and execute a very simple task 让我的应用与Google Home中的Google Assistant对话 - letting my app talk to google assistant in google home 从Android应用程序向Google Assistant发送命令 - Sending commands to Google Assistant from Android app 如何在没有新的情况下使用自定义侦听器? - How to use custom listener without new?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM