Google Assistant broadcasting to Google Home - actions-on-google

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.

Related

is there any way to invoke google home or voice assistant automatically using scheduled database input or using a google action?

I want to set a reminder using google calendar and want to trigger the google home without invoking google home using voice. Is it possible to integrate with a database for scheduling tasks or using a google action?
Not... quite...
Although you can send Daily Updates or one-time scheduled Notifications through your Action, these will not go to Smart Speakers - primarily they will show up as notifications on a mobile device.

Set a password of voice before opening any app by google assitant

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.

Is it possible to test Google Smart Home in Google Console during developments?

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

Can google assistant ask an specific queestion hourly?

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.

Trigger visual representation from google home

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.