1
Solved

Bluetooth connected

When bluetooth connected to a specific device is active (and shown in the profils tab) the trigger "doesn't launch" the associate task.

If I manually launch the task (by the tasks tab) I confirm that the task is working.

Also I can see the trigger and the task call in the execution log, and the differents actions inside the tasks without any error. But the actions are not actually performed.

I tried different actions (launch app, pop-up notification, ...) with the same results.

I try on another phone (same model, and same configuration) with the same result.

My phone is a Xiaomi Pocophone F1

MIUI Global 11.0.5.0 (stable)

Android Version 9 PKQ1.180729.001

3 replies

Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance

S

Sure :

The initial profile :

Profile: BT Car (6)
        State: BT Connected [ Name:* Address:00:0E:9F:D5:98:BB ]
    Enter: Start_waze (4)
        A1: Keyguard [ Set:Off ] 
        A2: WiFi [ Set:Off ] 
        A3: Media Volume [ Level:15 Display:Off Sound:Off ] 
        A4: Kill App [ App:Facebook Use Root:On Continue Task After Error:On ] 
        A5: Launch App [ Package/App Name:Waze Data: Exclude From Recent Apps:Off Always Start New Copy:Off ] 
    
    Exit: Exit_waze (5)
        A1: Media Volume [ Level:0 Display:Off Sound:Off ] 
        A2: Kill App [ App:Waze Use Root:On Continue Task After Error:On ] 
        A3: Get Location [ Source:Any Timeout (Seconds):46 Continue Task Immediately:Off Keep Tracking:Off ] 
     

A test profile :

Profile: Bt Headset (12)
        Restore: no
        State: BT Connected [ Name:* Address:CC:98:8B:D1:8D:76 ]
    Enter: Test (9)
        A1: Launch App [ Package/App Name:Twitch Data: Exclude From Recent Apps:Off Always Start New Copy:On Continue Task After Error:On ] 
        A2: Flash [ Text:Info text test Long:Off ] 
        A3: Popup [ Title:Test Text:Test Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ] 
     

In this example, the task is not launched, the pop-up is not displayed, but the flash text is shown.

Do you maybe need to give Tasker permission to draw over other apps?

S

yes, thank you it's seems to be that.

It is working now.

Topic is closed for comments