1

Bluetooth state doesn't update when disconnected

 After upgrading to pixel 7pro, this profile doesn't work. It is a simple task call when Bluetooth is connected to my car. Runs just fine when device connects, but doesn't recognize when Bluetooth disconnects. Will stay that way for hours despite being nowhere near my car.  

Profile: Driving Mode      State: BT Connected [ Name:DMH-W4660NEXFE3D Address:* ]                    Enter Task: Driving Mode     Settings: Abort Existing Task          A1: If [ %DrivingMode ~ Off ]              A2: Variable Set [              Name: %DrivingMode              To: On              Max Rounding Digits: 0 ]              A3: [X] Do Not Disturb [              Mode: Alarms ]              A4: [X] Media Volume [              Level: 25              Display: On ]              A5: [X] Ringer Volume [              Level: 0 ]              A6: [X] WiFi [              Set: Off ]              A7: [X] Display Timeout [              Secs: 23              Mins: 31              Hours: 596 ]          A8: Else         If  [ %DrivingMode ~ On ]              A9: Variable Set [              Name: %DrivingMode              To: Off              Max Rounding Digits: 0 ]              A10: Wait [               MS: 0               Seconds: 4               Minutes: 0               Hours: 0               Days: 0 ]              A11: Array Clear [               Variable Array: %Recenttext ]              A12: [X] Do Not Disturb [               Mode: Allow All ]              A13: Variable Clear [               Name: %Texttimer ]              A14: [X] Ringer Volume [               Level: 5 ]              A15: [X] Media Volume [               Level: 8               Display: On ]              A16: [X] Perform Task [               Name: Notification Tone               Priority: %priority ]              A17: [X] WiFi [               Set: On ]              A18: Variable Set [               Name: %Lastknownlocation               To: Car               Max Rounding Digits: 0 ]              A19: [X] Perform Task [               Name: Driving HUD               Priority: %priority ]             If  [ %DrivingHUD ~ On ]          A20: End If                    Exit Task: Driving Mode     Settings: Abort Existing Task          A1: If [ %DrivingMode ~ Off ]              A2: Variable Set [              Name: %DrivingMode              To: On              Max Rounding Digits: 0 ]              A3: [X] Do Not Disturb [              Mode: Alarms ]              A4: [X] Media Volume [              Level: 25              Display: On ]              A5: [X] Ringer Volume [              Level: 0 ]              A6: [X] WiFi [              Set: Off ]              A7: [X] Display Timeout [              Secs: 23              Mins: 31              Hours: 596 ]          A8: Else         If  [ %DrivingMode ~ On ]              A9: Variable Set [              Name: %DrivingMode              To: Off              Max Rounding Digits: 0 ]              A10: Wait [               MS: 0               Seconds: 4               Minutes: 0               Hours: 0               Days: 0 ]              A11: Array Clear [               Variable Array: %Recenttext ]              A12: [X] Do Not Disturb [               Mode: Allow All ]              A13: Variable Clear [               Name: %Texttimer ]              A14: [X] Ringer Volume [               Level: 5 ]              A15: [X] Media Volume [               Level: 8               Display: On ]              A16: [X] Perform Task [               Name: Notification Tone               Priority: %priority ]              A17: [X] WiFi [               Set: On ]              A18: Variable Set [               Name: %Lastknownlocation               To: Car               Max Rounding Digits: 0 ]              A19: [X] Perform Task [               Name: Driving HUD               Priority: %priority ]             If  [ %DrivingHUD ~ On ]          A20: End If         

4 replies

Hi there, thanks for the report! Can you please try this version? https://drive.google.com/file/d/1morX64lZg8qjAb0NLw5OH5lwo86rcRuK/view

If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing

J

Tried it. Same results. It kinda seems like tasker is sleeping sometimes. I also have a profile that triggers when a text is received, but it is working very inconsistently. Battery optimization is off and I have "always" selected in reliable alarms.

Does it work again if you edit anything in Tasker then go back to the main Tasker screen and apply your changes?

J

That does not work.

The only way I can control it at present is to toggle Bluetooth off manually

Thanks for helping 

J

Wifi near does the same thing