Autonotification event - firing twice for new notifications

378 views
Skip to first unread message

Daniel Matthews

unread,
Oct 8, 2022, 6:10:08 AM10/8/22
to tas...@googlegroups.com
Hi

I wonder if anyone has experienced this - I have a tasker profile (which reads the notification out) to fire when a new notification is posted and I have a specific BT device connected.

I frequently (but not every time) have the profile triggering twice for the same notification, it happens with notifications from various apps too.

I've had this on more than one ROM so I don't believe it's a ROM specific issue.

I'm on tasker v6.1.4-beta and autonotification beta v4.2.3.

Thanks
Dan



On Sat, 8 Oct 2022, 09:08 , <tas...@googlegroups.com> wrote:
Mahammad Rafi <rafi4...@gmail.com>: Oct 07 07:57PM -0700

Hi Joao
Is there any way to access events in outlook calendar ? I want to view,add,
edit and delete my Events. Is this possible?
 
Thanks in advance from Mahammad Rafi.
"João Dias" <joao...@gmail.com>: Oct 07 01:16PM +0100

HHmm, not sure. Maybe a bug in the launcher itself?
 
Thank you for your contact.
 
*Join*
<https://play.google.com/store/apps/details?id=com.joaomgcd.join&referrer=utm_source%3Djoaoappssupport%26utm_medium%3Demail%26utm_campaign%3Dsignature%26anid%3Dadmob>:
connect multiple devices (send pushes, remote SMS, notifications) on
Android, Windows, Mac, Linux
 
<https://play.google.com/store/apps/details?id=com.joaomgcd.join&referrer=utm_source%3Djoaoappssupport%26utm_medium%3Demail%26utm_campaign%3Dsignature%26anid%3Dadmob>
*Tasker*
<https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&referrer=utm_source%3Djoaoappssupport%26utm_medium%3Demail%26utm_campaign%3Dsignature%26anid%3Dadmob>:
customize/automate anything on your phone!
 
<https://play.google.com/store/apps/details?id=com.joaomgcd.join&referrer=utm_source%3Djoaoappssupport%26utm_medium%3Demail%26utm_campaign%3Dsignature%26anid%3Dadmob>
*AutoApps*
<https://play.google.com/store/apps/details?id=com.joaomgcd.autoappshub&referrer=utm_source%3Djoaoappssupport%26utm_medium%3Demail%26utm_campaign%3Dsignature%26anid%3Dadmob>:
add advanced functionality to Tasker via plugins
 
<https://www.patreon.com/joaoapps>
 
João Dias
 
 
Paul Steel <eps...@gmail.com>: Oct 07 11:18AM +0100

Thank you for the reply.
I followed the links and downloaded the beta. Now on 6.1.4-beta.
 
I'll see if that fixes it.
 
 
 
"M. H. (WehZet)" <manue...@gmail.com>: Oct 07 03:21AM -0700

make sure that you set the options in "Preferences --> Monitor --> Keep
Accessibility Running"
 
Paul Steel <eps...@gmail.com>: Oct 07 11:29AM +0100

Yes, I had already set that, however mine is Accessibility in Foreground
and whilst it is switched on, it is disabled.
My AutoInput is 2.8.1
 
On Fri, Oct 7, 2022 at 11:21 AM M. H. (WehZet) <manue...@gmail.com>
wrote:
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to tasker+un...@googlegroups.com.

João Dias

unread,
Oct 10, 2022, 4:54:30 AM10/10/22
to tas...@googlegroups.com
Sometimes some apps simply post 2 notifications at once :) For example WhatsApp will do that. You can work around it in various ways, but for example for WhatsApp you can enable the Has Reply Action option to only get the notification that matters.

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


Daniel Matthews

unread,
Oct 10, 2022, 10:08:27 AM10/10/22
to Tasker
Hi

But, in the case of, say the stock Messages app, I'm getting the notification firing twice for the same inbound SMS - would the App really be firing that notification twice? Seems very strange.

Thanks
Dan

jmjc...@gmail.com

unread,
Oct 11, 2022, 2:26:46 AM10/11/22
to Tasker
Yes, actually a lot of apps do. When apps use group summary, they always fire twice. One is the group summary (which you cannot see and is used for grouping multiple unread messages from the same app), and one is the actual message (the one you see).  Check the "Ignore Group Summaries" to see if resolves the issue.

Daniel Matthews

unread,
Oct 11, 2022, 7:53:30 AM10/11/22
to tas...@googlegroups.com
That's really interesting to know, I'll take a look at that setting.

Thanks


--
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/J4vabxQPko8/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/4c345c23-f04a-4f05-b5e9-adc71a420788n%40googlegroups.com.

Dan Cox

unread,
Oct 13, 2022, 2:01:02 AM10/13/22
to Tasker
Hi Dan.  My name is Dan also. ;)

I have experienced this also.  There is a pretty simple solution that I came up with to resolve this a long time ago.

In your task that contains your Say Action to verbalize the Intercepted AutoNotification's variable, you can add a Variable Set Action to capture the current notification's texts into a variables called something like %LastTitle or %LastSubject or both.  Then you can add a Stop Action at the very beginning of that same Task, containing an If condition that compares the current %antitle or %antext variable to the %LastTitle or %LastSubject variable to see if they are identical to each other.  Therefore, if the text from the current notification matches the text from the previous notification, then the Stop Action will occur and so the Say Action within that same task will not occur and you won't hear a duplicate notification verbalized.

I have attached the following files to show a visualization of my (more complicated) implementation of what I have described above:  Capture Previous notification into Variables.jpgStop Task if Current notification matches previous.jpg

---------------------------------------------------------------------

Maybe you are already using this, but I have found another feature to be very valuable in reducing certain notifications that chatter way too much and that you don't want to hear verbalized.  You can use some features within the AutoNotification Intercept Action in your task, to exclude notifications from certain apps or notifications that contain certain titles or notifications that contain certain detail text.

I have attached the following files to show a visualization of the app filter portion of my implementation of what I have described above: 1-Filter Out Notifications based on Criteria.jpg, 2-Filter Out Notifications based on App Name.jpg, 3-Filter Out Notifications based on App Names - Example.jpg

---------------------------------------------------------------------

There is another feature that I have used to help debug, troubleshoot and tune customizations of Tasker reading my notifications.  You can Install an app called Memento Database (https://play.google.com/store/apps/details?id=com.luckydroid.droidbase) on your device and then use the Memento Database Tasker Plug-in Action in your Task to store the text from each of your Intercepted AutoNotifications, into Memento Database.  This essentially acts like a notification history log and captures any details you want about your Intercepted AutoNotifications.  After you hear a notification verbalized, you can open up the Memento Database and see a text copy of the notification that Tasker just verbalized to you.  Very helpful for  debugging, troubleshooting and tuning customizations of how Tasker verbalizes your Intercepted AutoNotifications.

I have attached the following files to show a visualization of my implementation of what I have described above:  1-Memento Database notification tracing.jpg, 2-Memento Database Tasker Plug-in.jpg, 3-Memento Database notification tracing - History.jpg, 4-Memento Database notification tracing - Entry Detail.jpg

---------------------------------------------------------------------

The possibilities of customizations that you implement with how you want your notifications verbalized, using Tasker, is almost endless, using some of the things I have mentioned above and using other standard tasker features.

I hope that this helps!

Dan C.
2-Memento Database Tasker Plug-in.jpg
2-Filter Out Notifications based on App Name.jpg
Capture Previous notification into Variables.jpg
3-Filter Out Notifications based on App Names - Example.jpg
Stop Task if Current notification matches previous.jpg
3-Memento Database notification tracing - History.jpg
1-Memento Database notification tracing.jpg
4-Memento Database notification tracing - Entry Detail.jpg
1-Filter Out Notifications based on Criteria.jpg

Daniel Matthews

unread,
Oct 13, 2022, 6:55:58 PM10/13/22
to tas...@googlegroups.com
Hey Dan

Thanks for your detailed reply, really appreciated!

I had thought about adding de-duplication logic to my task but was hoping I could fix it at source in either the plug-in or OS, but the group summaries setting in AN doesn't appear to have helped so I've gone ahead with a de-dupe check similar to yours.

Thanks again for taking the time,
Dan

--
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/J4vabxQPko8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages