r/GoogleAssistantDev • • Sep 10 '20

voice-design Custom authentication

3 Upvotes

Hi,

I am working on a app for the google home but I need the users to give a url, an id and a password. The source system doesn't support OAUth or Google authentication and I cannot change that because I am parsing the information with Axios on a web site not owned by me.

I did some researches on how I can facilitate the life of the users because this is not easy to give these informations (especially the URL) with voice but I didn't found anything relevant. I would like if possible to only use voice but perhaps for the first interaction I should ask the users to use their phone (google assistant app) to fill the information but once saved, they will be able to exclusively use the google home (except if they have to change the password of course).

My questions are the following:

  • Does anyone has recommendations on how to minimize the frictions of this authentication step by keeping into account the constraints I referenced?

  • Does the information stored into conv.user.storage are shared with all the devices (phone, and google home) ? I mean if I fill the data (url, id, password) in my phone, and if later I discuss with my google home with the same AOG app, would it be possible to get the data ?

Thanks to the community for your feedbacks


r/GoogleAssistantDev • • Aug 17 '20

Bug at merging Simple Responses from multiple webhook requests

3 Upvotes

When calling the webhook multiple times in one scene and sending simple responses there is a bug at merging the simple responses.

{
    "override": false,
    "firstSimple": {
        "speech": "<speak><audio src=\"https://www.example.com/audio/file1.mp3\"></speak>",
        "text": "Text 1"
    }
}

prompt from the second webhook call

{
    "override": false,
    "firstSimple": {
        "speech": "<speak><audio src=\"https://www.example.com/audio/file2.mp3\"></audio> <audio src=\"https://www.example.com/audio/file3.mp3\"></audio></speak>",
        "text": " Text 2"
    }
}

merged prompt in the response send to the user

{
    "firstSimple": {
        "speech": "<speak><speak><audio src=\"https://www.example.com/audio/file1.mp3\"></speak> <audio src=\"https://www.example.com/audio/file2.mp3\"/> <audio src=\"https://www.example.com/audio/file3.mp3\"/></speak>",
        "text": "Text 1 Text2"
    }
}

So with the two speak tags the SSML is invalide and is not spoken out. Sometimes the speech object is completely missing.

I created an Github issue for thatSO post


r/GoogleAssistantDev • • Aug 04 '20

Actions on google permissions

3 Upvotes

Hi everyone, i want to know if the location permissions still work in
action builder with its node library js "@ assistant/conversation" i don't
found documentation about it.


r/GoogleAssistantDev • • Aug 01 '20

Old Transaction Documentation

3 Upvotes

Is the older documentation for Transactions available?

I used to develop Actions with DialogFlow. I used the documentation for ordering, but this documentation is updated to the new Actions on Google version here https://developers.google.com/assistant/transactions.

Is the Transaction documentation for DialogFlow still available?


r/GoogleAssistantDev • • Jul 07 '20

Is It possible to add a phonecall option?

3 Upvotes

Sorry guys, for most of you it might be a stupid question. I'm not a developer but I decided to create a

troubleshooting guide for the company I own. I wanted to see if it's possible to ask the customer if he wants to call us after reaching a certain step in troubleshooter, and if the customer agrees, it would dial our business number.


r/GoogleAssistantDev • • Jul 07 '20

Revoke Google Action permission for notification

3 Upvotes

Hi!

I'm following this guide to introduce notifications in a Google Action project.

The problem is: once you give the permission to send notifications, how can you revoke it?
I mean: I gave it during a test, but - even if the permission was granted - part of the code failed and now I cannot develop this part no more, since the scene is not entered (because the permission is already granted). Moreover, I wasn't able to save my user ID because the code failed one line before.

How can I delete the permission? I'm stuck and cannot find this function anywhere, even in the project there is no reference.


r/GoogleAssistantDev • • Jul 06 '20

How do you add "What song is this" to your code.

3 Upvotes

I have an action that I want to make that would involve identifying the song playing around you. Anyone have an idea how.

P.S. Im new


r/GoogleAssistantDev • • Jun 29 '20

Video Tutorials - Learn to build using Actions Builder & Actions SDK!

3 Upvotes

r/GoogleAssistantDev • • Jun 29 '20

Create An Action For The Google Assistant With the New Actions Builder ▶ Ultimate hands-on Tutorial

Thumbnail
youtube.com
3 Upvotes

r/GoogleAssistantDev • • Jun 19 '20

What's the best analytics suite for voice apps

3 Upvotes

This one is for developers mainly. I've used Dashbot for analysis of my voice apps for a long time, but recently they introduced Premium plans and cut down a lot of functionality in free version.

Started looking into Chatbase. Is it worth trying? How does it compare to Dashbot? Any other analytic tools worth attention?


r/GoogleAssistantDev • • Jun 11 '20

smart-home Using Home Graph to get Devices state?

3 Upvotes

I'm writing a integration in my house to use bluetooth buttons to do certain actions:

BLE Mac address detected -> Turn on Light

I have got it working but is there a way to query HomeGraph for my app to know if the light is already on? Or is there a different API to get local device state?


r/GoogleAssistantDev • • Jun 10 '20

Connecting google assistant to node red

3 Upvotes

Dear all,

I need your help, I am working on project to manage the philips hue lights with voice commands via google assistant, I used node-red as a server.

I have connected philips hue lamps with node red and now I want to connect google assistant with node-red so that I can manage philips lamps via voice commands afterwards.

What is the best / fastest way to integrate google assistant with node-red?

Help is greatly appreciated, thank you in advance.


r/GoogleAssistantDev • • Jun 04 '20

Basic card dimensions

3 Upvotes

I am having a difficult time choosing the correct image size for the card. Even if I have an image that is 192px high and 300px wide, it resizes the image to be basically square. Any thoughts


r/GoogleAssistantDev • • May 20 '20

actions-on-google Detective X game for Google Assistant

3 Upvotes

r/GoogleAssistantDev • • May 13 '20

Putting an RSS audio feed into Google Assistant news category

3 Upvotes

I'm trying to make my audio content playable as an action on Google Assistant under the "news & magazine" section. (like this is, for example) The content is hosted elsewhere and has an RSS feed.

Is there a template/non-coding way of making an Assistant action, similar to Amazon Skill Blueprints, that pulls from this RSS feed?


r/GoogleAssistantDev • • May 07 '20

Who/what feature for Google Assistant/Calendar

3 Upvotes

Hi folks, I'm new here. I wanted to know if it was possible to create custom values that would work with Google Calendar. I would basically want the ability to ask Google Assitant things like the following:

Who is picking up the kids on Friday?

Who is my helper today?

Who's turn is it to host next Saturday?

Ideally, I'd be able to have some sort of database where I would manually enter these values on a calendar and Google Assistant would be able to know what I was talking about. I'm quite the noob here, so let me know if there is something out there that exists.


r/GoogleAssistantDev • • May 07 '20

Are there any sites that list public/custom invocations?

3 Upvotes

Hey folks, just wondering if there's a website to see what people have already built for google assistant, meant for public use. Thanks!


r/GoogleAssistantDev • • Apr 30 '20

Google Assistant Age and Gender permissions

3 Upvotes

Hi there

I recently started implementing Google Assistant permissions. According to the best practice I am not allowed to ask any personal information such as age and gender from my intents, and need to use Google Permissions.

According to this Google page " https://developers.google.com/assistant/conversational/helpers#json " you can only get the person's name and location.

I could not find any other way of getting the age and gender from Google permissions. Will I have to build my own intents to ask permission and then use the Google Confirmation Handler to handle the yes or no responses? I am worried that my app might get declined by Google if I do not do this correctly.

Any help will be appreciated.

Regards

PS: In case anyone is wondering why I need age and gender, it is for insurance/cover quotations.


r/GoogleAssistantDev • • Apr 29 '20

actions-on-google Handling system intent in actions

3 Upvotes

Hey everyone,

In my custom actions for google home, I see requests from users like 'Volume up' and 'Turn off the lights'. How should the action handle such requests ? I am using dialogflow fulfillment with custom backend and I see these commands sent to my backend as part of one of my custom intents.

Any suggestions? Is there a way for the custom backend to return the control back to the device?

Thanks.


r/GoogleAssistantDev • • Apr 26 '20

smart-home Private actions 2020

3 Upvotes

I've been looking at connecting Home Assistant to a private Google Action app so that I can sync Home Assistant devices to my Google Home. I've also been considering writing my own home automation stuff as Home Assistant has made some...interesting decisions.

Is it possible to create private Assistant Actions apps yet? This has always seemed a point of contention, that individuals need to run their app in "test" mode and deal with preview timeouts and account disconnects. I cannot find any information as to why this has not been resolved yet.

It's 2020; the future and I'd like to be able to build custom iot devices for my own home without being constantly disconnected. It seems as if Google Home/Google Assistant is not the right platform for innovation.


r/GoogleAssistantDev • • Apr 20 '20

Barcelona Quiz

3 Upvotes

I have made an Trivia app which will ask you 50 questions regarding Barcelona's History.

I bet you that you can't pass line of 7 true answers even if you are a True Barcelona fan.

Why not to give it a try and rate it legally.

To invoke,tell your Google assistant #Challenge Barcelona Quiz. Can't wait to see Positive reviews.


r/GoogleAssistantDev • • Apr 20 '20

Analytics in Actions console not showing data ?

3 Upvotes

For the last few days I saw a drop on the usage of my app in the Analytics sections of the action console.

But at the same time I see lots of traffic as usual on my fire base fulfillment logs.

Same traffic seen in Dialogflow analytics as well.

But in Actions console it keeps dropping, to me something is clearly wrong in the analytics section.

On a side note, I have been looking at the data that gets exported to BigQuery from actions console, and I do not find it of any value...(what am I missing ?)

Example I could do

SELECT count(*) FROM `myprojectid.actions_analytics.conversational_user_stats_daily_20200216` LIMIT 1000;

OR

SELECT count(*) FROM `myprojectid.actions_analytics.conversational_user_stats_daily_20200215` LIMIT 1000;

but I would rather want to see someting like this

SELECT DATE, count(*) from conversational_user_stats.

I wonder what's the use to break this up in separate tables..

Anyone had any luck using the big query data well ?

Thanks,

Naresh


r/GoogleAssistantDev • • Apr 18 '20

actions-on-google How do I determine the device origin when completing a request for Actions on Google?

3 Upvotes

Is there any means that I can determine the device origin when the invocation is made in the device? (Without account Linking or Linking multiple devices to one account)
A unique device ID, a device name, anything that can be associated to the device?

I.e. When I say “ Hey google, open Mobilemonkey”, is there a way to determine that I was talking to my Google Home in my office, and not in my home.


r/GoogleAssistantDev • • Mar 25 '20

I made a Myth Buster Action trivia for Google Assistant which got rejected.

3 Upvotes

It was a trivia regarding the common myths and superstitions spreading during the current time of COVID-19. It was based on a google sheet template and I referenced all the questions with appropriate explanation from Official Experts ( WHO ,CDC , john hopkins github resources and many scientists ) .

I got The following reply from Google :

To ensure we're providing only high quality and useful information to users, we will be taking down any Actions on Google that capitalize on sensitive events, such as COVID-19. The Actions on Google platform has policies (https://developers.google.com/assistant/console/policies/general-policies) that prohibit developers from deploying Actions that capitalize on sensitive events. Any Actions found to be in violation of our policies will be taken down. Thank you for understanding.

I fully understand the intent behind the rejection, but my action is authentic and useful. I come from a third world country , and people here are in a state of stress. Social media's poisonous rumours, WhatsApp forwards and Facebook's malicious posts are scaring away a lot of people and creating a sense of panic in this already depressing times.

That's why my intent behind creating such action was to spread awareness and bust those rumours. Can Any Official please look into this matter and help me launch this trivia?I can provide a link to the online excel sheet if required


r/GoogleAssistantDev • • Mar 19 '20

What is the Global Voice Hackathon? (Assistant on Air)

Thumbnail
youtube.com
3 Upvotes