Externally triggering an Actions On Google app to start - actions-on-google

Here is my scenario: I have some code that is triggered by an event. The code and trigger are completely external to Google Assistant. I want this code to somehow trigger the Google Assistant on my device to start my Actions On Google app.
Here's a use case. I use IFTTT to send an HTTP request to my web server whenever I leave home. I want the web server to then trigger the Google Assistant on my phone to ask me where I'm going.

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.

Simulator and Device Testing Fails - Sends Request to Google, Not My App

This is an issue that began yesterday, for me and my team.
When I invoke my draft agent in google assistant and then send a query, the query gets sent to the normal Google Assistant to do a web search, instead of my agent. My agent then closes.
For example:
"Talk to Agent" - invokes the agent and welcome intent
"What's the temperature" closes the agent and searches Google for the temperature.
This also happens with commands that Google does not have its own response for - I get a google search outside my agent.
This does not happen on other platforms, such as Facebook Messenger and the Dialogflow console, but does occur in the Actions on Google simulator.

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.