Is CraftbeerPi still available or is there a better option?

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

btbonser

Well-Known Member
Joined
Dec 14, 2010
Messages
75
Reaction score
38
Location
Lamar, Missouri
I currently have an electric 3 vessel HERMS system which is based off of The Electric Brewery's 30A Control Panel build and have been using is for years. I now want to step up to a PC based control system. I'm not a programmer but I do know my way around a computer. I have looked through a lot of the different threads on here and I like the RaspberryPi with the CraftbeerPi expansion but can't seem to find the CraftbeerPi board online. Is this expansion board still available? Is there something better out there? Are these types of expansion boards necessary?
 
I you are looking for something "better", take a look at Brucontrol. It is pretty much limitless with what you can do with it. I even wrote FW for the nodeMCU to add devices that are not natively supported. And with the HTTP data exchange interface you can tie this into all sorts of other things like automatically importing recipes from beersmith using node red.
 
I'm having trouble getting CBPi4 installed on a Pi Zero W. I'm not a programmer and am below average in Linux. I'm a user, not a developer/programmer.

Any ideas from the output below? Or maybe I just need to wait until it's officially released?

Following the directions at CraftBeerPi

After sudo pip install cbpi
I get:
pi@raspberrypi:~ $ sudo pip install cbpi Looking in indexes: [URL]https://pypi.org/simple[/URL], [URL]https://www.piwheels.org/simple[/URL] Collecting cbpi Using cached [URL]https://files.pythonhosted.org/packages/dd/e8/5a43b03a66d797ccd7de14d6942ffd1bcf0647b6b88ae358dd8b02ea1bfa/cbpi-4.0.0.28.tar.gz[/URL] Collecting aiohttp-auth==0.1.1 (from cbpi) Using cached [URL]https://files.pythonhosted.org/packages/74/1d/261bb7e86b660cb5bdb1f4c28393d8078c189eddc1c87cd16389dfca8500/aiohttp_auth-0.1.1.tar.gz[/URL] Collecting aiohttp-route-decorator==0.1.4 (from cbpi) Using cached [URL]https://files.pythonhosted.org/packages/4f/b6/3af0444d36812b68367c3bb8ff65d0ccf5ba855ce28cda5ce10ff465021a/aiohttp_route_decorator-0.1.4.tar.gz[/URL] Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-lPYWOK/aiohttp-route-decorator/setup.py", line 13, in <module> long_description=open('README.rst', encoding='utf-8').read(), TypeError: 'encoding' is an invalid keyword argument for this function ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-lPYWOK/aiohttp-route-decorator/




After sudo pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
I get:
pi@raspberrypi:~ $ sudo pip install [URL]https://github.com/Manuel83/craftbeerpi4/archive/master.zip[/URL] Looking in indexes: [URL]https://pypi.org/simple[/URL], [URL]https://www.piwheels.org/simple[/URL] Collecting [URL]https://github.com/Manuel83/craftbeerpi4/archive/master.zip[/URL] Downloading [URL]https://github.com/Manuel83/craftbeerpi4/archive/master.zip[/URL] - 50.6MB 1.7MB/sKilled pi@raspberrypi:



After sudo pip install Manuel83/craftbeerpi4
I get:
pi@raspberrypi:~ $ sudo pip install [URL='https://github.com/Manuel83/craftbeerpi4.git']Manuel83/craftbeerpi4[/URL] Looking in indexes: [URL]https://pypi.org/simple[/URL], [URL]https://www.piwheels.org/simple[/URL] Collecting [URL='https://github.com/Manuel83/craftbeerpi4.git']Manuel83/craftbeerpi4[/URL] Downloading [URL='https://github.com/Manuel83/craftbeerpi4.git']Manuel83/craftbeerpi4[/URL] | 194kB 1.2MB/s Cannot unpack file /tmp/pip-unpack-s9im6y/craftbeerpi4.git (downloaded from /tmp/pip-req-build-q6nOW4, content-type: text/html; charset=utf-8); cannot detect archive format Cannot determine archive format of /tmp/pip-req-build-q6nOW4[/CODE]
 
Last edited:
Please post the output to:

python —version

and

pip list

The separator in front of version consists of double hyphens (minus signs).

If those error, try:

python3 —version

and

pip3 list
 
Start here: Python for Windows

If CBPi4 is the only reason you are installing Python, I suggest the latest Python version supported by your Windows version. Be aware that CBPi will not run on Python 2. You need one of the Python 3 variants for CBPi4.

FWIW, I have CBPi4 installed on MacOS Catalina with Python 3.9 for evaluation/development purposes. I installed Homebrew to manage my Python versions and then I setup a virtual environment using Venv in which to install and work with CBPi4.
 
Last edited:
Start here: Python for Windows

If CBPi4 is the only reason you are installing python, I suggest installing the latest Python version supported by your Windows version. Be aware that CBPi will not run on Python 2. You need one of the Python 3 variants.

i have CBPi4 installed on MacOS Catalina with Python 3.9 for evaluation/development purposes.

I already installed Python, but I can't install CBPi4.
What are the installation steps?
 
I already installed Python, but I can't install CBPi4.
What are the installation steps?

Open the Windows PowerShell (or Windows Command Prompt).

Navigate to your directory of choice.

Type: sudo pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
(enter above command on a single line)

After installation is complete, type: cbpi setup

After setup is complete, type: cbpi start

Open your web browser of choice on the same machine and enter the address:

0.0.0.0:8000
(0.0.0.0 is your local machine and :8000 is the default port)
 
Please post the output to:

python —version

and

pip list

The separator in front of version consists of double hyphens (minus signs).

If those error, try:

python3 —version

and

pip3 list
pi@raspberrypi:~ $ python3 --version
Python 3.7.3
pi@raspberrypi:~ $ pip3 list
Package Version
----------------- -----------
appdirs 1.4.3
asn1crypto 0.24.0
astroid 2.1.0
asttokens 1.1.13
automationhat 0.2.0
beautifulsoup4 4.7.1
blinker 1.4
blinkt 0.1.2
buttonshim 0.0.2
Cap1xxx 0.1.3
certifi 2018.8.24
chardet 3.0.4
Click 7.0
colorama 0.3.7
colorzero 1.1
cookies 2.2.1
cryptography 2.6.1
cupshelpers 1.0
cycler 0.10.0
decorator 4.3.0
docutils 0.14
drumhat 0.1.0
entrypoints 0.3
envirophat 1.0.0
ExplorerHAT 0.4.2
Flask 1.0.2
fourletterphat 0.1.0
gpiozero 1.5.1
guizero 0.6.0
html5lib 1.0.1
idna 2.6
ipykernel 4.9.0
ipython 5.8.0
ipython-genutils 0.2.0
isort 4.3.4
itsdangerous 0.24
jedi 0.13.2
Jinja2 2.10
jupyter-client 5.2.3
jupyter-core 4.4.0
keyring 17.1.1
keyrings.alt 3.1.1
kiwisolver 1.0.1
lazy-object-proxy 1.3.1
logilab-common 1.4.2
lxml 4.3.2
MarkupSafe 1.1.0
matplotlib 3.0.2
mccabe 0.6.1
microdotphat 0.2.1
mote 0.0.4
motephat 0.0.3
mypy 0.670
mypy-extensions 0.4.1
nudatus 0.0.4
numpy 1.16.2
oauthlib 2.1.0
olefile 0.46
pantilthat 0.0.7
parso 0.3.1
pexpect 4.6.0
pgzero 1.2
phatbeat 0.1.1
pianohat 0.1.0
picamera 1.13
pickleshare 0.7.5
picraft 1.0
piglow 1.2.5
pigpio 1.44
Pillow 5.4.1
pip 18.1
prompt-toolkit 1.0.15
psutil 5.5.1
pycairo 1.16.2
pycodestyle 2.4.0
pycrypto 2.6.1
pycups 1.9.73
pyflakes 2.0.0
pygame 1.9.4.post1
Pygments 2.3.1
PyGObject 3.30.4
pyinotify 0.9.6
PyJWT 1.7.0
pylint 2.2.2
pyOpenSSL 19.0.0
pyparsing 2.2.0
pyserial 3.4
pysmbc 1.0.15.6
python-apt 1.8.4.3
python-dateutil 2.7.3
pyxdg 0.25
pyzmq 17.1.2
qtconsole 4.3.1
rainbowhat 0.1.0
reportlab 3.5.13
requests 2.21.0
requests-oauthlib 1.0.0
responses 0.9.0
roman 2.0.0
RPi.GPIO 0.7.0
RTIMULib 7.2.1
scrollphat 0.0.7
scrollphathd 1.2.1
SecretStorage 2.3.1
semver 2.0.1
Send2Trash 1.5.0
sense-emu 1.1
sense-hat 2.2.0
setuptools 40.8.0
simplegeneric 0.8.1
simplejson 3.16.0
six 1.12.0
skywriter 0.0.7
sn3218 1.2.7
soupsieve 1.8
spidev 3.4
ssh-import-id 5.7
thonny 3.3.5
tornado 5.1.1
touchphat 0.0.1
traitlets 4.3.2
twython 3.7.0
typed-ast 1.3.1
uflash 1.2.4
unicornhathd 0.0.4
urllib3 1.24.1
wcwidth 0.1.7
webencodings 0.5.1
Werkzeug 0.14.1
wheel 0.32.3
wrapt 1.10.11
pi@raspberrypi:~ $
pi@raspberrypi:~ $ python --version
Python 2.7.16
pi@raspberrypi:~ $ pip list
Package Version
----------------- -----------
arandr 0.1.9
asn1crypto 0.24.0
automationhat 0.2.0
blinker 1.4
blinkt 0.1.2
buttonshim 0.0.2
Cap1xxx 0.1.3
certifi 2018.8.24
chardet 3.0.4
Click 7.0
colorama 0.3.7
colorzero 1.1
configparser 3.5.0b2
cookies 2.2.1
cryptography 2.6.1
drumhat 0.1.0
entrypoints 0.3
enum34 1.1.6
envirophat 1.0.0
ExplorerHAT 0.4.2
Flask 1.0.2
fourletterphat 0.1.0
funcsigs 1.0.2
gpiozero 1.5.1
gyp 0.1
idna 2.6
ipaddress 1.0.17
itsdangerous 0.24
Jinja2 2.10
keyring 17.1.1
keyrings.alt 3.1.1
MarkupSafe 1.1.0
mcpi 0.1.1
microdotphat 0.2.1
mock 2.0.0
mote 0.0.4
motephat 0.0.3
numpy 1.16.2
oauthlib 2.1.0
olefile 0.46
pantilthat 0.0.7
pbr 4.2.0
phatbeat 0.1.1
pianohat 0.1.0
picamera 1.13
picraft 1.0
piglow 1.2.5
pigpio 1.44
Pillow 5.4.1
pip 18.1
pycairo 1.16.2
pycrypto 2.6.1
pyflakes 2.0.0
pygame 1.9.4.post1
PyGObject 3.30.4
pyinotify 0.9.6
PyJWT 1.7.0
pyOpenSSL 19.0.0
pyserial 3.4
pyxdg 0.25
rainbowhat 0.1.0
requests 2.21.0
requests-oauthlib 1.0.0
responses 0.9.0
RPi.GPIO 0.7.0
RTIMULib 7.2.1
scrollphat 0.0.7
scrollphathd 1.2.1
SecretStorage 2.3.1
sense-emu 1.1
sense-hat 2.2.0
setuptools 40.8.0
simplejson 3.16.0
six 1.12.0
skywriter 0.0.7
sn3218 1.2.7
spidev 3.4
touchphat 0.0.1
twython 3.7.0
unicornhathd 0.0.4
urllib3 1.24.1
Werkzeug 0.14.1
wheel 0.32.3
pi@raspberrypi:
 
Hello @Alt --
I had trouble running that command - errors.
I ran an update/upgrade and tried sudo pip3 install https://github.com/Manuel83/craftbeerpi4/archive/master.zip again. Same results.
Keep in mind, I'm using a Pi Zero W--- in case that makes a difference.

1615570308838.png


Then I tried an update and upgrade and get errors. Maybe I should start over with a re-flash of the SD card?

pi@raspberrypi:~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
lxplug-bluetooth raspberrypi-sys-mods rpi-eeprom thonny
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,261 kB of archives.
After this operation, 547 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
Traceback (most recent call last):
File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
output = subprocess.check_output(command)
File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['dpkg-deb', '-f', '/var/cache/apt/archives/lxplug-bluetooth_0.20_armhf.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 281, in <module>
main(config)
File "/usr/bin/apt-listchanges", line 96, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 215, in __init__
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 128, in readdeb
{'what': file, 'errmsg': str(ex)}) from ex
NameError: name 'file' is not defined
E: Invalid archive member header
E: Prior errors apply to /var/cache/apt/archives/lxplug-bluetooth_0.20_armhf.deb
E: Invalid archive signature
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
E: Prior errors apply to /var/cache/apt/archives/raspberrypi-sys-mods_20210310_armhf.deb
E: Invalid archive member header
E: Prior errors apply to /var/cache/apt/archives/rpi-eeprom_11.10-1_armhf.deb
E: Invalid archive member header
E: Prior errors apply to /var/cache/apt/archives/thonny_3.3.6-1+rpt1_all.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/lxplug-bluetooth_0.20_armhf.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: '/var/cache/apt/archives/raspberrypi-sys-mods_20210310_armhf.deb' is not a Debian format archive
dpkg: error processing archive /var/cache/apt/archives/raspberrypi-sys-mods_20210310_armhf.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/rpi-eeprom_11.10-1_armhf.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/thonny_3.3.6-1+rpt1_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/lxplug-bluetooth_0.20_armhf.deb
/var/cache/apt/archives/raspberrypi-sys-mods_20210310_armhf.deb
/var/cache/apt/archives/rpi-eeprom_11.10-1_armhf.deb
/var/cache/apt/archives/thonny_3.3.6-1+rpt1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $
 
Last edited:
@rkhanso, I am far from a Unix/Linux expert but your latest output looks like there may be an issue with your RPi OS installation or at least your python environment configuration. Are you running the Lite or Desktop OS? If you don’t have anything to lose on the SD card, I would wipe it clean and start fresh with the latest OS image from the RPi Foundation. Then let’s try installing CBPi from PyPi instead of Github:

sudo pip install cbpi

You won’t have the lastest build but that doesn’t really matter at this point in development - PyPi currently has build 28. We just want to get you to the point you can install, setup and run it. You can upgrade later. The most recent merge to build 31 fixed some things but temporarily broke others.

If anyone else sees it differently, please chime in. In the meanwhile I will look this weekend to see if I have a Zero W lying around and try an install myself. I know I have at least one Zero somewhere but not sure if I have a Wifi model.
 
Last edited:
Any idea how long until it's officially released?
Your guess is as good as anyone else’s. Manuel began work on version 4 a little over two years ago. But to be fair, it sounds like life took precedence for about a year or so. Activity began again in earnest this January and he’s been feverishly pushing out new features and functionality since then. Others who wrote and shared plug-ins for version 3 have started porting some of those over to version 4. If I were to wager a guess, I would predict a first release build sometime this May or June.
 
Hello @Alt.
I've tried it on a Pi 4 and also get errors. I think I'll just wait until the official release of CBPi4. Or use something else. I'd like to get Bru Control, but it's hard for me to justify that price to the wife.

On the Pi4:
pi@raspberrypi:~ $ sudo pip install cbpi
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cbpi
Using cached https://files.pythonhosted.org/pack...47b6b88ae358dd8b02ea1bfa/cbpi-4.0.0.28.tar.gz
Collecting aiohttp-auth==0.1.1 (from cbpi)
Using cached https://files.pythonhosted.org/pack...1c87cd16389dfca8500/aiohttp_auth-0.1.1.tar.gz
Collecting aiohttp-route-decorator==0.1.4 (from cbpi)
Using cached https://files.pythonhosted.org/pack...f465021a/aiohttp_route_decorator-0.1.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pRX0pl/aiohttp-route-decorator/setup.py", line 13, in <module>
long_description=open('README.rst', encoding='utf-8').read(),
TypeError: 'encoding' is an invalid keyword argument for this function

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-pRX0pl/aiohttp-route-decorator/
pi@raspberrypi:~ $


pi@raspberrypi:~ $ sudo pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/Manuel83/craftbeerpi4/archive/master.zip
Using cached https://github.com/Manuel83/craftbeerpi4/archive/master.zip
cbpi requires Python '>=3' but the running Python is 2.7.16
pi@raspberrypi:~ $



I thought I installed Python3 successfully.
pi@raspberrypi:~ $ python -V
Python 3.8.0
pi@raspberrypi:~ $
 
Using cached https://github.com/Manuel83/craftbeerpi4/archive/master.zip
cbpi requires Python '>=3' but the running Python is 2.7.16
pi@raspberrypi:~ $

I thought I installed Python3 successfully.
pi@raspberrypi:~ $ python -V
Python 3.8.0
pi@raspberrypi:~ $

Partially successful. A fresh install of RPi OS should leave you with:

$ python -V
Python 2.7.16
$ pip -V
pip 18.1 from /usr/lib/python2.7/dist-packages/pip (Python 2.7)

$ python3 -V
Python 3.7.3
$pip3 -V
pip 18.1 from /usr/lib/python3/dist-packages/pip (Python 3.7)

I am guessing you upgraded python3 from 3.7 to 3.8 and the upgrade process aliased python=python3 but did not alias pip=pip3. You can still alias pip but there can be reasons to not do that. Below we are going to run pip using python -m so that pip is explicitly linked to your python 3.8.

First, let's make sure you do not have any cbpi4 related packages installed.

$ python -m pip list

If you see cbpi and cbpi4ui then uninstall those.

$ sudo python -m pip uninstall cbpi cbpi4ui

Now run a fresh install:

$ sudo python -m pip install cbpi

Do not try to install latest build from Github just yet, let's get cbpi 4.0.0.28 installed from PyPi working first. PyPi will do a better job of correcting any dependency issues you may have.
 
Open the Windows PowerShell (or Windows Command Prompt).

Navigate to your directory of choice.

Type: sudo pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
(enter above command on a single line)

After installation is complete, type: cbpi setup

After setup is complete, type: cbpi start

Open your web browser of choice on the same machine and enter the address:

0.0.0.0:8000
(0.0.0.0 is your local machine and :8000 is the default port)

I managed to make the first command: pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
after the download and installation run the command cbpi setup and nothing happens
 
What’s everyone using to step down the 110v AC in their control panel to the 5.1v 2.5A required for the raspberry Pi?
 
I managed to make the first command: pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
after the download and installation run the command cbpi setup and nothing happens
@trindade, I have no real familiarity with Python on Windows and don't want to lead you down a labyrinth of rabbit holes. It might be best to post your issue here on GitHub and let's see what Manuel or others more knowledgeable then me have to say before we pursue this further.
 
Partially successful. A fresh install of RPi OS should leave you with:

$ python -V
Python 2.7.16
$ pip -V
pip 18.1 from /usr/lib/python2.7/dist-packages/pip (Python 2.7)

$ python3 -V
Python 3.7.3
$pip3 -V
pip 18.1 from /usr/lib/python3/dist-packages/pip (Python 3.7)

I am guessing you upgraded python3 from 3.7 to 3.8 and the upgrade process aliased python=python3 but did not alias pip=pip3. You can still alias pip but there can be reasons to not do that. Below we are going to run pip using python -m so that pip is explicitly linked to your python 3.8.

First, let's make sure you do not have any cbpi4 related packages installed.

$ python -m pip list

If you see cbpi and cbpi4ui then uninstall those.

$ sudo python -m pip uninstall cbpi cbpi4ui

Now run a fresh install:

$ sudo python -m pip install cbpi

Do not try to install latest build from Github just yet, let's get cbpi 4.0.0.28 installed from PyPi working first. PyPi will do a better job of correcting any dependency issues you may have.
pi@raspberrypi:~ $ python -V


Python 3.8.0
pi@raspberrypi:~ $ pip -V
pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
pi@raspberrypi:~ $

pi@raspberrypi:~ $ python3 -V
Python 3.7.3
pi@raspberrypi:~ $ pip3 -V
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
pi@raspberrypi:~ $

pi@raspberrypi:~ $ python -m pip list
Package Version
---------- -------
pip 19.2.3
setuptools 41.2.0
WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pi@raspberrypi:~ $

1615760687514.png
 
Here’s how I successfully installed Craftbeerpi4 on my Pi Zero W.

Flashed new image of Rpi OS Lite to SD Card:
  • I used the Raspberry Pi Imager for this exercise, but typically use Etcher.
Set WLAN SSID & password; selected localization language.country code.character set (en.US.UTF-8); keyboard; WLAN country code; and enabled SSH & 1-Wire:
  • sudo raspi-config
Remove Python2 - probably not necessary, but I did:
  • sudo apt-get remove python
  • sudo apt autoremove
Install additional Python3 packages:
  • sudo apt-get install python3-pip
  • sudo apt-get install python3-rpi.gpio # not really necessary at this point as cbpi will install as needed
  • sudo apt-get install python3-smbus # this one probably not necessary but could be handy in the future
Install CBPI4:
  • sudo pip3 install cbpi
Setup CBPi4:
  • cbpi setup
Ran into a numpy error during setup and corrected issue as instructed here:
  • sudo apt-get install libatlas-base-dev
Reran setup:
  • cbpi setup
Launch Craftbeerpi4:
  • cbpi start
Success or so I thought. Couldn’t connect to Pi Zero IP address (x.x.x.x:8000). Then realized I couldn’t SSH into my Zero either. Changed SSID & password from guest wifi to internal wifi by rerunning raspi-config, but all that did was create an alternative connection.

Edited wpa-supplicant to remove guest wifi network configuration:
  • sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
delete and save
network={​
ssid=“guest….”​
psk=“….”​
}​

Reboot and run:
  • cbpi start
Enter Pi Zero IP address and CBPi port (x.x.x.x:8000) in web browser of choice on another device logged into the same wifi network as Pi Zero and voila! CBPi4 is more responsive running on the Pi Zero than I expected; however, installation and setup were painfully slow compared with a Pi 3B, let alone an i5 Mac Mini.
 
Last edited:
@Alt, I followed your steps exactly and still get a problem. I'm trying this on a Pi Zero W.

After cbpi setup I got this:
pi@raspberrypi:~ $ cbpi setup Traceback (most recent call last): File "/usr/local/bin/cbpi", line 6, in <module> from cbpi.cli import main File "/usr/local/lib/python3.7/dist-packages/cbpi/cli.py", line 9, in <module> from cbpi.utils.utils import load_config File "/usr/local/lib/python3.7/dist-packages/cbpi/utils/__init__.py", line 1, in <module> from cbpi.utils.utils import * File "/usr/local/lib/python3.7/dist-packages/cbpi/utils/utils.py", line 1, in <module> from cbpi.utils.encoder import ComplexEncoder File "/usr/local/lib/python3.7/dist-packages/cbpi/utils/encoder.py", line 4, in <module> from pandas import Timestamp File "/usr/local/lib/python3.7/dist-packages/pandas/__init__.py", line 17, in <module> "Unable to import required dependencies:\n" + "\n".join(missing_dependencies) ImportError: Unable to import required dependencies: numpy: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.7 from "/usr/bin/python3" * The NumPy version is: "1.20.1" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory pi@raspberrypi:~ $

I did this to correct it, then CBPI would start OK.
sudo apt-get install libatlas-base-dev
 
Last edited:
@rkhanso, if I am reading you correctly you now have cbpi4 running on your Pi Zero? The error you posted with correction was covered in my instructions. It is not a cbpi4 issue per se, but rather a Raspi OS - Python setup issue. I ran into the same issue and worked through it, as it sounds like you have done as well.

FYI, there may be issues with the step control in cbpi4 build 33 with the latest merged pull request from a contributor which was intended to manage the state of steps at the basic controller level. Either it didn’t properly account for passing the running state to each step instance or I may have some work around left in my installation which that upgrade did not overwrite. No one has commented about this on GitHub so I suspect it may be in my installation. Hopefully I can find some time tonight to do a full uninstall/install and then see if it persists.
 
Thanks for the help Alt. I'm going to give up on it for now though. CraftbeerPi 3 is working OK for me for now. Don't put in any effort on this on my account.
I also need to plan another brew and actually brew again soon.

For a long time, I gave up all hope on CraftbeerPi3 and the future of CraftbeerPi in general since it was radio silence for so long on it. I didn't see any updates for a long time.

I've since changed over to Fermentrack for my fermenter controller (but still have my CraftbeerPi3 fermenter controller still working, but unused). When CraftbeerPi4 is officially released, I'll likely switch over to it. Or maybe look at BruControl down the road if I can save up some $$ for it.
But until then, CBPi3 is still humming along.
 
On the FB Group, Alexander V took the lead and put together a working version
Since more folks from this group try to install my fork of cbpi4, I have created an image of the latest server, user interface including most of the plugins. Nicolas Slammy Outrey is so kind to host the image for Download. The image is zipped and has a size of ~ 2Gb. The unzipped size is ~ 6.7 Gb. You will need at least an SD card of 8 Gb size, but I recommend 16 or 32 Gb.
  1. unzip the image
  2. write the image to a sd card (I have tested etcher and win32 diskimager)
  3. Place the sd card into your pi and boot. (Please note that this will take some time and that the system will reboot a second time to enlarge the image to the size of the sd card.
  4. ssh is enabled. user is default: pi. password is default: raspberry. -> You should change this
  5. Network is enabled for lan with dhcp.
  6. Wifi is not yet enabled. -> you can do this via ssh and sudo raspi-config
  7. python and pip commands are linked to V3 of python (no need to use python3 or pip as command)
  8. git is installed -> you can go into the craftbeerpi4 directory or a plugin directory and run 'git pull' to update the server, ui or a plugin.
  9. Afterwards you will need to move back up to /home/pi and run sudo pip install ./craftbeerpi4 to install the updated version of the server or replace ./craftbeerpi4 with the folder of the plugin to update a plugin.

    EDIT:
  10. IMPORTANT as I just noticed this yet: If you need the cbpi4-GroupedActor plugin:
    -> run the following commands from shell:
    sudo cbpi remove cbpi4-GroupedActor/
    sudo cbpi add cbpi4-GroupedActor
    -> A reboot or cbpi restart is required to see the activated plugin.
    sudo systemctl restart craftbeerpi.service

The download link: https://www.slammy.net/home.../2021_08_craftbeerpi4_32gb.zip

Later, there will be also a second source to download the image. Stig Berntsen will prepare something.

I hope, I have mentioned all important points. I am running only cbpi4 for a couple of months and it runs pretty stable. Happy brewing.

The following plugins are pre-installed:
- cbpi4ui
- cbpi4-buzzer
- cbpi4-PID_AutoTune
- cbpi4-FermenterHysteresis
- cbpi4-BM_PID_SmartBoilWithPump
- cbpi4-pt100x
- cbpi4-PushOver
- cbpi4-iSpindle
- cbpi4-PIDBoil
- cbpi4-DependentActor
- cbpi4-GroupedActor/ (<- this needs to be changed. See Step 10 above)

  • Autostart is enabled
  • chromium starts automatically in full screen mode
 
Afternoon! maybe reviving an old thread here but here it goes anyway. I have CBPI4 installed and running (thanks for the above!) I see all the plugin folders etc etc but in the CBPI interface itself, plug-ins page is empty. Is this normal? Only curious as I'll be adding a few iSpindles to my setup and would like to track them here as well.

Cheers!
 
Afternoon! maybe reviving an old thread here but here it goes anyway. I have CBPI4 installed and running (thanks for the above!) I see all the plugin folders etc etc but in the CBPI interface itself, plug-ins page is empty. Is this normal? Only curious as I'll be adding a few iSpindles to my setup and would like to track them here as well.

Cheers!

ok so I see how it's setup in the sensors area...ignore the above...well...until I build it and test it, I may come back to it!

Cheers!
 
Afternoon! maybe reviving an old thread here but here it goes anyway. I have CBPI4 installed and running (thanks for the above!) I see all the plugin folders etc etc but in the CBPI interface itself, plug-ins page is empty. Is this normal? Only curious as I'll be adding a few iSpindles to my setup and would like to track them here as well.

Cheers!
Have you ran the install command ?
 
Back
Top