Tasker is not activated on Android Car unit after sleep mode.

663 views
Skip to first unread message

Peter Pliquet

unread,
Apr 8, 2020, 5:19:17 PM4/8/20
to Tasker
Hi folks,
back again with a really annoying issue.

Head unit is running with Android 9.
There is some deep sleep mode or something like suspend to RAM. Unfortunately all apps are killed when the unit reaches this state.
The advantage of this state is, that Android starts up in one second.

The issue I am running in is, that Tasker is not reacting of any profile trigger. I first have to start Tasker again, click any task, then the back button, the OK button and once again the back button to get Tasker reacting on any task.

What can be done?

I built an app with Tasker which sets the accessibility option and is started by my launcher on startup (and on wake up) which starts somealways needed apps. Tasker is one part, but that does not help. Still the needed manual steps are needed.
Do you guys have any idea how to fix this issue?

João Dias

unread,
Apr 9, 2020, 5:06:48 AM4/9/20
to tas...@googlegroups.com
If you just click the back button after Tasker is open does that not work?

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

Peter Pliquet

unread,
Apr 9, 2020, 5:13:31 AM4/9/20
to Tasker
No, unfortunately not.
There is no issue on cold boot. In this case Tasker works as expected. It´s only after wake up from let´s call it "suspend to RAM".

João Dias

unread,
Apr 9, 2020, 7:29:34 AM4/9/20
to tas...@googlegroups.com
Hi there.
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00

Make sure to check here too: https://dontkillmyapp.com/?app=Tasker

Does this help?

Peter Pliquet

unread,
Apr 9, 2020, 8:00:39 AM4/9/20
to Tasker
Hi,

these settings are correct so far and dontkillmyapp is not usefull on our devides, as they are really vendor specific.

Screenshot_20200409-135312.png

João Dias

unread,
Apr 9, 2020, 8:29:59 AM4/9/20
to tas...@googlegroups.com
Maybe you can use AutoInput to do those clicks for you on the exported app?


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

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/e5d1443d-341d-44f7-ac55-b0e4eac0408c%40googlegroups.com.

Peter Pliquet

unread,
Apr 9, 2020, 8:36:49 AM4/9/20
to Tasker
Hi,

this is possible, for sure.
But I´m wondering why other apps are working correct in background, listening on events so far even if I just start them on wake up on throw them directly to background?
Blitzer.de, FCC car launcher, ReadItToMe as examples.
To unsubscribe from this group and stop receiving emails from it, send an email to tas...@googlegroups.com.

João Dias

unread,
Apr 9, 2020, 10:31:18 AM4/9/20
to tas...@googlegroups.com
Unfortunately that's hard to tell. Can you please use the Report Issue To Developer option and send me a report showing that happnening? Thanks in advance

Peter Pliquet

unread,
Apr 9, 2020, 1:01:16 PM4/9/20
to Tasker
Hi,
report has been sent.

thanks for your support.

Peter Pliquet

unread,
Apr 10, 2020, 10:48:49 AM4/10/20
to Tasker

João Dias

unread,
Apr 13, 2020, 4:49:01 AM4/13/20
to tas...@googlegroups.com
Thanks. It seems that for some reason at 16:30:53.831 it starts killing a bunch of apps. Do you know why that may be?

Peter Pliquet

unread,
Apr 13, 2020, 7:51:35 AM4/13/20
to Tasker
Hi,

I stored a new logcat with priority level "verbose". -->  https://www.dropbox.com/s/pa2m70kusn9r8kb/Log_2020-04-13_12-58-49.txt?dl=0

The first part shows a proper running sstem with activated notification listener of Tasker.
Shut down to deep sleep initialized by Clamp 15 (ignition power).

At line 5067 the unit reaches deep sleep with1.
04-13 12:52:50.370   848   848 D Mcu     : sendCmd:0101ff

I added some lines in between and added the text:
--------------------SYSTEM OFF ----------------------------------

At line 5074 04-13 12:57:25.390   848   848 D Mcu     : sendCmd:0101ff
the unit restarts from sleep mode.

At line 6488 a Taskerm.kid app is started:
04-13 12:57:27.605   513   844 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=de.accessibility.start_neu cmp=de.accessibility.start_neu/net.dinglisch.android.taskerm.Kid} from uid 10097

This activates the accessibility settings for Tasker and FCC Car Launcher, because they are not persisted and have to be activated on each boot and is started by the FCC Launcher on start up.
Last action in this Tasker-App is that a task is started to open my favority apps which are always needed (Some dependent on the current time).

After wake up the notification listener of Tasker is not activated.
First activation has been done manually around line 16044 and after that the listener worked perfect (DAB open and after 5 seconds without touch on display, Tasker switches back to the launcher.)

I hope the new log with some comments on it makes it clearer to analyze.
May be i just need the right intent to get it activated after wake up?

João Dias

unread,
Apr 14, 2020, 6:39:33 AM4/14/20
to tas...@googlegroups.com
So, to clarify, you can launch the intents you want on boot? If you have a Tasker intent to make Tasker work you could launch it?

Peter Pliquet

unread,
Apr 14, 2020, 7:16:51 AM4/14/20
to Tasker
Hi,
just now I am able to set the accessibility setting and launch a stored task afterwards.
I think it should be possible too to invoke an intent to get Tasker launching in background if there would be one (honestly I didn´t find any in this direction yet)
I even can start Tasker in the application started by my launcher after start up. But Tasker is not listening,

João Dias

unread,
Apr 14, 2020, 11:47:47 AM4/14/20
to tas...@googlegroups.com
Hmm, does calling the service com.joaomgcd.taskerm.plugin.ServiceRequestQuery with an intent make Tasker start running in the background normally?

Larry Schweyer

unread,
Apr 14, 2020, 12:26:39 PM4/14/20
to tas...@googlegroups.com
Not sure what is meant by Android Car.

I install the app on an android phone.

It logs to a local file when it receives any text message. If the text contains a special string it logs relevant stuff, and will a flash some info. None of that happens when the target phone receives any text. The text is recieved.

I'm not familiar with calling a service within Tasker. Is that something I do, or check for?

Thanks.

Larry
There's no place like 127.0.0.1

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/CAG6Z%2BFeipN2Mgm3JQbpx9H6027Gug1wziKNMQOi%2BtnxLeiy0GQ%40mail.gmail.com.

Peter Pliquet

unread,
Apr 14, 2020, 12:32:36 PM4/14/20
to Tasker
Yes,
I just upated my start application with this intent and if I use this intent, Tasker opens in background in listening state.
This would help for now...

João Dias

unread,
Apr 14, 2020, 12:35:04 PM4/14/20
to tas...@googlegroups.com
Glad it works!

Peter Pliquet

unread,
Apr 14, 2020, 12:39:49 PM4/14/20
to Tasker
Thanks a lot for your help.
I don´t know why I did not find the intent myself... :-(
It´s really strange what these Chinese Car Radio supplier are doing.
I need tons of differert tasks to get them working as I expect.

Umit EKSILMEZ

unread,
Dec 30, 2021, 7:21:24 AM12/30/21
to Tasker
Hello Peter and @joaomgcd

Could you please explain step by step what to do?
I'm not familiar with intents and don't know what com.joaomgcd.taskerm.plugin.ServiceRequestQueryis.
Should we create intent received evet with Action: com.joaomgcd.taskerm.plugin.ServiceRequestQuery?
And what is the task then?

Same as you, I want Tasker to start with head unit...

Thank you,


14 Nisan 2020 Salı tarihinde saat 19:39:49 UTC+3 itibarıyla peterp...@gmail.com şunları yazdı:
Reply all
Reply to author
Forward
0 new messages