• 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.
Unti now it was sufficient to measure very 5 seconds but maybe its good idea to have config parameter for that. The default would be 5 seconds. The temperature control depends on the selected control logic. But the good thing is that it's really easy to implement anew custom logic. In this custom logic its up to you how often you check the temperature.


Yes, it's a good idea to place a transistor in between. Some people are asking for a custom PI shield. It would be more then welcome to get some support on this. :)
 
You can adopt some Ardbir PCBs as it will be similar and even easier because you dont have to wire LCD. But I do not know if you would like to have shield for RPi or just connector on the cable. The only problem what I can think off is a power supply, because you need microUSB for RPi and power for "shield". Both actually can be 5V but I do not know how much current raspberry is taking and how to wire it with mUSB and I do not see any other VIN port. Other idea is to power board (shield) from 5V pin from Raspberry but again I do not know how much current you can get from there.
You will need probalby still 3 different potentials, 5V for Pi and maybe PCB if there is enough current, 12V for pump and PCB if not from 5V and 230V for SSR-HEATER

I do not get all those logic setups :) but probably standard PID is the best for mashing? Something other for fermnetation.
 
this looks great Manuel, Thanks so much for putting in the time and effort with this. Once i have the parts for my recirculating system, I look forward to using your program!
 
CraftBeerPI 2.1 offers a HTTP {REST} API. That gives other software programs the possibility to communicate with CraftBeerPI. For example a brew recipie planning tool can push data directly into CraftBeerPI.
The API is documented by using Swagger.io. With Swagger you can generate a CraftBeerPI REST client for your favorite programming language.

CraftBeerPI {REST} API: http://craftbeerpi.com/api/#/

For the version 2.2 CraftBeerPI will support the import of Beer.xml from BeerSmith

Facebook: http://www.facebook.com/craftbeerpi
 
Hi Manuel,
Does craftbeerpi support servo output for controlling gas valves? If it does, then I'm in!

:ban:
 
I loaded this onto a Pi today and it's pretty cool!

Sehr Gut!

(Can someone send me the Fritzing part file for the waterproof DS18B20??)
 
@Jrubins
Can you post me a link to the gas values you are using?

@atoughram
Here you will find the waterproof db18b20 for firtzing
http://domoticx.com/printplaat-ontwerp-fritzing-onderdelen/

I'm using a servo with multi rotation, 1520uS is closed and 650us is open.
Arduino code here (bugs and all): https://github.com/jrubinstein/brew-PID-propane/tree/automatedBIAB_v1

The other solution that's similar (in python for the Rpi) is from @tob77: https://github.com/tob77/BrewNpi/blob/master/brewNpi.py

His approach uses servoblaster to write to the servo and a separate gas solenoid valve.

There are a few things that matter for using propane:
1. controlling the flow of the gas using a servo rather than the on/off of a valve or electric element
2. igniting the gas when the valve is opened
3. detecting when the flame is present

I forked your repo, but, frankly, I don't have the programming chops that you do, so my efforts are unlikely to work as well :)

Thanks,
JR
 
actually nope, the new pi comes with 2.5A and needs more power, but I would agree that for this project 2A is way enough.
The problem is if the board is really capable of delivering 3A. I ordered them already so I will check them
 
Is anyone else having trouble controlling an SSR directly from the PI? I've followed Manuel's installation diagrams, but can't get the SSR to respond. I've tested with the same GPIO and same SSR in StrangeBrew, and can activate the SSR through that interface, but can't get it to respond in CBP2.1.
 
Hi,

thats interesting. Please make sure that you selected "GPIO" as switch type during setup.
You can double check this in the configuration tab. You can even change it to GPIO in the configuration tab. A restart is required after change of this parameter.

Can you post the "app.log" file please? That the central log file of CraftBeerPi and you can find it in the home directory of CraftBeerPi.

You should find lines like this:

INFO:brewapp:<brewapp.base.devices.gpio.BrewGPIO object at 0x75c436d0>
INFO:brewapp:<brewapp.base.thermometer.w1_thermometer.OneWireThermometer object at 0x75c9a950>

I hope this helps.
 
Thanks, manuel. Yes, the GPIO I believe is set correctly. More interesting, might the error be in the configuration of the program itself? in the app.log file, there are several references to INFO:werkzeug: * Running on http://0.0.0.0:5000/, which is not the correct IP. In the main interface, the 'start' button on the recipe window does not do anything... it's as if the commands don't really start processing. I'll try to copy the app.log over in the afternoon, but am running out the door now.
 
Hi,

the http://0.0.0.0:5000/ is absolutely fine. This indicates that the server is accessible via all network interfaces and not only via localhost.

You mean the start button at the "Setup Dialog"? Can you access the dashboard?
You can mail the app.log to [email protected].

Best regards,
Manuel
 
Thanks, Manuel. Just sent you the app.log. The setup goes fine, and I can customize my hardware profiles. It recognizes the OneWire probe I have connected. But on the main page, when you should press start to initialize the profile sequence (heating, cooling, wait periods, etc.) based on a particular recipe loaded, nothing happens. Doesn't initialize. And the manual buttons (to activate the heater, or a pump, for instance) do nothing...
 
First draft of a Raspberry Pi Custom Shield for CraftBeerPi.
Community feedback is welcome.

shield5.png
 
Looks good but what are the options for an all electric setup, also, what about more ports for ds18b20's say for long tun temp vs rims outlet etc.
 
Looks good but what are the options for an all electric setup, also, what about more ports for ds18b20's say for long tun temp vs rims outlet etc.

You shouldn't use mechanical relays for electrical brewing, you will need an ssr. You can control an ssr from low DC voltage though, so maybe a few low voltage pins can be implemented.
 
This is my vision so far, I ordered parts already. This might be good for BIAB or 2 pot setup, there is place to add additional ports plus temp sensors if anyone will be intersted, plus the cost is much lower than upper board, there is also module for powering the Pi itself from 12V

index.jpg
 
i use BIAB, one pot so I use only one temp sensor plus heater and pump output. I tested it once and for the rest I am on ArdBir for now as I have built nice setup with it :)
 
I ran the install script on my Hosehead, and (foolishly) upgraded my whole Raspberry Pi. I hadn't done that since I bought my hosehead a year ago. It took about 20-30 minutes for everything to update.

Fortunately, after the upgrade, everything still works. I rebooted and VNC'd right back in. My Elsinore install still worked, and CraftPi started up automatically and was waiting for me to configure it.

I chose "yes" during the install for CraftPi to start automatically when my Pi boots up. How would I undo that? I'm thinking I want to start one or the other (SBE or craftpi), so I dont want either of them starting on boot up. I'm worried about having both servers running on brew day and overloading/crashing the Pi.
 
That sounds cool. I haven't expected that is will work.

To remove CBP from autostart you have to delete the following file:

/etc/init.d/craftbeerpiboot

I think it's a good idea to add a script to remove CBP from autostart.

To rerun the CBP setup just delete the craftbeerpi.db or delete all kettles and refresh the browser. Please make your that you also clear the browser cache.

Can use send me a picture of CBP running on Hosehead?

[email protected]

Cheers,
Manuel
 
Sure, here's a picture of CPB and SBE running on my hosehead. Let me know if you want any other screenshots.

I haven't fired up my heating element via CPB, but I've tested the pump because it uses the same 120v power that powers the hosehead. I expect everything would work, the probes and pump look good.

-SC

Screen Shot 2016-07-19 at 10.00.40 PM.jpg


Screen Shot 2016-07-19 at 10.01.23 PM.jpg
 
Back
Top