[Tasker Tips & Tricks] kuthedude:
Bluetooth "Car" Mode not working. Exit task runs before "exiting".

So here is my problem. Everything works fine. Connect to my HU and and it launches what I want. The exit task force closes the apps and locks the screen. However, what I have noticed is that after about 2 minutes the exit task would always run while my music was still playing. So I tried just making a 2nd profile for bluetooth connected (inverted). Exact same thing would happen. What I think is going on is that my head unit or s8 may disconnect somehow for a split second thus triggering the exit task. Is there any way to tell the profile to not run the exit task unless it has disconnected from my head unit for lets say more than 3 seconds?

Again, everything works...just the 1/2 second of what I think is the Bluetooth disconnecting triggering the exit task too soon.

Here is the copy of the description:

Profile: Blu (2)

Restore: no

State: BT Connected [ Name:DNX690HD Address:00:08:E0:4A:ED:1A ]

Enter: Music1 (6)

A1: Flash [ Text:LAUNCHING MUSIC FOR YOU DUDE Long:eek:ff ]

A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A3: Launch App [ App:Samsung Music Data: Exclude From Recent Apps:eek:ff Always Start New Copy:eek:ff ]

A4: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]

A5: Launch App [ App:Music Visualizer Data: Exclude From Recent Apps:eek:ff Always Start New Copy:eek:ff ]

A6: Media Volume [ Level:15 Display:eek:ff Sound:eek:ff ]

A7: Stop [ With Error:eek:ff Task: ]

Exit: Ex (13)

A1: Flash [ Text:CLOSING APPS Long:eek:ff ]

A2: Variable Set [ Name:%app To:Music Visualizer Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff ]

A3: AutoLaunch Query [ Configuration:App Nickname: %app

Contains All App Nickname: true Timeout (Seconds):60 ]

A4: Variable Set [ Name:%package To:%alpackages(1) Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff ]

A5: AutoShare [ Configuration:App: Android

Action: App Details Settings

Data: package:%package Timeout (Seconds):10 ]

A6: AutoInput Action [ Configuration:Type: Text

Value: Force Stop

Action : Click Timeout (Seconds):20 ]

A7: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A8: AutoInput Action [ Configuration:Type: Text

Value: Force Stop

Action : Click Timeout (Seconds):20 ]

A9: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A10: AutoInput Global Action [ Configuration:Action: Home Timeout (Seconds):20 ]

A11: Variable Set [ Name:%app To:Samsung Music Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff ]

A12: AutoLaunch Query [ Configuration:App Nickname: %app

Contains All App Nickname: true Timeout (Seconds):60 ]

A13: Variable Set [ Name:%package To:%alpackages(1) Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff ]

A14: AutoShare [ Configuration:App: Android

Action: App Details Settings

Data: package:%package Timeout (Seconds):10 ]

A15: AutoInput Action [ Configuration:Type: Text

Value: Force Stop

Action : Click Timeout (Seconds):20 ]

A16: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A17: AutoInput Action [ Configuration:Type: Text

Value: Force Stop

Action : Click Timeout (Seconds):20 ]

A18: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A19: AutoInput Global Action [ Configuration:Action: Home Timeout (Seconds):20 ]

A20: Secure Settings [ Configuration:Lock Device Timeout (Seconds):0 ]