Command line tool for setting up and configuring scanner raspberries
python3 -m unittest
python3 run.py <command> [<target>]
The raspberries need to have their ssh enabled. This program uses public key authorization, so share your public key to all of the rasps.
Install required dependecies by running pip install -r requirements.txt
To use the app, you need a valid configuration file, called config.ini
.The confiuration file contains information about all the raspberries you want to control, and other information. The example file has more information.
All of the commands can target a single raspberry, or all of the raspberries. The structure of the commands is <command> [<target>]
. For example install rasp-1
or status
.
To start using a raspberry, you need to run the installation command. It installs all the necessary software and dependencies, and creates the systemd service. Note! This command might take multiple minutes per raspberry.
Starts scanning for bluetooth devices, and sends the data to mqtt.
Stops scanning for bluetooth devices.
Reports the status (systemctl status
) of the scanner service.