macro not running when phone locked

dannyjohan

New member
im using galaxy tab A8. recently i updated the software and macrodroid apps,
after it, all macro wont fired or start when phone locked.
i try disable lock also they wont start. but when i tried the macro when the phone unlocked, its start succesfully

already put on battery optimize exclusion and grant all permission to macrodroid
sorry for my bad english. pls help
 

Attachments

  • Screenshot_20210313-191048_MacroDroid.jpg
    Screenshot_20210313-191048_MacroDroid.jpg
    499.6 KB · Views: 32

dhj49er

Well-known member
im using galaxy tab A8. recently i updated the software and macrodroid apps,
after it, all macro wont fired or start when phone locked.
i try disable lock also they wont start. but when i tried the macro when the phone unlocked, its start succesfully

already put on battery optimize exclusion and grant all permission to macrodroid
sorry for my bad english. pls help
The screenshot shows just actions, so not possible to say why your macros aren't working, as macros work via triggers.
Is it possible to provide a screenshot of a macro that's not working?
Looking at the list of actions the 3 consecutive UI integration actions won't work as expected, as each action needs time to work. After each UI integration action you need Macrodroid to wait - the wait time is typically 250ms to 600ms, but best to try different values to find what works best on your tablet.
 

dannyjohan

New member
Ups sorry heres the trigger. Actually i have 2 trigger timing and wifi connected. This macro works when i test actions or test macro. But dunno why the trigger never fired. Theres no constraints.

or maybe, macrodroid wont trigger anything if screen off?
 

Attachments

  • Screenshot_20210315-193124_MacroDroid.jpg
    Screenshot_20210315-193124_MacroDroid.jpg
    481.8 KB · Views: 36

FrameXX

Well-known member
Ups sorry heres the trigger. Actually i have 2 trigger timing and wifi connected. This macro works when i test actions or test macro. But dunno why the trigger never fired. Theres no constraints.

or maybe, macrodroid wont trigger anything if screen off?

You can use "Share macro as Image" from the top right menu. I hope you disabled all optimizations for MacroDroid. Also check phone settings if you don't have some extreme doze mode enabled.

Also take a look at https://dontkillmyapp.com/samsung
 

dhj49er

Well-known member
Also check the Macrodroid system log - see if Macrodroid services have started and are running.
Post a screenshot of the log, if you help understanding the entries.
If they are and you have disabled all the Tab 8 battery optimisations (make sure Macrodroid and the helper aren't being optimised) try a simple test macro.
T set time a few minutes ahead (use alarm ticked)
A screen on
A wait 5 sec
A popup message "Macro worked"
Turn off the screen before the trigger set time and wait.
At the trigger set time screen should come on and a few seconds later Macro worked message pops up.
If not, check the system log to see what Macrodroid did or didn't do.
 

dhj49er

Well-known member
Another setting to check is the location permission for Macrodroid and the helper file. The helper file needs location 'on all the time'. Macrodroid will need the same if you use location related functions in any of your macros.
I set both to 'on all the time'
 

MacroDroidDev

Administrator
Staff member
@dannyjohan I think the answer may be simpler than you think.

According to your screenshot your macro is disabled, so naturally the triggers will not be firing unless you enable the macro.
 

420

Active member
Another setting to check is the location permission for Macrodroid and the helper file. The helper file needs location 'on all the time'. Macrodroid will need the same if you use location related functions in any of your macros.
I set both to 'on all the time'

i don't think the helper file actually needs location permission (atleast not for me), because i have all permissions denied for both the helper file and macrodroid itself and it can still automatically turn my wifi on or off, i'm not using any location related functions though and always have location services turned off.
 
Top