google-home

Can I initiate an action on Google Home from another application without a voice command?

不羁岁月 提交于 2019-12-11 02:07:24
问题 I'm not sure if this is already possible. Can I have another application initiate an action to Google Home instead of having a person initiating by talking to it? For example: I wanted to have Smartthings IFTTT asking Google Home to play something. A couple cases below: CASE 1: If I'm home and alarm armed and front door open then Smartthings will call Google Home for it to say: Front Door Opened CASE 2: When the presence sensor detects I arrive Google Home greets me and ask if I would like to

Change language of actions-on-google websimulation or test google home in German

帅比萌擦擦* 提交于 2019-12-09 04:44:56
问题 I am using actions on google with api.ai. I am able to create a api.ai bot in a language other than English, but the web simulator of actions-on-google (https://developers.google.com/actions/tools/web-simulator) seems to work in English only? Is there any option to change the language there or a time schedule when other languages (in my case German) will be available in the simulator? Currently testing a non English action is impossible, because the web simulator does not even forward

Force user to relink his/her account

狂风中的少年 提交于 2019-12-09 00:55:16
问题 Very simple use case explaining my problem: Given my app asks for a pin for some interactions. Now the user gives me three times a wrong pin. Then, I want to reset his access and force him to re-link his account. I can do this pretty easily in my internal database, but I need a way to tell google that his currently used token is not valid anymore. Else, Google Assistant resists in sending me the now rejected token. Update 2018-03-01 : With the new built-in intents/events, I also tried sending

Google Smart Home integration with my IoT device (clarification needed)

不想你离开。 提交于 2019-12-08 04:00:50
问题 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. My end device is running a very small microcontroller utilizing an RTOS (Linux is not available) Here is how I see it (Please correct or comment) 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

Actions on Google and Account linking failure after tokens returned

帅比萌擦擦* 提交于 2019-12-07 20:09:44
问题 Trying to test auth in the Web Simulator using the OAuth2 Authorization Code Flow, https://developers.google.com/actions/tools/web-simulator See: https://developers.google.com/actions/tools/testing#testing_account_linking_with_google_home_web_simulator And: https://developers.google.com/actions/develop/identity/oauth2-code-flow Provided you've setup your Action to require authorization against your authorization service, when you try to access your Action the Assistant advises you that you

Deployed Firebase Function Cannot Execute HTTP GET to external API? [duplicate]

回眸只為那壹抹淺笑 提交于 2019-12-07 03:24:28
This question already has answers here : Cloud Functions for Firebase - getaddrinfo ENOTFOUND (4 answers) Closed 2 years ago . I am attempting to create my first Google Home Action as with the same functinality of my Amazon Alexa Skill. The way this action works is, you execute an intent, and that calls a function in my code. When the function is called, it sends off a GET to an external API to pull some data. Now when I run this locally using: firebase serve --only functions and ngrok . These will allow me to test the function on API.AI and it works fine. But when I decide to deploy this to

Actions on Google and Account linking failure after tokens returned

只愿长相守 提交于 2019-12-06 15:48:24
Trying to test auth in the Web Simulator using the OAuth2 Authorization Code Flow, https://developers.google.com/actions/tools/web-simulator See: https://developers.google.com/actions/tools/testing#testing_account_linking_with_google_home_web_simulator And: https://developers.google.com/actions/develop/identity/oauth2-code-flow Provided you've setup your Action to require authorization against your authorization service, when you try to access your Action the Assistant advises you that you need to Link your account. In the same response the simulator provides a URL for initiating the linking

Account Unlinking on Actions on Google

给你一囗甜甜゛ 提交于 2019-12-05 16:19:17
I'm developing an action on Google that requires the user to login with my services. I was able to implement account linking . That works fine; I'm able to complete the entire flow to authenticate the user using the Google Home app, but I couldn't find a way to unlink the account. The service does not appear at Apps with access to your account Is there any way to unlink an account? The "preview" feature on both API.AI and Actions SDK will clear any existing OAuth tokens for your action on your account. After running "preview" and invoking your action -- "OK Google, talk to $invocationName" --

Requesting User Location from Google Actions with Api.ai

感情迁移 提交于 2019-12-05 02:59:35
问题 Google Actions can provide you with the user's location, name, and few other details. How can this be done on Api.ai without the nodejs SDK? All examples from Google are using the Nodejs sdk. According to the Conversation Api it is just a matter of putting the correct json in the response, however it is unclear how to get Api.ai to fill in this json. I've read the docs here , but am still unclear. Sample code, or more detailed documentations, would be great for the non nodejs developers. I'm

redirect_uri_mismatch when OAuth2 account linking from Google Home Simulator

烈酒焚心 提交于 2019-12-03 21:52:44
问题 I am developing an account linking integration for an "Actions on Google" integration with API.AI for use with Google Home. When I test this agent in the simulator (https://developers.google.com/actions/tools/web-simulator) As expected, this is my response: { "response": "It looks like your conference manager account is not linked yet. You can link conference manager to your Google Account from the Google Home app.", "audioResponse": "//NExAARC..."content_copy, "debugInfo": { "sharedDebugInfo