Difference between revisions of "Trigger: Bluetooth Beacon (experimental)"
| Line 64: | Line 64: | ||
* [[Trigger:_Bluetooth_Event|Bluetooth Event Trigger]] | * [[Trigger:_Bluetooth_Event|Bluetooth Event Trigger]] | ||
| − | * [[Trigger: | + | * [[Trigger:_Geofence_Trigger|Geofence Trigger]] |
Latest revision as of 21:46, 5 January 2026
The Bluetooth Beacon trigger fires when your device comes within range of or moves out of range of a specified Bluetooth beacon. Bluetooth beacons are small wireless transmitters that broadcast signals, commonly used for indoor positioning and location-based automation.
Options
- In Range - Trigger fires when the device comes within range of the specified beacon
- Out of Range - Trigger fires when the device moves out of range of the specified beacon
Configuration
When configuring this trigger, MacroDroid will scan for nearby Bluetooth beacons. You can:
- Select a beacon from the list of detected beacons
- Choose a previously configured beacon from the cached list
- Manually add a beacon by entering its UUID
- Assign a friendly name to beacons for easier identification
The beacon selection dialog shows:
- Currently detected beacons at the top
- Previously used beacons below
- Option to manually add a beacon by entering its UUID
Examples
Example 1: Welcome Home Automation
Triggers Bluetooth Beacon - In Range (Home Beacon)
Actions Set Volume: Ring to 100% Disable Silent Mode
Constraints Time of Day: 5:00 PM - 11:00 PM
Example 2: Leave Work Reminder
Triggers Bluetooth Beacon - Out of Range (Office Beacon)
Actions Notification: Don't forget to clock out!
Constraints Day of Week: Mon-Fri
Notes
- The trigger uses the AltBeacon library for beacon detection
- Beacons are identified by their UUID (Universally Unique Identifier)
- Previously used beacons are cached for easy access even when not currently in range
- The beacon scan may take a few seconds to complete
- Location services must be enabled for beacon detection to work
- The trigger monitors specific beacon UUIDs using region-based monitoring for efficiency
Permissions Required
- Location Permission - Required for Bluetooth beacon scanning (ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION)
- Bluetooth Scan Permission - Required on Android 12+ (BLUETOOTH_SCAN)
- Bluetooth Connect Permission - Required on Android 12+ (BLUETOOTH_CONNECT)
- Location services must be enabled on the device
See Also