Trigger on activity below threshold

alband

New member
Hi,

Is there any way to have a macro trigger when an activity percent is below a certain threshold? If I could trigger when the "Still" activity drops below 80%, it would work great. But triggering when other activities rise above even 10% isn't reliable enough.
I tried adding "NOT" constraint but that just applies to other constraints added onto the original trigger, not the trigger itself.

Thanks in advance,
David
 

alband

New member
You can see the point I'm trying to detect in the activity logs below marked with red line. Vertical scale is 0-100%. I'm trying to trigger with sub-minute accuracy (for which I can increase the detection rate, that's not an issue). So the logic would be:
trigger the first time the "still" value drops below 90%
 

Attachments

  • 16.png
    16.png
    40 KB · Views: 8
  • 17.png
    17.png
    24.1 KB · Views: 8
  • 20.png
    20.png
    25.3 KB · Views: 6
  • 21.png
    21.png
    20.1 KB · Views: 5
  • 22.png
    22.png
    20.1 KB · Views: 5
  • 23.png
    23.png
    21.3 KB · Views: 8

MacroDroidDev

Administrator
Staff member
Sorry there is no way to trigger when a value is less than a certain threshold, but it seems like a reasonable request and I shall add it to my TODO list to look at in the future.
 

alband

New member
Thanks for replying and yeah that would be great if it were possible. For the moment, I'll try adding triggers for all the other activities going above 10% but currently 'unknown' isn't a selectable activity. Perhaps adding that would be an easier short term fix?
Many thanks
 
Top