trigger on new google home activity

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

Moderator: Martin

Locked
User avatar
regissg
Posts: 22
Joined: 23 Apr 2018 13:13

trigger on new google home activity

Post by regissg » 27 Feb 2019 21:22

All google home activities are logged on https//myactivity.google.com and I was wondering if we could get in realtime a trigger when a new google activity is logged. Even better if we could get the logged voice command in return

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

Re: trigger on new google home activity

Post by Desmanto » 28 Feb 2019 17:45

If I am not wrong, I remember Google home has the capability to broadcast to all connected devices on same wifi : https://support.google.com/googlehome/a ... roid&hl=en
The target device (your phone) should have notification on statusbar or on screen, that you can catch to trigger the flow. I don't have google home, can't test it.

But for other command, there seems to be no direct way to do it. But you can ues periodic timer to query myactivity.google.com and parse the data to get the latest logged command.
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.

Locked