Ok, your tip got me 75% there. And it works. BUT, it only allows the lighting to be triggered 1x. Which is odd. You can pick the style, color, animation method, but it will only trigger 1x (lasts a few seconds) & can't be modified to last any longer.But you already have this app installed on your phone anyway (its samsung's modes and routines app) and it won't cause any more battery drain + it works flawlessly, but I understand your point
I've tried the same a while ago and clearing the notification quickly seems to prevent this lighting (at least on MIUI).Thats right. Now try to create macro in macrodroid using action called 'Repeat actions'.
Loop should look something like:
Repeat actions (while/do here you could use system's notification specific to charging phone - notification present, contains: whatever notification says)
1. Display notification - charging
2. Wait 100ms
3. Clear notification - macrodroid - charging
4. Wait 1s
If screen lightning lasts few seconds, it should be enough to keep it up this entire time and when you unplug the phone, system notification specific to charging is gone so loop should stop.
Like this?Thats right. Now try to create macro in macrodroid using action called 'Repeat actions'.
Loop should look something like:
Repeat actions (while/do here you could use system's notification specific to charging phone - notification present, contains: whatever notification says)
1. Display notification - charging
2. Wait 100ms
3. Clear notification - macrodroid - charging
4. Wait 1s
If screen lightning lasts few seconds, it should be enough to keep it up this entire time and when you unplug the phone, system notification specific to charging is gone so loop should stop.
I've tried the same a while ago and clearing the notification quickly seems to prevent this lighting (at least on MIUI).
Like this?
Isn't that covered with this?You are missing action to display notification in your loop that containst the phrase you used in routine's trigger(if) and I am not sure how did you configure 'clear notification' action in macro cause it says something about the trigger
Oh wait... You're saying the "contains" in Macdroid needs to be the title of the action in Modes & Actions? So you're triggering that action to loop?You are missing action to display notification in your loop that containst the phrase you used in routine's trigger(if) and I am not sure how did you configure 'clear notification' action in macro cause it says something about the trigger