Skip to content

Command line tool for setting up and configuring scanner raspberries

License

Notifications You must be signed in to change notification settings

ubikampus/raspberry-config-cli

Repository files navigation

raspberry-config-cli

Build Status
Command line tool for setting up and configuring scanner raspberries

Tests

python3 -m unittest

Running

python3 run.py <command> [<target>]

Usage

Prerequisites

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

Configuration

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.

Commands

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.

Install

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.

Start

Starts scanning for bluetooth devices, and sends the data to mqtt.

Stop

Stops scanning for bluetooth devices.

Status

Reports the status (systemctl status) of the scanner service.

About

Command line tool for setting up and configuring scanner raspberries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published