Voice input behind locked screen

flyos

New member
Hi,

I'm quite unhappy with Google Assistant being quite inconsistent and stupid... I'm trying to set up something simple where I'm saying a word (like "podcast") and Macrodroid starts doing its magic (like starting my podcast app and playing stuff in the playlist, already have that set up).

So I have something like this:

T: Media button long press
T: Home button long press

A: Speech "What can I do?"
A: Voice input -> command
If (command contains "hour")
A: Speech "It's {hour} {minute}"
Else if (command contains "podcast")
A: Start macro "Play podcasts"
Else
A: Speech "I didn't understand"
End If

This works very well and it's actually much more pleasant to use that Google Assistant (for my needs at least).

However... when the phone is locked, it doesn't work. More precisely, it works until the Voice Input action (I can hear the speech part for example), but the Voice Input doesn't seem to work (it starts, so the log says, but nothing comes out of it).

Any way to make this work even when the phone is locked? I've tried to make Macrodroid unlock the screen, but it doesn't succeed. The phone is a Galaxy A52 with LineageOS 20.0 installed, and rooted.
 

MacroDroidDev

Administrator
Staff member
Sorry I don't think it's possible for this to function with the screen off. I know many users who use UI Interaction to unlock the device via swipe pattern or PIN code so it should definitely be possible,
 
Top