1. Are you ready for the Galaxy S20? Here is everything we know so far!

tasker notification reminder

Discussion in 'Android Apps & Games' started by cvandingelen, Apr 18, 2012.

  1. cvandingelen

    cvandingelen Guest
    Thread Starter

    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

    1. Download the Forums for Android™ app!


  2. UncleMike

    UncleMike Android Expert

    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.
  3. cvandingelen

    cvandingelen Guest
    Thread Starter

    No Application context there, works with variables. Checked the variables and they are the same (have the same name).
  4. UncleMike

    UncleMike Android Expert

    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.
  5. cvandingelen

    cvandingelen Guest
    Thread Starter


    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.

    Attached Files:

  6. UncleMike

    UncleMike Android Expert

    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:

    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.
    cvandingelen likes this.
  7. cvandingelen

    cvandingelen Guest
    Thread Starter

    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:
  8. UncleMike

    UncleMike Android Expert

    If you're going to leave the * for matching %WIN you might as well remove that context, since it's not really serving a purpose by matching any possible value. But be aware that pressing a similar button elsewhere might result in clearing the notification reminder.

Share This Page