MacroDroid voice commands for Google assistant

ksrv

New member
Google launched the addition of voice commands for app, and this has already appeared in the tasker. when to wait for it in MacroDroid? for example - Ok Google run macro the "turn on the computer"
 

MacroDroidDev

Administrator
Staff member
I have implemented it weeks ago as soon as I heard it was available in Tasker.

Both of these are mine with no responses:


https://www.reddit.com/r/androiddev/comments/lmkhho
I have decompiled Tasker to make sure I'm doing the same as they are and I'm pretty convinced I am.

I can find no outlet to get support on this issue to find out what is going on (which is pretty normal for Google to be honest). I really don't know what to do next, because as far as I can tell I have done everything I need to, it works with the test tool but now even weeks after deployment there is no response to Ok Google.
 

MacroDroidDev

Administrator
Staff member
I think I may have find the secret sauce......

I am now able to get it working on the deployed version of MacroDroid. You will need to set your device language to English US (and ensure you assistant is set to use this as well).

You can then invoke macros via:

Ok Google run macroname in macrodroid

Please let me know if this works for you
 

ksrv

New member
I completely forgot that this only works for English, Google pisses me off. I use Russian, I will wait. a week ago routines worked in Russian with basic English, but have already stopped. it makes me sad
 

ksrv

New member
just got a beta with command support. I tried changing the language to English everywhere, nothing happened to meScreenshot_20210302-212814.png
 

MacroDroidDev

Administrator
Staff member
I've now established that it works flawlessly when I'm installed from my account, but any other account does not work. For example it won't work on my wife's phone and it won't work when I created a clean device with new google account (All other settings identical). The good news is I do seem to have finally tracked down a support channel and have had what looks like real human contact from them. I've sent them full details of the problem along with a video of what is happening, fingers crossed they will know what is going on.
 

FrameXX

Well-known member
It would be also easy for everone if they would add ability to launch shortcuts from their routines. Then I would just launch any MacroDroid macro.

Screenshot_20210303-102235.png
 

MacroDroidDev

Administrator
Staff member
The plot thickens. So it appears the assistant does work on other accounts if you give it the exact command:

"Run macroname in MacroDroid - Device Automation" (I needed to type this to get it to work reliably).

So it seems like the name is coming from the Play Store app name in this case. The good news is I've got a real human being engaged on this issue at Google who I'm hopeful will help me resolve this. Today I feel very special! :D
 

getshwifty989

New member
Did you ever get it figured out?

I'm surprised that there's no option in macrodroid for this. Just like when your phone detects you saying "OK Google", why can't it do the same thing in macrodroid instead whenever it hears the command you trained it to hear? I know, I know it's probably WAY more complicated than anyone realizes except developers but there's a ton of useless apps out there that still had to have taken alot of time to make..... Atleast this feature would be extremely useful IMO and I'd wager that it would be hugely popular as well.
 

MacroDroidDev

Administrator
Staff member
Yes it is now resolved and you can simply say: "Run <macroname> in MacroDroid"

Implementing an always listening voice service inside an app would not really be possible as it would require the CPU to be awake always and destroy the battery life.
 

Jacob L

Moderator (Lawsonator)
Did you ever get it figured out?

I'm surprised that there's no option in macrodroid for this. Just like when your phone detects you saying "OK Google", why can't it do the same thing in macrodroid instead whenever it hears the command you trained it to hear? I know, I know it's probably WAY more complicated than anyone realizes except developers but there's a ton of useless apps out there that still had to have taken alot of time to make..... Atleast this feature would be extremely useful IMO and I'd wager that it would be hugely popular as well.
 

Xavier

New member
Do upu think its possible to translate Google Actuon support in french ?

I cant use macrodroid in routine (because rputine autodetect the language used to invoke the assistant?
 

MacroDroidDev

Administrator
Staff member
The limitation is that Google does not yet support non-english languages for this. As soon as they allow other languages I will add support.
 
Top