actions-on-google

Google Assistant Actions - Device Location

会有一股神秘感。 提交于 2021-01-25 01:41:51
问题 How can I get user device location (lat, lng) in Google Actions? I have found some examples using actions-on-google library to ask user for permission and get device location. But when creating a new project it is using @assistant/conversation instead of actions-on-google . If I understand correctly, this conversation lib is a new standard and I should be using it. Unfortunately, I cannot find any information about permissions or device location in @assistant/conversation . Is there some

App Action working via App Action Tool Plugin but not with voice command in Google Assistant Screen

僤鯓⒐⒋嵵緔 提交于 2021-01-05 08:55:33
问题 Logged in using the same credentials (Android Studio, Google Console, Real Device - Samsung s10+) and Device language set to EN-US. Selected App Action tool plugin from the tools menu Gave invocation name (todo app) and locale to En-US Changed default feature "History" with my command (In my case "Open active tasks in todo app") Tapped on Update Preview. Once the preview updated, Run the command via the AATT tool, it's working perfectly. Once the preview updated successfully, Opened the

App Action working via App Action Tool Plugin but not with voice command in Google Assistant Screen

两盒软妹~` 提交于 2021-01-05 08:52:14
问题 Logged in using the same credentials (Android Studio, Google Console, Real Device - Samsung s10+) and Device language set to EN-US. Selected App Action tool plugin from the tools menu Gave invocation name (todo app) and locale to En-US Changed default feature "History" with my command (In my case "Open active tasks in todo app") Tapped on Update Preview. Once the preview updated, Run the command via the AATT tool, it's working perfectly. Once the preview updated successfully, Opened the

Integrating IoT device with Google Home

南笙酒味 提交于 2021-01-01 14:32:23
问题 I am currently working on a IoT device to control lights. This device is implemented using FreeRTOS. I am little confused how to provide Google Home integration with this device, could someone shed some light on this. 回答1: You can use the Smart Home API. The Google Assistant works with a webhook, sending commands to SYNC , QUERY , and EXECUTE on that URL. You will then need to send these commands to your device. Setup happens through the Google Assistant app, where users must link with your

Integrating IoT device with Google Home

心不动则不痛 提交于 2021-01-01 14:31:25
问题 I am currently working on a IoT device to control lights. This device is implemented using FreeRTOS. I am little confused how to provide Google Home integration with this device, could someone shed some light on this. 回答1: You can use the Smart Home API. The Google Assistant works with a webhook, sending commands to SYNC , QUERY , and EXECUTE on that URL. You will then need to send these commands to your device. Setup happens through the Google Assistant app, where users must link with your

How to render a list returned from a webhook

心不动则不痛 提交于 2020-12-30 03:47:01
问题 I am using Google Actions. I am returning JSON from my webhook and receiving the following error when I test my action in the simulator: "Failed to render List or Collection prompt because of missing Type Override for a slot. Note, List and Collection should only be used in slot filling. There should be a corresponding Type Override that describes how to render the List or Collection for this Type." The JSON is a slightly modified sample taken from docs at https://developers.google.com

How to render a list returned from a webhook

随声附和 提交于 2020-12-30 03:41:24
问题 I am using Google Actions. I am returning JSON from my webhook and receiving the following error when I test my action in the simulator: "Failed to render List or Collection prompt because of missing Type Override for a slot. Note, List and Collection should only be used in slot filling. There should be a corresponding Type Override that describes how to render the List or Collection for this Type." The JSON is a slightly modified sample taken from docs at https://developers.google.com

Google assistant not taking the new URI on Android app

喜你入骨 提交于 2020-12-15 06:09:59
问题 I'm Integrating the google assistant using App Actions and BII(Built-in Intents). The issue is when I tried with the voice command it's not opening the intended screen rather it just opens the app..when I debugged it incoming URI is different(Old one) but I have a different one now. Actions.Xml <actions> <action intentName="actions.intent.OPEN_APP_FEATURE"> <!-- Each parameter can reference an entity set using a custom ID. --> <parameter name="feature"> <entity-set-reference entitySetId=

Google assistant not taking the new URI on Android app

橙三吉。 提交于 2020-12-15 06:09:05
问题 I'm Integrating the google assistant using App Actions and BII(Built-in Intents). The issue is when I tried with the voice command it's not opening the intended screen rather it just opens the app..when I debugged it incoming URI is different(Old one) but I have a different one now. Actions.Xml <actions> <action intentName="actions.intent.OPEN_APP_FEATURE"> <!-- Each parameter can reference an entity set using a custom ID. --> <parameter name="feature"> <entity-set-reference entitySetId=

Google Action and DialogFlow error “Sorry, this action is not available for your app”

一世执手 提交于 2020-12-01 09:21:48
问题 I created a DialogFlow app that works perfectly in my developer account. But I need to test it as another user, so in my Google Action simulator, I added another test account as a OWNER to the project. I verified this user has OWNER status in both the DialogFlow and Google Action UI. They are able to edit both projects with full access. However, when the test account tries to use the simulator it says: Sorry, this action is not available for your app. Sorry, this action is not available for