What I would like to do is when I am connected to my home WiFi and if the time is 10pm turn Do Not Disturb on (the only thing that can play is my alarm) and then at 8:30am when my alarm sounds turn Do Not Disturb off.
I have been using the Do Not Disturb profile for a few days now and I have noticed it works perfectly at 10pm when activating the profile but at 8:45am it doesn't turn off Do Not Disturb even though I have the timer set from 10am to 8:45am.
I'm not sure if I have done something wrong but I followed your instructions so not too sure why it's not working :(
Thanks
Matt
Does anyone have any suggestions as to why this doesn't turn off Do Not Disturb?
Yesterday it didn't turn on DND, I had to restart my phone for it to activate.
Thanks
Matt
Does anyone have any suggestions as to why this doesn't turn off Do Not Disturb?
Yesterday it didn't turn on DND, I had to restart my phone for it to activate.
Thanks for the reply :) I have checked all those settings and they are all OK so not too sure what else could be stopping it from turning off.
The instructions are a bit out of date but I'm sure I checked in the correct sections.
Any other suggestions?
Thanks :)
Any other suggestions?
Apologies, I wasn't aware there was an export function. Here's the export for my profile...
Profile: Do Not Disturb Weekdays (3)
Time: From 22:00 Till 08:45
State: Wifi Connected [ SSID:SKY56M0P MAC:* IP:* Active:Yes ]
Day: Sun, Mon, Tue, Wed or Thu
Enter: Do Not Disturb On (8)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:7 Display:Off Sound:Off ]
2. So the profile will not automatically turn off Do Not Disturb on a Friday morning at 08:45? Currently it hasn't turned off any of the days I have had it active.
3. I have activated the log, I presume this will populate when the profile is active?
Thanks
Regards
Matt
Enter: Do Not Disturb On (8)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:7 Display:Off Sound:Off ]
2. So the profile will not automatically turn off Do Not Disturb on a Friday morning at 08:45? Currently it hasn't turned off any of the days I have had it active.
Ok.
3. I have activated the log, I presume this will populate when the profile is active?
I appreciate all the help you have given so far :)
I will post the log when it populates although that will be Monday, alternatively I do have a weekend profile that if it doesn't turn off Do Not Disturb I could post this.
Thanks again Rich
Regards
Matt
I will post the log when it populates although that will be Monday, alternatively I do have a weekend profile that if it doesn't turn off Do Not Disturb I could post this.
PROFILE
Profile: Do Not Disturb Weekdays (3)
Time: From 11:43 Till 11:53
State: Wifi Connected [ SSID:SKY56M0P MAC:* IP:* Active:Yes ]
Day: Sat
Enter: Do Not Disturb On (8)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:7 Display:Off Sound:Off ]
LOG
20171125 11.44.22 M Restart ID0:0.0 Monitor
20171125 11.44.22 P Active ID3 Do Not Disturb Weekdays
20171125 11.44.22 E Start ID0:0.0 TaskService
20171125 11.44.22 T Running ID8 Do Not Disturb On
20171125 11.44.23 A OK ID8.1 Do Not Disturb On.Do Not Disturb
20171125 11.44.23 A OK ID8.2 Do Not Disturb On.Media Volume
20171125 11.44.23 T ExitOK ID8 Do Not Disturb On
20171125 11.44.23 E Stop ID0:0.0 TaskService
20171125 11.54.00 P Inactive ID3 Do Not Disturb Weekdays
20171125 11.54.00 E Start ID0:0.0 TaskService
20171125 11.54.00 T Running ID-15 System
20171125 11.54.00 A OK ID-15.1 Anon.Do Not Disturb
20171125 11.54.00 A OK ID-15.2 Anon.Media Volume
20171125 11.54.00 T ExitOK ID-15 System
20171125 11.54.00 E Stop ID0:0.0 TaskService
maybe it's when it gets to the next day is where the problem occurs?
--
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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Try this. Add your own task as the enter task in the Main Profile.
. And they don't cross over midnight, which you are now aware of.
Thanks :)
Sorry Scott, I'm not sure what you mean, do you mean I should only have the time on the Main Profile and not the other three? Or to change it back to 08:30am?
Thanks :)
I will report back if it works tomorrow :) fingers crossed.
Thanks for helping out :)
Sorry I should have said that Monday - Friday I would like it to activate Do Not Disturb from 10pm until 08:45am and then on Saturday and Sunday activate Do Not Disturb at 10pm until 10:30am.
Again, I'm sorry guys - would it be easy to adjust the one Scott posted for this to work or is it a lot more involved like the one Rich posted a few hours ago?
Thanks
Matt
Sorry I should have said that Monday - Friday I would like it to activate Do Not Disturb from 10pm until 08:45am and then on Saturday and Sunday activate Do Not Disturb at 10pm until 10:30am.
Again, I'm sorry guys - would it be easy to adjust the one Scott posted for this to work or is it a lot more involved like the one Rich posted a few hours ago?
Adjusting Scott's approach should not be difficult.
I'll report back with my workings.
Thanks again guys.
TASKS:
StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
PROFILES:
Profile: Sunday Off (18)
Time: From 10:45 Till 21:59
Day: Sun
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Sunday On (7)
Time: From 22:00
Day: Sun
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Monday Off (9)
Time: From 08:45
Day: Mon
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Monday On (10)
Time: From 22:00
Day: Mon
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Tuesday Off (11)
Time: From 08:45
Day: Tue
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Tuesday On (12)
Time: From 22:00
Day: Tue
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Wednesday Off (13)
Time: From 08:45
Day: Wed
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Wednesday On (14)
Time: From 22:00
Day: Wed
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Thursday Off (15)
Time: From 08:45
Day: Thu
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Thursday On (16)
Time: From 22:00
Day: Thu
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Friday Off (17)
Time: From 08:45
Day: Fri
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Friday On (20)
Time: From 22:00
Day: Fri
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Saturday Off (21)
Time: From 10:45 Till 21:59
Day: Sat
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb ]
Profile: Saturday On (23)
Time: From 22:00
Day: Sat
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Profile: Main Profile (22)
State: Profile Active [ Name:Friday Off/Friday On/Monday Off/Monday On/Saturday Off/Saturday On/Sunday Off/Sunday On/Thursday Off/Thursday On/Tuesday Off/Tuesday On/Wednesday Off/Wednesday On ]
State: Wifi Connected [ SSID:SKY56M0P MAC:* IP:* Active:Yes ]
Enter: Do Not Disturb (24)
A1: Do Not Disturb [ Mode:Alarms ]
A2: Media Volume [ Level:6 Display:Off Sound:Off ]
Thanks
Matt
So I have given this a go and I must be doing something wrong as it has activated Do Not Disturb already. Here's what my profiles and tasks look like - is there anything obviously wrong with this?
What I don't understand in the one you done Scott is on the 'All Week' profile you have a time of 22:00 til 08:45 but I thought that the time context doesn't recognise when it goes on to the next day?
Ooo sorry Rich, I read it more a rhetorical question as thought you were showing me what I need to do in the profiles. You are correct with the times you posted and Monday would be the same as Tuesday, Wednesday, Thursday and Friday.
What I don't understand in the one you done Scott is on the 'All Week' profile you have a time of 22:00 til 08:45 but I thought that the time context doesn't recognise when it goes on to the next day?
If that is the case I shall try and have a go at editing your profiles and post my results.
Profile: All Week (25)
Time: From 22:00 Till 08:45
Day: Mon, Tue, Wed or Thu
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task:Do Not Disturb On ]
Why does this say on Monday, Tuesday, Wednesday and Thursday between 10pm and 8:45am turn off Do Not Disturb? This is when I want DND on.
I'm struggling to understand how the profile works and what I need to change for it to work how I want with the weekends at a different time.
Profile: Main Profile (162)State: Profile Active [ Name:First DAY/All Week/Last Day ]Enter: YourTaskHere (163)
A1: Stop [ With Error:Off Task: ]
Does this look right as it's currently not activating Do Not Disturb.
P.S - Sorry for being such a dumbass when it comes to this, I just need to get my head around how this all works properly.
I'll have to play around with it when I have finished work and see what I can come up with especially as it's a lot more simpler with the weekend included :)
I'm in the UK so at the time of writing this it is currently 12:52pm - the profile didn't activate at 10pm which was strange as everything was copied correctly from what I can see but I will be editing it for the weekends as well so will see if it works later when I have had a play around.
I will also look at the screenshot again Rich and see if that helps me more :)
Thanks for all the help you have given me so far guys.
Matt
Profile: All Week (25)
Time: From 22:00 Till 08:45
Day: Mon, Tue, Wed, Thu or Fri
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task: ]
Profile: Weekends (27)
Time: From 22:00 Till 10:45
Day: Sun or Sat
Enter: StopTaskTime (19)
A1: Stop [ With Error:Off Task: ]
Profile: Main Profile (26)
State: Profile Active [ Name:All Week/Weekends ]
If there are any problems with it I will let you guys know.
Thanks so much Rich and Scott :)
Matt
So today the Do Not Disturb option didn't turn off :'( it recognises it should stop any tasks but it hasn't turned DND off at 08:45am.
I didn't reboot my device, I was fast asleep at that time and my phone was plugged into the charger so it wouldn't have turned off or restarted.
How would I do a task that sets Do Not Disturb off as the only options are None, Priotity, Alarms and All. I will remove all media volume tasks as this isn't a big deals to be honest, I can just turn the sound down when I need to for this :)
Thanks
Matt
I didn't reboot my device, I was fast asleep at that time and my phone was plugged into the charger so it wouldn't have turned off or restarted.
How would I do a task that sets Do Not Disturb off as the only options are None, Priotity, Alarms and All.
will remove all media volume tasks as this isn't a big deals to be honest, I can just turn the sound down when I need to for this :)
So it must have been Android that killed Tasker. Do you have Tasker set to run in foreground in Tasker preferences?
I would assume it would be none. But you should test to confirm that.
There's really no problem leaving it in there if you want it set to a known volume on exit of the profile.
In addition to creating and using an exit task, because your profile activates and deactivates with your Wi-Fi connected state, make sure that you have the setting (in Android) Keep Wi-Fi on during sleep set to always. For testing purposes, you might want to remove the Wi-Fi connected state until you are certain things are working.
You should also make sure that Tasker is not battery optimized, as well.
Unfortunately adding the exit task of Do Not Disturb set to None changes Do Not Disturb to Alarms muted and not turn it off :(.
Sorry, I do no use dnd so the 'none' setting was just a guess. When I said you should test I simply meant to run the task manually with the play button to make sure it sets dnd correctly (before waiting for the profile too fire the task :) ). After testing on my device it looks like to turn "off" dnd you need to use the "all" option.
The good news is the profiles did work as expected even though Tasker was killed again.Something (most likely android) seemed to kill Tasker again at 7:23 am. Do you have any task killing apps installed? Do you have any apps scheduled to do things at this time in the AM ?
Not too sure if there's any way to find out what app is killing Tasker?
The way I would suggest is to diligently Google the issue. If you can not find a solution then post a new thread here with a appropriate subject title and ask for help. Be sure to include any relevant info you found in your searches and the run log that shows Tasker restarting. It is a 'Monitor start' in the run log that indicates Tasker has just restarted. Not to be confused with a 'monitor restart'Wich is a normal thing to see in the run log.
Just wanted to let you know that everything is now working as I wanted it to :)
Thanks so much for all of your help.
Matt