This directory contains various utilities to manage your BrewPi installation
This python script gets the latest firmware from GitHub and flashes it to your controller
Run it with python updateFirmware.py
This python script flashes a new binary to a Spark Core in DFU mode using dfu-util
It waits for a device in DFU mode and then flashes it. Run it with python updateFirmware.py
Command line options:
--file <file name>, -f <file name>path to file to be flashed--multi, -mwait for the next device in DFU mode, used to flash multiple devices
Bash script will update the CRON job that is used to start/restart/check BrewPi
Bash script that installs/updates dependencies required by BrewPi through apt-get and pip
Bash script that sets the correct owner and permissions for the files in the web directory and script directory
Bash script that runs the 3 scripts above
Python script that connects to the controller based on settings in the config file. It allows you to send strings to the controller and it decodes the log messages that are sent back. Windows only. Takes a path to a config file as first argument, defaults to the default location.
Bash script that checks WiFi connectivity and tries to restart network services when the network is down. Can be ran periodically by cron to ensure WiFi stays alive.