1. Download our Official Android App: Forums for Android!

Do 1 tasks when 2 events are active

Discussion in 'Android Apps & Games' started by Corvl, Aug 31, 2017.

  1. Corvl

    Corvl Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 31, 2017

    Aug 31, 2017
    3
    1
    5
    Male
    Hello all ,

    Can someone help me? I would like to change the volumes of my phone in tasker when 2 events happen.
    For now I have 2 profiles:
    -Wifi Near
    -An event from a third party app

    But I would like to have a task happen only when both profiles are active. Or how do I insert 2 events in 1 profile?

    Many thanks
    Cor
     

    Advertisement

  2. Thom

    Thom  
    VIP Member
    Rank:
     #21
    Points:
    1,318
    Posts:
    12,002
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,002
    4,970
    1,318
    Male
    Software Developer
    Keene, NH USA
    You insert two triggers in one profile ...
    Display Profile top level
    Tap Profile name to select it
    Long press on trigger
    Tap Add
    Add second trigger

    There are restrictions ... like ... only one event trigger per profile. Solved with two profiles ...
    First profile tests the first event and has a task that sets a variable value.
    Second Profile tests the second event and the existence of the variable value.

    ... Thom
     
    #2 Thom, Aug 31, 2017
    Last edited: Aug 31, 2017
  3. Corvl

    Corvl Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 31, 2017

    Aug 31, 2017
    3
    1
    5
    Male
    Hello Thom,

    Many thanks for your assistance.

    I don't think that restiction is an issue for me. Just to be sure, this is what I want/do.

    When I am logged in on my home wifi: (Wifi near = state) And when an event is triggered from my home automation. ( third party app > event.

    Than with the tasks function volume up on phone, notifications and system.

    Does it matter if the event or state is on top or bottom in the profile?

    Thanks,
    Cor
     
  4. Thom

    Thom  
    VIP Member
    Rank:
     #21
    Points:
    1,318
    Posts:
    12,002
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,002
    4,970
    1,318
    Male
    Software Developer
    Keene, NH USA
    Try setting it. If something is not allowed it will not be present in the menu to be selected.

    The order is not important.

    Coordinating multiple tasks ... the task priority is important to see that things happen in the order you want.

    ... Thon
     
  5. Corvl

    Corvl Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 31, 2017

    Aug 31, 2017
    3
    1
    5
    Male
    awesome .... many thanks for your help!
    Cor
     
    honeycakes likes this.

Share This Page

Loading...