• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

tasker notification reminder

C

cvandingelen

Guest
Missed Notification Reminder - Tasker Wiki

Hi all,

I imported the missed notification reminder profile in tasker (see link above). Now I have the following problem since I got a new phone (galaxy note, rooted it with cm9 ics):

the notification comes, but keeps coming, even when I click it so that it should clear, 2 minutes later it comes back, also when the sms is read or the calendar apointment is done

I've change 2 things in the downloaded profile:
1) the notification sound
2) the time from 10 mins to 2 mins

Could anyone help me out, I tried a few things on my own, changing everything and also redownloaded the profile en reimported it so it was clean again, but it didn't work
 
When this happens, typically the problem has to do with the package names for the apps being different from one phone to another. For the reminders that aren't clearing, check the profiles that should be clearing them to see if they're using an Application context. If so, edit the context and reselect the apps (even if it looks like the same app), and then save the changes (tap the green check mark).

If that doesn't fix the problem, let me know.
 
Upvote 0
I've modified the profiles since last posting them, mostly do accommodate things that didn't work when I changed phones myself, and to make use of Tasker's implementation of local variables. Here are the two profiles that I'm using for clearing the flag for calendar reminders:

Profile: Missed Notification Clear - Calendar (106)
State: Variable Value [ Name:%WIN Op:Matches Value:event details ]
Application: Calendar
Enter: Anon (107)
A1: Variable Set [ Name:%mntmp To:%MISNOT / 16 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%mntmp Splitter:. Delete Base:Off ]
A3: Variable Subtract [ Name:%MISNOT Value:16 ] If [ %mntmp1 Is Odd ]

Profile: Missed Notification Clear - Calendar (73)
Event: Button Widget Clicked [ Label:Dismiss all/Snooze all/Dismiss/Snooze Button Type:Simple Click Length:Any New Button State:Any ]
Enter: Anon (74)
A1: Variable Set [ Name:%mntmp To:%MISNOT / 16 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%mntmp Splitter:. Delete Base:Off ]
A3: Variable Subtract [ Name:%MISNOT Value:16 ] If [ %mntmp1 Is Odd ]

If the profiles you're using look similar to these (the contexts should be pretty close), the parts I've bolded are probably where you're running into a problem.

Another common problem (unrelated to changing devices) is that reading Gmail on your computer will cause the notification to clear on the phone, but won't clear the flag for the reminder.

Whether or not you make changes to the contexts based on the above, it would probably be helpful if you could export your profile descriptions from Tasker and post them here.
 
Upvote 0
Hi

Since I didn't find exporting the profiles (not a menu option any more like it says in the faq), I typed it all, hope you can understand it. It's inclued in this post as a txt file.

Long-press on the profile in the list of profiles and you'll get an export option.

Anyway, here are the profiles from your previous post:

Profile: Missed Notification Clear - All
Event: Button Widget Clicked [Label: clear Button Type: Other Click Length: Any New Button State: Any]
State: Variable Value [ Name:%WIN Op:Matches Value:Verizon Wireless Invert:Off] --> Changed this to my operator, but doesn't help
A1: Variable Clear [ Name:%MISNOT Pattern Matching:Off ]

Profile: Missed Notification Clear - Calendar (106)
State: Variable Value [ Name:%WIN Op:Matches Value:view event ] --> tried changing this to "event details" like in your case, but didn't work
Application: Calendar
A1: Variable Set [ Name:%mntmp To:%MISNOT / 16 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%mntmp Splitter:. Delete Base:Off ]
A3: Variable Subtract [ Name:%MISNOT Value:16 ] If [ %mntmp1 Is Odd ]
A4: variable Join [ Name:%MNTMP Joiner:. Delete Parts:On ]
A5: Variable Clear [ Name:%MNTMP Pettern Matching:Off ]

Profile: Missed Notification Clear - Calendar (73)
Event: Button Widget Clicked [ Label:Dismiss all/Snooze all/Dismiss/Snooze Button Type:Simple Click Length:Any New Button State:Any ] --> First it said only "Dismiss all/Snooze all", changing it didn't help
A1: Variable Set [ Name:%mntmp To:%MISNOT / 16 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%mntmp Splitter:. Delete Base:Off ]
A3: Variable Subtract [ Name:%MISNOT Value:16 ] If [ %mntmp1 Is Odd ]
A4: Variable Join [ Name:%MNTMP Joiner:. Delet Parts:On ]
A5: Variable Cear [ Name:%MNTMP Pattern Matching:Off ]

Profile: Missed Notification Set/Clear - Calls
State: Missed Call *
A1: Variable Add [ Name:%MISNOT Value:1 ] If [ %MISNOT Is Even ] --> Wrap Around is empty
Exit: Variable Subtract [ Name:%MISNOT Value:1 ] If [ %MISNOT Is Odd ]

Profile: Missed Notification Reminder --> since it's resetting and not clearing, this profile is always on unless I turn it off manually
State: Variable Value [ Name:%MISNOT Op:Maths: Greater Than Value:0 Invert:Off]
A1: Notify [ Title:Notification Reminder Text:Empty Icon:Same you used Number:0 Permanent:Off ]
A2: Perform Task [ Name:Notification Reminder Stop:Off Priority:5 Parameter 1:Empty Parameter 2:Empty Return Value Variable:Empty ]
Exit: Notify Cancel [ Title: Notification Reminder Warn Not Exist:Off ]

Profile: Missed Notification Set/Clear - Messaging
State: Unread Text [ Type:Any Sender:Empty Content:Empty ]
A1: Variable Set [ Name:%mntmp To:%MISNOT / 4 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%mntmp Splitter:. Delete Base:Off ]
A3: Variable Add [ Name:%MISNOT Value:4 ] If [ %mntmp1 Is Even ]
A4: variable Join [ Name:%MNTMP Joiner:. Delete Parts:On ]
A5: Variable Clear [ Name:%MNTMP Pettern Matching:Off ]

Task: Notification Reminder
A1: Wait [ Minutes:2 ] --> Changed this from 10
A2: Stop If [ %PACTIVE !~ *missed notification reminder* ]
A3: If [ %SILENT !~ on ]
A4: Vibrate Pattern [ Pattern 10,300,200,300 ] If [ %SCREEN ~ Off]
A5: Vibrate Pattern [ Pattern 10,70 ] If [ %SCREEN ~ On]
A6: End If
A7: Notify Sound [ Title:Notification Reminder Text:Empty Icon:Same you used Number:0 Sound File:Some File on my phone ] If [ %SCREEN ~ Off ]
A8: Notify [ Title:Notification Reminder Text:Empty Icon:Same you used Number:0 Permanent:Off ] If [ %SCREEN ~ On ]
A9: Goto [ Type:Action Number Number:1 ]

For the first profile (Missed Notification Clear - All), I would change all the Button Widget Clicked event to leave the label filed empty and the type to be "any". Then change the "Verizon Wireless" to "*". This is only for troubleshooting purposes, to see if it's the things you're specifying here that are causing it not to work.

If that works, then I would start changing the Button Widget Clicked parameters to narrow down the context but still allow it to work as expected.

As for the windows name, I use this task, executed from a home screen widget, to repeatedly show me the current window label. I use this when I need to find out the window name.

Window Label (27)
Abort Existing Task
A1: If [ %FlashWin = 1 ]
A2: Variable Clear [ Name:%FlashWin Pattern Matching:Off ]
A3: Else
A4: Variable Set [ Name:%FlashWin To:1 Do Maths:Off Append:Off ]
A5: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A6: Flash [ Text:%WIN Long:On ]
A7: Goto [ Type:Action Number Number:5 Label: ]
A8: End If

If you create a home screen widget or shortcut that executes this task, tapping the widget/shortcut once will begin repeatedly displaying the current window name. Tapping it again will stop displaying the window name. You can then use this to figure out the window name you should be using in the Variable Value context.

For the Missed Notification Clear - Calendar context, what you changed the label to is what I'm using now. I would suggest changing it to lower case and/or padding all the match strings with asterisks to see what helps. I don't know of a way to determine the name of the button you just clicked other than through trial and error.
 
  • Like
Reactions: cvandingelen
Upvote 0
huraaaaaaaaaaaaaaaaaaaaay :D

When I changed the "Verizon Wireless" to "*" it worked just fine. When I changed it again the what the %WIN said, it didn't work though, but leaving it to * is fine by me :)

Let me also say that even if I hold it on a profile, I don't get an option to export, only "delete" and "rename".

But hey, it all works fine now, so who cares ;):p

Anyway, thanks a lot :congrats:
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones