Google Home (Mini)

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Google Home (Mini)

Post by Wibbly » 16 Jan 2018 19:16

Anyone know if there's a way to trigger a flow from a Google Home device 'command' yet?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Google Home (Mini)

Post by Desmanto » 17 Jan 2018 09:34

Your phone must have Google assistant (MM 6.0+) and it is enabled. Then you can use the google home feature to send information to phone. Look at googles support, step 5 : Send Information to your phone.
https://support.google.com/googlehome/a ... roid&hl=en

I don't have Google Home nor Google assistant enabled phone. Can't test it out. From the list, you can send quite a lot of information. But maybe you can use Calendar information as the intermediate trigger. Instruct the google home to create a calendar event at certain time. Then in Automagic, use the trigger Calendar Event and filter out certain keyword that you use in Google Home.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Google Home (Mini)

Post by Wibbly » 17 Jan 2018 10:07

Thanks. Hmm. Target phone isn't on a high enough version of Android. Anyone used IFTTT sucessfully for this purpose?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Google Home (Mini)

Post by Desmanto » 17 Jan 2018 17:07

IFTTT should work. I never use it though. I think the latency is way too high (more than 5 seconds), that I would rather tap a shortcut trigger at my phone.

There is an xda article documenting the API from the Google Home. I don't if it help to connect them. https://www.xda-developers.com/google-home-local-api/

If you can issue the google home to visit local IP address, then you can make it work thru Trigger HTTP request.
Or maybe it is even better if you just turn your phone into the google home itself, by using Hotword plugin.
I am currently working on this kind of flow.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Google Home (Mini)

Post by Wibbly » 17 Jan 2018 17:17

Just got it to work with IFTTT, thanks.

IFTTT issues a notification on the phone specific to my command, and does it in a few seconds which is fine for my use case :-). Automagic triggers on the notification and then clears it.

Locked