1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

I can't get a profile to stop running

Last Updated:

  1. MaxPower1

    MaxPower1 Active Member

    So I have 3 profiles that are triggered by NFC tags (Profiles 1-3) and 1 that's trigger by my home's WiFi (Profile 4). I can get the NFC triggered profiles to stop each other. If Profile 1 is running and Profile 2 gets triggered, Profile 1 will stop running. The problem is that I can't get the WiFi triggered profile to stop the NFC triggered ones. So if Profile 1 is running, Profile 4 gets triggered by my WiFi, Profile 1 continues to run so now I have Profiles 1 and 4 running simultaneously.

    All 4 tasks that the profiles run are configured the same. The only way I can get the NFC profiles to stop is by adding turning off the profile or triggering a different NFC profile.

    Is there anything I can do to make Profile 4 stop any of the other 3 besides changing the trigger to NFC?

  2. tatootie67

    tatootie67 Well-Known Member

    Did you try using a stop command with an if statement at the top of your tasks? You'd have to set a variable for each profile. what method are you using to disable your profiles? Profile status?
  3. MaxPower1

    MaxPower1 Active Member

    I have no idea how to set up the if statements. I tried using the profile status to stop the profiles but all it did was disable them. As soon as I manually enable the profile it start running again. The only way to stop it is to trigger another NFC profile.

    I don't even know how I got NFC profiles to disable other running profiles, I set up stop commands for each task that the profile launches but that didn't do anything. Then I set up the profile statuses for each but that turned them off so I deleted those. After that it started working properly.
  4. tatootie67

    tatootie67 Well-Known Member

    The only way to stop the task itself is by using the stop command.
    Are you familiar with using variables?
    You could set up a variable for each of your 3 profits so that they SET when they're active.
    Then clear them in all your exit tasks.

    That way you can set up a stop statement at the start of any task, click the if button, use your variable. So :stop if: PROFILE1 is ON

    You can use this method in every profile to keep tasks from running or allow them to run. Variables are global so you can use them everywhere.
  5. MaxPower1

    MaxPower1 Active Member

    I couldn't get it to work so I gave up. I had to set up all my profiles to be activated by NFC tag. It would be nice if Tasker had two different types of profiles, primary and secondary, so that two primary profiles can't run at the same time but one primary can run with one or more secondaries. Oh well, thanks for you help.

Share This Page