Launch app and press button on SMS receive ?

PowerUser

New member
Hi to all,

is it possible that when I get SMS from specific number saying "IRRIGATION STOPPED" my phone launches specific app and presses RED button so it turns off generator ?
It does seem simple but I cant get it to work.

Thanks a lot
 

PowerUser

New member
UI Interaction is greyed out, why is that ? It says something like if I enable it it can be used to gather my personal infos etc.
For Autoset app it is not greyed out.

So it is safe to allow it ?

Thanks a lot
 

PowerUser

New member
It does not work. Lets say I tell him to open WhatsApp and press SEARCH button. It opens WhatsApp but does not press button.
 

PowerUser

New member
Yes I got that later. It does it when I do test but wjen I send expecting SMS it wont trigger it.
It seems that it works when the screen is unlocked. How do I allow it to read screen and trigger when screen is off and locked ?
If I got it right it cant press on the screen what it should when the screen is off and locked.

How do I solve this ?
 

Attachments

  • Screenshot_20230824_213319_MacroDroid.jpg
    Screenshot_20230824_213319_MacroDroid.jpg
    314.9 KB · Views: 5
Last edited:

Endercraft

Moderator (& bug finder :D)
It seems that it works when the screen is unlocked. How do I allow it to read screen and trigger when screen is off and locked ?
If I got it right it cant press on the screen what it should when the screen is off and locked.

How do I solve this ?
When your screen is off, it isn't there. It's not like your screen is completely off but everything that's would normally show is still there.

It is impossible to do UI Interaction when your screen is off (and even more if locked). Unless you do modifications to your OS I imagine.
 

PowerUser

New member
Can you give me short guidance how to do that and then I know what to search for ?
Basically I need to make it that received SMS unlocks the phone but I must remove all locks ? So pattern, face, fingeprint must be off ?

Thanks
 

Dm114

Well-known member
Can you give me short guidance how to do that and then I know what to search for ?
Basically I need to make it that received SMS unlocks the phone but I must remove all locks ? So pattern, face, fingeprint must be off ?

Thanks
No, you shouldn't unset all locks but you must set your screen on and then unlock it (by pattern or pin).
 

PowerUser

New member
If I must unlock my phone then app makes no sense. I need it to start app and press few things in the middle of the night while I sleep.
Or you think that MacroDroid app can unlock it by pin or pattern while I am not at the phone ?
 

Snurre

Well-known member
If I must unlock my phone then app makes no sense. I need it to start app and press few things in the middle of the night while I sleep.
Or you think that MacroDroid app can unlock it by pin or pattern while I am not at the phone ?
I think you should try to search the forum, there is many posts about this
Or the template store
 
Top