简体   繁体   中英

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. 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

> 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

> 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. 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

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. 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

> 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

> 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. 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

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). 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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