Tasker profile not turning off when it should

63 views
Skip to first unread message

Danny Baromen

unread,
Jun 25, 2022, 10:05:50 PMJun 25
to Tasker
I've got a weird bug in my tasker config where I've got a profile that should be turned off when other profile are running, but it doesn't turn off...

The Home profile should not be active when the other profile are, but every day when my work profile turns off, the home profile ends up being active as well as the night profile, and it should only be the night profile. 

If i open tasker, turn tasker off and back on again it works as it should, but I shouldn't have to disable / enable tasker every day...

I added a time parameter so that the home profile wouldn't be allowed to activate for 10 minutes before and 10 minutes after my work profile ends and it STILL ends up active.

Any advice would be greatly welcome...
backup.xml

Brenden M

unread,
Jun 26, 2022, 5:46:50 PMJun 26
to Tasker
Hi,

Personally I don't trust the backup.xml to import and check on my setup. 

If you give screenshots of your active profiles and their contexts, and/or Exported Descriptions (long press the profile > tap 3-dot-menu > tap export > clipboard, get that into the message. Exported descriptions of profiles are how Tasker users help each other on this forum, in general.

Did you try the "back" button on Tasker main page? Sometimes Tasker's main page erroneously shows a profile is active when it has been deactivated, especially when the state just changed. Is it actually firing off the Enter and Exit tasks of your Time Profile? (regardless of showing "active" as you suggest).

When I use a Profile action in a task, and tell it to disable some of my profiles, it always works. However, I use a AC-battery status context as the trigger for turning some profiles on and others off, so I am not using Time contexts for that. There could be an issue with Time contexts not being noticed, or triggering for an instant and not turning off or triggering and staying on until terminated another way (as you suggest, "turning Tasker off").


OH. If the time parameter in a context is SET, say 12:00 AM to 12:05 AM, AND the Profile is "active" what that means is the "enabled profile" will be "triggered" or "active" for 12:00 AM to 12:05 AM. I ask this specifically because I suddenly got a clue in your question that you might not be totally clear on what "enabled" / "active" / "turned on" / "triggered" means with respect to Profiles.

Basically, you can turn profiles off (%PENABLED ~ false... I think), then they won't trigger even if the Time or AC state or whatever context is actually happening now. 
Or, the profile is enabled, and further, "active" when the context is matched. When activated by the actuality of the context, the Enter task is run. When the context is over (ie. it's 12:06 AM), the Exit task is run. 

The time context if a Profile does not have something to do with turning the profile or off, but instead whether to run the task when the context is actual.

Danny Baromen

unread,
Jun 27, 2022, 4:47:29 AMJun 27
to tas...@googlegroups.com
Hey there,

I've been using tasker for years now and I've pretty much got the hang of it now, it's just all of a sudden now that the profile doesn't fire properly.

What's more odd is on days that I don't have the work profile active, it works perfectly and there are no issues, it's just when the work profile ends that it fires the home and night profile at the same time, and the home one seems to take preference over the night one, even though it's technically not supposed to fire at all.

photo
Danny Baromen
+27 82 771 3063 
firstge...@gmail.com 
Btc 14pFkGZmwdYTrfCeACMuwZkJQPqa9CbhTF

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/A_bxMdpSoMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/21b25c12-2116-4c8c-aff7-ef7432047ec1n%40googlegroups.com.


--
photo
Danny Baromen
+27 82 771 3063 
firstge...@gmail.com 
Btc 14pFkGZmwdYTrfCeACMuwZkJQPqa9CbhTF
Screenshot_20220627-104506_Tasker.jpg
Screenshot_20220627-104522_Tasker.jpg
Screenshot_20220627-104454_Tasker.jpg

João Dias

unread,
Jun 27, 2022, 4:54:38 AMJun 27
to Tasker
Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias

Danny Baromen

unread,
Jun 27, 2022, 5:01:46 AMJun 27
to tas...@googlegroups.com
I've exported and attached them to this email.



photo
Danny Baromen
+27 82 771 3063 
firstge...@gmail.com 
Btc 14pFkGZmwdYTrfCeACMuwZkJQPqa9CbhTF
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/A_bxMdpSoMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Home.prf.xml
Night___Weekday.prf.xml
Work.prf.xml

RSF

unread,
Jun 27, 2022, 10:10:13 AMJun 27
to Tasker
What time do you typically get off work? Your Night profile doesn't kick in until 10:30pm, so if you leave work at, say, 6pm, the Home profile should be active from 6pm to 10:30pm (assuming you're connected to wifi and no calendar events are active).

Do you have a screenshot showing both Home and Night-Weekday active at the same time (i.e. both highlighted in green)? 

Danny Baromen

unread,
Jun 27, 2022, 11:58:39 AMJun 27
to tas...@googlegroups.com
I finish work at 3am.

I'll try trigger the work profile manually and then see if it does the magic.

RSF

unread,
Jun 27, 2022, 1:50:11 PMJun 27
to Tasker
One possible issue is that the Night-Weekday profile of M-F 22:30-12:00 won't be activate Saturday morning from midnight Friday to noon Saturday. The time scheme of 22:30-12:00 is actually treated as midnight-12:00 and then 22:30-midnight on that day, vs. automatically extending to the next day. Thus last Saturday Home would've gotten activated at 3am... (unless your Night-Weekend profile handles that condition).

Otherwise, as a workaround, you could put a couple actions at the beginning of your Home task, to double-check that Night-Weekday isn't activated; and if it is, stop the Home task:
Screenshot_20220627-104755.png

Danny Baromen

unread,
Jun 27, 2022, 4:39:46 PMJun 27
to tas...@googlegroups.com
I think this will be the answer...

I'll give it a try...

And you're right, Night-Weekend does the same as Night-Weekday, just on weekends.



photo
Danny Baromen
+27 82 771 3063 
firstge...@gmail.com 
Btc 14pFkGZmwdYTrfCeACMuwZkJQPqa9CbhTF
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/A_bxMdpSoMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Danny Baromen

unread,
Jun 27, 2022, 5:03:05 PMJun 27
to tas...@googlegroups.com
There you go, both active...
Screenshot_20220627-230125_Tasker.jpg

Brenden M

unread,
Jun 27, 2022, 5:07:14 PMJun 27
to Tasker
From that screen and that state, what happens if you:

  1. Tap the checkmark.
  2. Tap the back button (or back swipe gesture on left or right edge of screen).
  3. Clear Tasker from recents.
  4. Go back to Tasker.
What does it show? Both the same?

On Monday, June 27, 2022 at 2:03:05 p.m. UTC-7 firstge...@gmail.com wrote:
There you go, both active...

Danny Baromen

unread,
Jun 27, 2022, 5:09:34 PMJun 27
to tas...@googlegroups.com
If you make tasker think about it, it fixes it instantly... but if you leave it to run on its own it won't change.



photo
Danny Baromen
+27 82 771 3063 
firstge...@gmail.com 
Btc 14pFkGZmwdYTrfCeACMuwZkJQPqa9CbhTF
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/A_bxMdpSoMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Brenden M

unread,
Jun 27, 2022, 5:16:45 PMJun 27
to Tasker
I never so your answer to a question I asked in my first reply... If you make it think, and it refreshes, without the contexts in the profile actually changing, then it probably did it correctly in the background.

In the Tasker support I've received in the past, and for certain types of contexts and actions, it was definitely recommended to check by the "back out" method of refreshing.

In the past, the support I received said this would mean that your profile is working just fine.

BUT, if the enter and exit tasks are running or not running properly, that is naturally the next step to focus on. 

If it "says" it is clean and not active after a refresh that doesn't actually change to contexts (nothing happens or time arrives), then check with a variable perhaps to assure the Enter or Exit tasks actually get performed or do not get performed as you intend.

Armando Maldonado

unread,
Jun 27, 2022, 7:24:14 PMJun 27
to tas...@googlegroups.com
tas...@googlegroups.com sábado, 25 de junio 9:06 p. m.
I've got a weird bug in my tasker config where I've got a profile that should be turned off when other profile are running, but it doesn't turn off



From: tas...@googlegroups.com <tas...@googlegroups.com> on behalf of Brenden M <nedne...@gmail.com>
Sent: Monday, June 27, 2022 4:16:45 PM
To: Tasker <tas...@googlegroups.com>
Subject: Re: Tasker profile not turning off when it should
 
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/b1949ed6-ad1e-4ba8-9e10-cebad25d5ffan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages