0

I wonder how I can get a notification when a Bluetooth device stops being accessible by my Android phone. I use Pixel 6 + Android 12.

Example of list of Bluetooth devices that are accessible by my Android phone:

enter image description here

When a given device (e.g., "TV") disappears from the list, I'd like to receive a notification.

Franck Dernoncourt
  • 2,546
  • 19
  • 55
  • 90
  • 1
    You'll notice when a connected device is no longer available. To have notification for devices that were in range and no longer are isn't possible. There never was a provision for such event. Just imagine the nightmare it would be if it happened for each device you come in contact briefly in any given day. – ChanganAuto Feb 04 '23 at 05:35
  • @ChanganAuto thanks, in my case, I'm just looking for a way to get notified for just a single Bluetooth device (not all Bluetooth device). – Franck Dernoncourt Feb 04 '23 at 05:48
  • @ChanganAuto it is possible to create an app which can periodically scan nearby Bluetooth devices or only user-defined Bluetooth devices, and alert the user if a device is longer available since the last periodic scan. See docs: https://developer.android.com/guide/topics/connectivity/bluetooth/find-bluetooth-devices – Firelord Feb 04 '23 at 19:26
  • 1
    @FranckDernoncourt Tasker has BT_NEAR profile/trigger option. If you have Tasker already or if you can give it a go to its trial version than that profile/trigger might solve the problem for you. You'll have to adjust the timings at which to run a periodic scan, and than as an action for that profile you can setup a simple notification as an event reminder. – Firelord Feb 04 '23 at 19:39
  • @Firelord Yes, you can program almost anything in software. – ChanganAuto Feb 04 '23 at 22:25

1 Answers1

1

This can be done using Android App Tasker. Here is a link: Tasker: Run a task when a specific bluetooth device loses connection

Note: If you haven't used Tasker before, it is powerful, but it has a pretty steep learning curve.

Franck Dernoncourt
  • 2,546
  • 19
  • 55
  • 90
Jim_Joat
  • 11
  • 2
  • 1
    Hi. OP's question is about whether a given BT device is within discoverable range or not (that's what Available Devices list shows us). If it is not within discoverable range at any point in time than OP should be notified. The linked Q&A does not help with that. – Firelord Feb 04 '23 at 19:28
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. – Community Feb 04 '23 at 22:04