Page 1 of 1

Notification speak app name - help please

Posted: 22 Oct 2018 14:54
by dronics
Hi all,
I'm trying to setup a flow that will speak the app name of the notification that is received. I've got a flow to work but I'm getting into issues sometimes where automagic repeats the app name an uncomfortable amount of time. Also, automagic sometimes uses the emergency stop - so I'm clearly doing something wrong or missing something.
I use the following:
Notification on statusbar displayed (select all apps) > Speech Output {app_name}
If I use an app called APKUpdater (which checks apkmirror for newer apks) the flow speaks the app name about 20+ times and usually the emergency stop kicks in. Why is this causing the app name to be spoken so much?
All I could see in the log is the trigger starting and then lots and lots of the Speech Output??

If anyone can help me out it would be much appreciated.
Also, if anyone has done this already and wouldn't mind sharing their flow, that would be great too!

Re: Notification speak app name - help please

Posted: 23 Oct 2018 06:12
by Desmanto
The app create multiple consecutive notifications when checking update. Default execution policy (AEP : viewtopic.php?f=3&t=6985) is parallel, hence it will react to every notification created. You have to protect it by using AEP - skip, add sleep 500 ms (or higher) to skip the duplicate notification.

But this will skip other app notification too if they appear during the check. So you have to use buffered method if you want every app's notif is processed properly. This is similar to sms buffer : viewtopic.php?f=5&t=7019

Re: Notification speak app name - help please

Posted: 24 Oct 2018 09:03
by dronics
Thanks for the information, I will look into this tonight - Thanks you!! :D