This version is outdated by a newer approved version.DiffThis version (2017/07/24 22:06) is a draft.
Approvals: 0/1
The Previously approved version (2017/07/20 19:38) is available.Diff

This is an old revision of the document!

You can connect over WiFi or over USB. The select to which USB serial port or to which IP address the BrewPi server connects, you can modify the port setting in `settings/config.cfg`.

Connecting the BrewPi Spark via USB

If you want to connect to the BrewPi Spark over USB, our recommendation is to leave the port setting to `auto`:

port = auto

With port set to `auto`, the BrewPi python script will automatically identify compatible devices and use them. Alternatively, you can specify a serial port:

port = /dev/ttyACM0

Please note that if you are running the BrewPi server inside a docker container, you need to give the container access to the USB device by setting the –device flag when you start the container.

Connecting the BrewPi Spark via WiFi

Set up WiFi on the BrewPi Spark following these instructions.

Configure the port setting as follows (assuming the ip address of your BrewPi Spark is

port = socket://

Where to set the port setting?

Assuming you are running BrewPi in a docker container with data mapped to `~/brewpi-data`, you can use these commands on the server to edit the config file:

cd ~/brewpi-data/settings
nano config.cfg

If nano is not installed, you can install it with

sudo apt-get update; sudo apt-get install nano