RedditPP Mascot

RedditPP

r/tasker • … • u/ADudeCalledBob

Issue with Bluetooth connection profile

I had a profile to set my media volume to 10/0 when a Bluetooth device connected/disconnected. For months this was working great and would enable/disable media volume automatically. For whatever reason this has recently (in the last week) started triggering constantly, such that any manual changes to media volume are overridden in a few seconds.

I've tried to fix this by storing a flag to force this action to only trigger once, but this has just caused the media volume to oscillate between the two values every few seconds.

Any ideas what I'm doing wrong?

Profile: Media Volume Only On Bluetooth State: BT Connected [ Name:* Address:* ] State: Variable Value [ %BTActiveFlag eq 0 ]

Enter Task: Anon

A1: Media Volume [ Level: 10 ]

A2: Variable Set [ Name: %BTActiveFlag To: 1 Structure Output (JSON, etc): On ]

Profile: Bluetooth Off State: Not BT Connected [ Name:* Address:* ] State: Variable Value [ %BTActiveFlag eq 1 ]

Enter Task: Anon

A1: Media Volume [ Level: 0 ]

A2: Variable Set [ Name: %BTActiveFlag To: 0 Structure Output (JSON, etc): On ]

— 0