/beacon-tracker

A Python-based beacon tracker, multiple scanner elements run (intended to run on RPi) and a single co-ordinator.

Primary LanguagePython

Beacon Tracker

Codacy Badge

This Python project consists of multiple scanner elements (intended to run on RPi) and a single co-ordinator element.

Beacon position is triangulated by the co-ordinator element based on the position of the scanners.

THIS PROJECT IS STILL UNDER DEVELOPMENT.

Scanner

Run on a RPi with bluetooth.

Depends on bluepy.

Installation

./install_deps.sh

This installs the bluepy dependencies, then installs the Python packages from requirements.txt.

Usage

Replace lines 12 & 13 of scanner.py with the beacon MAC addresses you wish to track, then:

sudo python3 scanner.py

Head to http://\<RPi IP Address\>:8080/

Tracker

Run anywhere you can run Python, typically on one of the scanners.

Usage:

Replace lines 12 & 13 with the beacon MAC addresses you wish to track, replace lines 16 to 18 with your trackers, then:

python3 tracker.py

Head to http://\<RPi IP Address\>:8081/