Trigger & Constraint for "Bluetooth Connected Audio Device"

chaoscreater

Active member
Hi,

I would like to have the "Bluetooth Connected Audio Device" setting made available for both the Trigger and Constraint configurations. At the moment, this is only as an Action. The Trigger for bluetooth settings only supports Bluetooth on/off, as well as Bluetooth Device Connected/Disconnected. This isn't granular enough for my use case, unfortunately.

In most cars that support bluetooth connection natively, it will connect to 2 different bluetooth channels. One is for your phone's media/audio and the other is for voice calls. This is great, because you can have a situation like this:

phone 1 - voice call bluetooth stream connected to car
phone 2 - media audio bluetooth stream connected to car

I can make calls using phone 1, but my wife or my kids can play their music to the car's bluetooth system. 2 separate bluetooth channels.

The problem is that MacroDroid doesn't support any triggers to detect whether a bluetooth media stream is connected, or whether the bluetooth voice call stream is detected. It only detects if bluetooth itself is connected (regardless what it is connected to). Therefore, I can't set up MacroDroid to do certain things when my phone is connected to my car via either only voice call, or only media stream.
 

Pseudocyclic

Well-known member
Android does not even support connect/disconnect specific bluetooth devices by apps, so I would guess the chances are it doesn't support what you are asking for either. But I don't know for certain.
 

chaoscreater

Active member
Android supports connect/disconnect specific bluetooth streams, which is what my post is about.

This can definitely be done because other apps like Automateit does exactly what I want, however I much prefer Macrodroid overall.

Also, Macrodroid ALREADY supports this as an Action. As I've mentioned already, I just need the same thing but as a Trigger and Constraint.
 

FrameXX

Well-known member
He is not talking about connecting or disconnecting but about MacroDroid ability to recognize into which audio output is device playing. On Android 10 you have an easy option to switch output manually. MacroDroid can also switch that output by disconnecting 1 output or connecting 1 output. But can't recognize as trigger when and into which output was changed and use it as a constraint. (Which making constraint would be possible with just trigger and variables).

Screenshot_20210314-073239.png
 

FrameXX

Well-known member
Android supports connect/disconnect specific bluetooth streams, which is what my post is about.

This can definitely be done because other apps like Automateit does exactly what I want, however I much prefer Macrodroid overall.

Also, Macrodroid ALREADY supports this as an Action. As I've mentioned already, I just need the same thing but as a Trigger and Constraint.
I made a more clear version of what you wanted as a new feature request.
 

TallyFeli

New member
Hi....there is a known impediment with the bluetooth imperative that assuming you start MacroDroid after a gadget is associated then MacroDroid can't recognize that it is associated on the grounds that in all honesty it's unrealistic to inquiry for associated gadgets (just to screen interface/detach occasions). Presently given that you've been turned out great for a very long time and presently it's completely quit working this sounds fairly far-fetched, yet I notice it on the off chance that you have changed how you use MacroDroid (perhaps you just turn it on after you get in your vehicle or something like that). Assuming in some way this is the case you could produce a workaround by crippling and afterward re-empowering bluetooth to compel the association once more.

Beside this could you kindly test in case your bluetooth trigger is for the most part working alright. Provided that this is true as a workaround you could utilize this to set a boolean variable on/off and utilize this as an imperative.
 
Top