How can I display the results from an intent in Api Ai to users phone. So basically when user ask something to the google home, the response will be audio in his google home also a visual representation in his phone.
The best method we have at the moment would be to have your Action use something like Firebase Cloud Messaging to send a notification to the phone. There is currently no way to have a card or anything along those lines show up in the Google Assistant on the phone when you do something on Google Home's Assistant.
Related
I am trying to develop a Google Assistant App, that would call an end user for a status update.
In this case, how do I do a phone call as an Action for the Assistant?
AFAIK, there is no API for calling even though the Home device is quite capable of doing it. Now that the Assistant can deep link into an Android "activity", you could have a companion mobile app make the call for mobile users. That doesn't help your users with iPhones. A big hack would have you deliver a rich response with a "basic card" that has a button with the a link to a URL using the "tel:" scheme.
i'm currently working on an app like a vault that prevents you to open that app but only by your voice or fingerprint on the google assistant. But my question is that may be with fingerprint i can but by voice how?? cause i need to store the voice somewhere and then later compare it.. Please help me
For starters - you can't check a user's voice on the Assistant. Google doesn't send you the audio of what the user has said. All you get is a text transcript.
However... what you want is already what is implemented by Google. Users who have setup voice recognition on their Google Home devices will be recognized by the Assistant when they say "ok google" or "hey google" and you will receive a unique userID for those users. You'll get the same ID the next time they try talking to you. If the Google Home doesn't recognize the voice, it won't provide the ID.
There are caveats with the voice recognition, and voices can be recorded and played back so this isn't a foolproof security method, but from what you have described, it sounds like Google already does what you want.
I am experimenting with Google Smart Home. My end goal is to receive home control events, such as Turn the lights in the living room on, in my Dialogflow fulfillment service.
I am wondering if it is possible to develop and test Google Smart Home without actual devices. That is, it would be great if I could configure a Google HomeGraph configuration via browser and verify Google Smart Home actions via the console (console.actions.google.com).
Is this possible and practical?
No, currently it isn't possible to test smart home devices with the web-based Simulator. You will need to add the device using the Google Home app on your phone and can then test it using the phone's Assistant.
As an aside, you also can't develop it using Dialogflow directly - you'll need to use the Action SDK. (You can relay it to Dialogflow if you want - but since you just get events and not conversation, it really doesn't help you much.)
I want to create an app that every hour asks me "What are you doing?" through voice notification.
There are a few ways I can respond, "Working", "Playing", etc.
Then it can log it on my calendar. If this is possible, what are the correct terms that are used to describe this? So I can search for documentation.
Would like to build this with Google Actions https://developers.google.com/actions/ and with Google Home
You can try the Push notifications feature to trigger the wanted intent where you will prompt the user for the type of activity he/she is doing.
The user can respond and then your webhook can take care of logging to your activity to your calendar using the Calendar API (Assuming you are referring to Google Calendar)
Note that this feature is currently in Developer preview and will not work in a production environment. Also it is only intended for Google Assistant on mobile devices. Google Home devices do not support any push notification features at the moment.
I'd like to broadcast a message on my Google Home using the new broadcast command from a node server.
Example use would be to notify me when I receive an email, paypal notification, etc.
Is it possible to do so with Google Assistant SDK? I've tried searching for a github with similar features to no avail.
Thanks!
No what you want is not possible with the Google Home as there's no way to do notifications or directly invoke commands with notifications.
With the assistant SDK, you'd need a device to embed your logic. You would need to feed in audio clips telling it to broadcast some phrase and come up with a trigger for when to send that audio.