Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old December 13th, 2012, 02:28 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 2 Times in 2 Posts
Default I can't get a profile to stop running

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?

MaxPower1 is offline  
Reply With Quote
sponsored links
Old December 13th, 2012, 03:15 PM   #2 (permalink)
Junior Member
 
Join Date: Oct 2012
Posts: 92
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 12 Times in 12 Posts
Default

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?
tatootie67 is offline  
Reply With Quote
Old December 13th, 2012, 05:36 PM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by tatootie67 View Post
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?
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.
MaxPower1 is offline  
Reply With Quote
Old December 14th, 2012, 08:20 AM   #4 (permalink)
Junior Member
 
Join Date: Oct 2012
Posts: 92
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 12 Times in 12 Posts
Default

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.
tatootie67 is offline  
Reply With Quote
Old December 18th, 2012, 06:21 PM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by tatootie67 View Post
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.
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.
MaxPower1 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:20 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.