Auto switch paired BT device when signal is stronger

sming

New member
Heyup folks,

I'm forever switching between the 2 BT devices in my apartment: one in the bedroom and one in the lounge. And it's getting really annoying lol.

I believe that Macrodroid doesn't have a "BT signal strength" concept so I tried Tasker and no matter what I try, it says the strength is 0 🤦🏻 There are also a ton of Wi-Fi signal strength apps on Play but literally zero BT strength ones, same for F-Droid AFAICT.

Doors anyone have any ideas as to how I might implement a "I've just walked into the bedroom from the lounge, automatically detect this and switch BT source to be the bedroom BT device" type macro?. All suggestions welcome.

Cheers, Pete
 

dhj49er

Well-known member
Heyup folks,

I'm forever switching between the 2 BT devices in my apartment: one in the bedroom and one in the lounge. And it's getting really annoying lol.

I believe that Macrodroid doesn't have a "BT signal strength" concept so I tried Tasker and no matter what I try, it says the strength is 0 🤦🏻 There are also a ton of Wi-Fi signal strength apps on Play but literally zero BT strength ones, same for F-Droid AFAICT.

Doors anyone have any ideas as to how I might implement a "I've just walked into the bedroom from the lounge, automatically detect this and switch BT source to be the bedroom BT device" type macro?. All suggestions welcome.

Cheers, Pete
Do you have a macro that switches the BT source or are you doing it manually?

I think a semi automatic approach is likely the easiest to implement, as I'm not aware of a suitable BT trigger in MD.

First, write a macro that toggles the source from one BT device to the other. That's probably going to use UI interaction actions, so will only work with the screen on, which helps with the trigger.

Triggering the macro is the manual operation.
Probably the easiest to use is a tile on the home screen or the MD drawer, if you use it.
 

sming

New member
Hi, thanks for the reply. Yes. I have 2 rather convoluted but effective macros that :
  1. disconnect from all other BT devices
  2. connect to the desired BT device
Rather amusingly (or concerningly), in order to prevent other devices from hogging the target BT system, the macros (in further detail) :
  1. open the Smart Life app
  2. perform a series of UI actions
  3. execute a Smart Life "Tap to Run" routine, which causes the target BT system to iterate through its inputs before halting on BT, thus disconnecting any previously connected devices (heh heh)
  4. quickly attempts to connect to the newly - and hopefully free/open - BT system
Lol I think I have a problem. In fact, I do have a problem, there's no question.

If anyone would find these macros useful (doubtful), I'll happily post them up.

Anyway, in reply to your other observations:
  1. yes, there's no BT signal strength trigger or concept in Macrodroid
  2. you don't need to use UI interactions, there are BT device [dis]connect actions
  3. I'm a productivity/gesture freak and so I utilize Swiftly Switch so that a swipe inwards from the top left of my screen triggers the appropriate macro
Cheers, Pete
 

dhj49er

Well-known member
Hi, thanks for the reply. Yes. I have 2 rather convoluted but effective macros that :
  1. disconnect from all other BT devices
  2. connect to the desired BT device
Rather amusingly (or concerningly), in order to prevent other devices from hogging the target BT system, the macros (in further detail) :
  1. open the Smart Life app
  2. perform a series of UI actions
  3. execute a Smart Life "Tap to Run" routine, which causes the target BT system to iterate through its inputs before halting on BT, thus disconnecting any previously connected devices (heh heh)
  4. quickly attempts to connect to the newly - and hopefully free/open - BT system
Lol I think I have a problem. In fact, I do have a problem, there's no question.

If anyone would find these macros useful (doubtful), I'll happily post them up.

Anyway, in reply to your other observations:
  1. yes, there's no BT signal strength trigger or concept in Macrodroid
  2. you don't need to use UI interactions, there are BT device [dis]connect actions
  3. I'm a productivity/gesture freak and so I utilize Swiftly Switch so that a swipe inwards from the top left of my screen triggers the appropriate macro
Cheers, Pete
I thought you were just using MD, in which case you would need UI interaction to connect the source to the changed BT device.

I don't use Smart Life or Swiftly Switch apps, so I am unable to provide further help.
 
Top