-
-
Notifications
You must be signed in to change notification settings - Fork 13
Bluetooth
Ava supports Bluetooth presence detection and Bluetooth proxy features. Your Android device becomes a complete Bluetooth gateway, extending Home Assistant's Bluetooth coverage.
- Detect if phones, wearables, and other Bluetooth devices are nearby
- Determine if user is home
- Trigger automation scenes
Ava can act as a Bluetooth proxy, forwarding Bluetooth device data to Home Assistant.
Features:
- Forwards all Bluetooth Low Energy data to Home Assistant
- Native integration with Home Assistant Bluetooth integration
- Extends Bluetooth coverage range
- No ESP32 needed - just use your spare Android device
Note: The Bluetooth proxy feature source code is not open source and is only available in release builds.
Ava uses Bluetooth Low Energy (BLE) scanning to detect devices:
- Periodically scans for nearby Bluetooth devices
- Matches target devices by MAC address
- Updates presence status to Home Assistant
| Status | Condition |
|---|---|
| Home | Target device detected (RSSI above threshold) |
| Away | Device not detected for configured away delay |
Go to Settings -> Bluetooth
| Setting | Description | Default |
|---|---|---|
| Device Detection | Turn on Bluetooth presence detection | Off |
| RSSI Threshold | Signal strength threshold (left = near, right = far) | - |
| Away Delay | Time before marking as away | - |
| Add Bluetooth Device | Add devices to track presence | - |
| Setting | Description |
|---|---|
| BLE Gateway / Mesh | Turn on Bluetooth proxy feature |
| Device Name | Proxy device name |
| Device Address | Proxy MAC address |
| Scan Mode | Active or Passive scanning |
| Scan Power | High Performance, Balanced, or Low Power |
| Mode | Description |
|---|---|
| Active Scan | Actively request scan responses, more data, higher power |
| Passive Scan | Listen only, lower power, less data |
| Power | Description |
|---|---|
| High Performance | Maximum scan frequency, best detection |
| Balanced | Moderate scan frequency |
| Low Power | Reduced scan frequency, saves battery |
Ava detects the device's BLE capabilities at runtime and classifies it into a tier:
| Tier | Description |
|---|---|
| Full | Full BLE proxy support, all features available |
| Balanced | Most features available, some limitations |
| Compatibility | Limited mode for low-end BLE chips |
| Capability | Description |
|---|---|
| Offloaded Filtering | Hardware-assisted scan filtering |
| Multiple Advertisement | Support for multiple ad slots |
| Extended Advertising | Extended advertising support |
| LE Coded PHY | Long-range coded PHY support |
| LE 2M PHY | 2M PHY high-speed support |
Devices with limited BLE chips run in compatibility mode:
- Scan frequency is reduced to maintain WiFi stability
- Bermuda may show skull or exclamation icons (expected)
- Bluetooth media playback is not supported
- Root access is typically required for stable operation
- Built-in Bluetooth presence detection may be unavailable
The Bluetooth version shown by apps like AIDA64 may not reflect runtime capabilities. Classification is based on Android runtime BLE capabilities.
| Permission | Description |
|---|---|
| BLUETOOTH | Basic Bluetooth permission |
| BLUETOOTH_SCAN | Bluetooth scanning permission (Android 12+) |
| ACCESS_FINE_LOCATION | Location permission (required for Bluetooth scanning) |
binary_sensor.your_device_name_bluetooth_presence
Bluetooth proxy natively integrates with Home Assistant's Bluetooth integration:
- Add Bluetooth integration in HA
- Ava will be automatically discovered as a Bluetooth proxy
- Bluetooth devices proxied through Ava will appear in HA
Ava works with the Bermuda integration for Bluetooth triangulation and room presence. In compatibility mode, Bermuda may show skull or exclamation icons - this is expected behavior.
Supported Device Types:
- Bluetooth thermometers/hygrometers
- Bluetooth scales
- Bluetooth plant sensors
- Bluetooth smart locks
- Other BLE devices
Turn on lights when arriving home:
automation:
- alias: "Arrival Lights"
trigger:
- platform: state
entity_id: binary_sensor.ava_bluetooth_presence
to: "on"
action:
- service: light.turn_on
target:
entity_id: light.living_roomTurn off all devices when leaving:
automation:
- alias: "Departure Shutdown"
trigger:
- platform: state
entity_id: binary_sensor.ava_bluetooth_presence
to: "off"
for:
minutes: 5
action:
- service: homeassistant.turn_off
target:
entity_id: group.all_lights- Ensure target device Bluetooth is on
- Check if MAC address is correct
- Adjust RSSI threshold (move slider left for near, right for far)
- Adjust away delay
- Ensure location permission is granted
- Try changing scan power to High Performance
- Change scan power to Low Power or Balanced
- Increase away delay
- Only enable detection when needed
- Check Bluetooth permissions
- Check location permission (required by Android)
- Ensure target device is discoverable
- Check if device is in compatibility mode
This is expected in compatibility mode. The device has limited BLE capabilities. For full functionality, use a device with complete BLE proxy support.
- Check if Bluetooth proxy is enabled
- Check Bluetooth and location permissions
- Check capability tier in Settings -> Bluetooth
- If in compatibility mode, root may be required for stable operation
Back to Home