Hardware: Raspberry Pi 4
Reports surrounding Bluetooth devices and aggregated change of individual BLE device signal each scan. It then sends the values to a local Prometheus server via push gateway.
- Clone the Repo:
git clone https://github.com/MaxVRAM/Bluetooth-Activity-Scanner.git && cd Bluetooth-Activity-Scanner
- Install the Python modules:
pip3 install -r requirements.txt
- Open ports:
sudo ufw allow 9090, 9091, 9100 proto tcp
- Deploy the Promethus stack:
docker-compose up -d
- Run the Python script:
python3 ble_activity.py
The server can be accessed via web brower, or as a datasource in Grafana: http://localhost:9090