• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

CraftBeerPi - Raspberry Pi Software

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Good afternoon! please tell me what is the problem I have when installing craftbeerpi3 on rasberrypi3 I can not go through the browser! and this is what it writes when installing :
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Flask==0.12.4 (from -r requirements.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read tim eout=15)",)': /packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2 .py3-none-any.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read tim eout=15)",)': /packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2 .py3-none-any.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read tim eout=15)",)': /packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2 .py3-none-any.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutE rror("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/2e/4 8/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2.py3-none-any.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2.py3-none-any.whl
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2.py3-none-any.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",))

mv: не удалось выполнить stat для './config/splash.png': Нет такого файла или каталога
[ ok ] Starting craftbeerpiboot (via systemctl): craftbeerpiboot.service.
 
@inhuman How did you install CBPi3 ?
Best possible way is using the BrewChef fork : BrewChef/craftbeerpi3
He corrected all missing dependencies etc etc.

But this looks a lot like "pythonhosted.org' being down.
Hello! I tried to put it like this :"
Best possible way is using the BrewChef fork : BrewChef/craftbeerpi3
He corrected all missing dependencies etc etc.
"! the same thing in the end....
And how can this be fixed:"But this looks a lot like "pythonhosted.org' being down."?
 
Good afternoon! I try to install it, but it doesn't work! Tell me how to fix it

pi@CraftBeerPi:~/craftbeerpi3 $ sudo ./run.py
Traceback (most recent call last):
File "./run.py", line 3, in <module>
from modules import socketio, app, cbpi
File "/home/pi/craftbeerpi3/modules/__init__.py", line 4, in <module>
from flask import Flask, render_template, redirect
ImportError: No module named flask

pi@CraftBeerPi:~ $ sudo pip install flask
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting flask
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
^[[ACould not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",))
 
Good afternoon! I try to install it, but it doesn't work! Tell me how to fix it

pi@CraftBeerPi:~/craftbeerpi3 $ sudo ./run.py
Traceback (most recent call last):
File "./run.py", line 3, in <module>
from modules import socketio, app, cbpi
File "/home/pi/craftbeerpi3/modules/__init__.py", line 4, in <module>
from flask import Flask, render_template, redirect
ImportError: No module named flask

pi@CraftBeerPi:~ $ sudo pip install flask
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting flask
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
^[[ACould not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",))

Version
pi@CraftBeerPi:~ $ python --version
Python 2.7.16
 
Everything for my control panel has shipped, but it's delayed due to the weather! I do have my RPi4B+ though, so I thought I'd fiddle around a bit while I wait.
So I've got CBPi 3 running and in the web control, I'm looking at the plugins list. There are quite a few there, and many with overlapping feature sets. Are there any recommendations? Is there any risk in trying any of them? I'm just in the learning stage with both RPi and CBPi, so I don't want to crash anything if possible.
 
Anyone using this I/O board in a Raspi-based brewery controller?

IONO Pi

Not the cheapest solution at $113 but seems to have everything needed for controlling up to 3 SSRs (via open collector outputs), One-Wire interface on GPIO4 (plus 3 other GPIO) and 4 pumps @ 120V (via NO SPST relays). Looks to be a viable solution for someone wanting an all-in-one interface board. Also, has built-in poly-fuse on 9-24V power supply input, which I’ve not seen on any of the custom CBPI boards. There is also a CM Pi model with built-in PT-100/PT-1000 support, but that is even more costly.
 
Last edited:
Everything for my control panel has shipped, but it's delayed due to the weather! I do have my RPi4B+ though, so I thought I'd fiddle around a bit while I wait.
So I've got CBPi 3 running and in the web control, I'm looking at the plugins list. There are quite a few there, and many with overlapping feature sets. Are there any recommendations? Is there any risk in trying any of them? I'm just in the learning stage with both RPi and CBPi, so I don't want to crash anything if possible.

You can add/remove plugins as you please. I haven't run into one that can cause any permanent malfunction.

Some of the plugins are outdated, and the owners have moved on so you might find support you might not.

Fingers crossed CBPI4 is kept updated once finished.
 
800mA is not a saturation from base, its a current limit collector-emitter i think, so basically how much SSR can draw which is fine because it use ~20mA.
Which of the two modes?BC337-25,BC337-40。
 

Attachments

  • WechatIMG80.jpeg
    WechatIMG80.jpeg
    116.1 KB
Hey guys, I could use a little help with my CBPi3.0 setup.
I've got things wired up and just starting to test. In CBPI, my sensor isn't showing up under the hardware settings when I go to select the sensor. If I'm doing it right, it does show up in the RPi files under sys/bus/w1/devices as w1_bus_master1. Can anyone help me find the disconnect?

Thanks!
 
Hey guys, I could use a little help with my CBPi3.0 setup.
I've got things wired up and just starting to test. In CBPI, my sensor isn't showing up under the hardware settings when I go to select the sensor. If I'm doing it right, it does show up in the RPi files under sys/bus/w1/devices as w1_bus_master1. Can anyone help me find the disconnect?

Thanks!
You go to System>Hardware Settings ---- Down to Sensors>Add>ONE_WIRE_SENSOR ????

As much as it pains me to say it, the facebook group is more responsive. I hate tracking issues through it but it's a bit faster.
 
You go to System>Hardware Settings ---- Down to Sensors>Add>ONE_WIRE_SENSOR ????

As much as it pains me to say it, the facebook group is more responsive. I hate tracking issues through it but it's a bit faster.
Hey Phoenix, Yes, I did that, but none show up there.
 
it does show up in the RPi files under sys/bus/w1/devices as w1_bus_master1. Can anyone help me find the disconnect?
When you look there (devices) it should appear as a number code such as 28-XXXXXXXeXXXX (X are numbers). Sounds like the pi is not recognizing it. Make sure you have 1-wire turned on via the RPI settings. Also is has to be on GPIO 4. Hope that helps.
 
cd /sys/bus/w1/devices
ls
Should output something like this, I currently have 4 sensors going.
28-0000066f1989 28-000006774442 w1_bus_master1
28-0000066f1fdc 28-01202258ac3c

If you dont' see anything, onewire isn't turned on. I think it asks you if you want to when you install CBPI3. If not you can go to -

Sudo raspi-config > Interface Options > 1 wire

If 1 wire is on and you see nothing it's probably a hardware problem, check your connections for the sensor and the resistor
 
Last edited:
If the sensors show up in the system folder then W1 suport is ok.
CBPI only reads the sensor list when start, if you connect the sensor after that it will not show up.
There is a bug in the one-wire basic plugin, but only shows up if you have more than one W1 bus.
You may try some of the one-wire advanved plugins just in case.
 
I'm not seeing the address format mentioned above. Here is what I’m seeing:
 

Attachments

  • D2E96A13-7924-4B80-9BF4-B7442D9D5496.jpeg
    D2E96A13-7924-4B80-9BF4-B7442D9D5496.jpeg
    3.4 MB
I'm not seeing the address format mentioned above. Here is what I’m seeing:

The little icon to the left of the craftbeerpi tab is the terminal. Click on that and copy paste:

cd /sys/bus/w1/devices
ls

If it outputs nothing you either need to make sure 1 wire is turned on or you have a hardware issue.
 
If it outputs nothing you either need to make sure 1 wire is turned on or you have a hardware issue.
It came back with nothing:
pi@raspberrypi:~ $ cd /sys/bus/w1/devices
pi@raspberrypi:/sys/bus/w1/devices $

Under raspberry pi configuration interfaces tab, it shows -Wire enabled.
 
Everytime it's come back blank for me I've spent multiple hours googling what the hell is wrong with the software and everytime it's been a problem with the hardware, wire came loose.

You have the 1 wire setup with a resistor?
 
Back
Top