Do you have any other tasks running that Tasker might be busy with, perhaps ones containing 'wait' actions or 'get location'? Those can cause delays.
> Tasker run log hasn't been useful either.
>
What dose the run log show during the delay times. Is there any activity? Do you see any 'monitor starts' ( Not monitor restarts). The restarts are normal.
If there is any relevant info in the log could you post the log along with the exported description of the profile and tasks involved with the delay.
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
What dose the run log show during the delay times. Is there any activity? Do you see any 'monitor starts' ( Not monitor restarts). The restarts are normal.
Sleep (46)
A1: AutoHue [ Configuration:IP: <IP_Hidden>
Light: Iris, Lightstrip, Burea Timeout (Seconds):5 ]
A2: System Lock
A3: Perform Task [ Name:Bravia.off Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
> I'm taking as example yesterday run of my tablet shortcut triggered task since I had the issue there and Tasker log was enabled. Note that I had already seen longer delays others days but I don't have the logs.
What launcher are you using? Is it the same launcher for both devices?
> Then the task starts to run (about 20 seconds after having pressed the shortcut):
> 20160808 22.20.47 T Running ID-7 Sleep
> could it be those sequence of "stop/start TaskService" events which creates the delays?
I do not think that is the issue. I do not know why the task service starts and stops like that but it dose do it on my device as well and I do not have the delays. If you open tasker and go to the task edit screen I believe that will start the task service.
What launcher are you using? Is it the same launcher for both devices?
> could it be those sequence of "stop/start TaskService" events which creates the delays?
I do not think that is the issue. I do not know why the task service starts and stops like that but it dose do it on my device as well and I do not have the delays. If you open tasker and go to the task edit screen I believe that will start the task service.
> Nova on both devices.
Nova has known issues with Tasker. I would start by
Disabling this setting in nova
Nova Settings -> App & widget drawer -> (Advanced) -> Automatically Close
IF you still have issues try a different launcher.
> Nova on both devices.Nova has known issues with Tasker.
I would start by Disabling this setting in novaNova Settings -> App & widget drawer -> (Advanced) -> Automatically Close
IF you still have issues try a different launcher.
P.S. I've used Nova for years without any problems.
This sounds like some other app or service is hogging the CPU. Have you tried running OS Monitor or a simular app to see what else is running in the background?
This sounds like some other app or service is hogging the CPU.
Everything was running completely smoothly without any lag or delays.After that, the "speak WMS" task triggered way later.
Ok, what about the TTS engine? Are there any other apps/services that use TTS? If so, maybe one of them is failing to release the resources. This would put Tasker in a wait state until the resources became available.
20160810 07.01.08 A OK ID18.4 Speak SMS.Say
Also I've sounds disabled in the app most of the time (that was the case this morning and yesterday)
I, too, see delays on some tasks. I've reported it here, but of course the usual suspects (Android, alarms, doze, etc) are always blamed, because the run log doesn't show any problems. In my case, the run log always shows everything firing on time, even though what actually happens is late. One thing I have noticed is that every task that experiences delays has a plugin in use. No plugin, no delay. Plugins in profile contexts work correctly. I noticed from this thread that one or two plugins are also being used, that's why I mention it.
I've given up on solving it, as it hasn't caused things to break completely. It's an aggravating nuisance, that's about it. Since you are digging into it so completely, perhaps a solution will be found.
Scott
> I'm making progress collecting data (unfortunately not finding any explanations on what's going on)
I realize most of these issues do not appear to be 'battery optimized ' related. However I would try white listing any associated app in the android battery optimization settings. Like the text app or any plugins used in the task.
Another user found this ..
http://android.stackexchange.com/q/155364/14562
To be a issue on there particular device ( device specific issue)
I realize most of these issues do not appear to be 'battery optimized ' related. However I would try white listing any associated app in the android battery optimization settings. Like the text app or any plugins used in the task.
> In general, battery optimisations apply only when screen is off, that's is not the case here.
My point was this is a fairly new and very troublesome feature from android and not knowing if it really only affects screen off operations It is a very simple thing to try.
it's Tasker itself that takes time to reacts after that) and there are no plugins involved in the profile associated task, just Tasker basic built-in "speak" action.
I Believe the speak task uses a external voice engine and some people use apps such as Ivona so these are the things I was targeting.
> In general, battery optimisations apply only when screen is off, that's is not the case here.My point was this is a fairly new and very troublesome feature from android and not knowing if it really only affects screen off operations It is a very simple thing to try.
it's Tasker itself that takes time to reacts after that) and there are no plugins involved in the profile associated task, just Tasker basic built-in "speak" action.
I Believe the speak task uses a external voice engine and some people use apps such as Ivona so these are the things I was targeting.