Switch to bleak for reliable BLE scanning with RSSI

- Replace hcitool-based BT scanning with bleak Python library
- Bleak provides reliable RSSI values via D-Bus/BlueZ
- BLE scan now finds devices that hcitool missed
- Update project docs to reflect resolved BT RSSI blocker
- Add bleak>=0.21.0 to dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
User
2026-02-01 00:17:47 +01:00
parent 52df6421be
commit 0e99232582
6 changed files with 35 additions and 61 deletions

View File

@@ -59,8 +59,8 @@ Understanding the RF environment around you is useful for:
┌─────────────────────────┴───────────────────────────────────┐
│ System Tools │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ iw │ │ hcitool │ │bluetoothctl│
│ │ (WiFi) │ │ (BT) │ │ (BLE) │ │
│ │ iw │ │ bleak │ │ SQLite │
│ │ (WiFi) │ │ (BLE) │ │(History) │ │
│ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────────────────────────────────────┘
```
@@ -78,6 +78,7 @@ Understanding the RF environment around you is useful for:
- Flask - Web framework
- PyYAML - Configuration
- dataclasses - Data structures
- bleak - BLE scanning with RSSI
### Frontend
- Leaflet.js - 2D maps