There is no password for brewpi, you can only su to it. Explaining this for others:
- "sudo su - brewpi" changes your current user to the brewpi user, which is what owns and runs the BrewPi script. the "-" in between su and brewpi alters the environment to the brewpi's environment as well.
- "activate" is an alias for (from memory) "/home/brewpi/venv/bin/activate" which sets up the Python virtual environment under which BrewPi is intended to run.
- "python" inside the venv is an alias to python3 which is what BrewPi uses.
- "Tilt.py" is a helper library with a test script which will connect to Tilts and show what is received.
So now we see that your environment was not set up correctly for some reason. You can exit to get back to the pi user, and do either one of these:
- /home/brewpi/utils/doPerms.sh <--(this is the recommended solution)
or
- sudo setup cap_net_raw+eip $(eval redline -f `which python3`) <--(this is included in the above script)
Then, as brewpi set up the venv again and run Tilt.py and see what happens.