[Version 2 Release] RaspberryPints - Digital Taplist Solution

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.
Ah, yes, the seemingly ever changing LXDE autostart location catches another victim :)
I swear it keeps bouncing around - I even have a list of the different locations just to track them down quicker...

Cheers!
 
An easy way to install RaspberryPints is using my script by running the following through the terminal on the pi
curl -L https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints | sudo bash

It will prompt which version you want to use (mine, Tobor's, or the original which doesn't work on the latest raspbian) along with other options that deal with installing
Does anyone have instruction on how to set this all-up Parts ect using the above script
 
Last edited:
how to set this all-up Parts ect
it pretty much walks you through all parts of the setup, prompting you what you want to install (flowmeters, valves, temperature probes, etc)

For the most part accepting the defaults will get you a webpage only RPints (no equipment as those default to Not install)
If you have any questions on a specific input question you can ask on this forum

The only thing it doesnt cover is setting up your system (number of taps, beer, layout and the Pins used by the equipment.)
That is all done through the admin screen (add /admin to the base Url)
For flow meters and valves that needs to be done using the Taps Admin screen there is a checkbox to show the details and setup the pins.
For other equipment they each have their own screen under Advanced Hardware

I dont think there was ever a guide put together for my version besides bits of pieces here and there on this forum.
I did start a guide locally but never took the time to finish it.
 
Hi all, first post, exhausted reader... after seeing a RaspberryPints install on Facebook, I wanted something like that for my 4 tap series X kegerator... I ended up on raspberrypints.com and wasted a weekend trying to make it work on bullseye. I knew basic pi and learned a lot in those two days of failing. so not a complete loss, But I am glad I found this thread and got much further along.

Now as I am still experimenting I have been using bits I had floating around including a 7" pi touch screen, which would be a nice size to put on my series X. As Raspberry pint was not intended for the smaller resolution I wondered how it looked but really it's not too bad. (note the temporary screen stand is of a well known building block to get an idea of scale as I no fresh bananas)


IMG_20240226_182527458_MP.jpg


While not a must but would be nice if the top header could be made less in height. So the beer names show up (which are just off screen now). Or potentially scale the SRM and Bitterness graphics slightly. Any ideas where to look.
 
I did some font tweaking on the original RaspberryPints and most of the changes were to the style.css file sitting in the same root folder as the (main) index.php file. I did have to create a new header class back then as well to split some references but that was for my own preferences.

The @RandR+ version also utilizes a style.css as well as a style-aftv.css and a style-high-res.css presumably to accommodate different display types but I'd start by looking at style.css...

Cheers!
 
top header could be made less in height
the headercenter CSS in styles.css controls the height with the font tag, i believe the default is 3em you probably want to change that to a specific pixel count
you can also change the text under personalize in the admin menu

1708964780530.png
 
It'll certainly do the job - and then some! An RPi4 with 4GB or more can actually run a pretty decent desktop.
Cooling can be an issue though so an active heat sink might be required...

Cheers!
 
I believe @RensM was referring to the original RaspberryPints, given he referenced the original website url.
The last OS version that original kit worked with was Stretch, iirc...

Cheers!
Indeed.... I started off and failed with the original :) Much more success with the @RandR+version.

Flow meters and Arduino uno arrived today, so more playing to do before moving to integration soon (depending on results)
 
So I connected the Arduino uno on USB did a fresh install with the "curl -L install.rpint.com | sudo bash" said i'm using flow meters and using USB to communicate.
Now am I right in understanding this will also push the right sketch into the arduino and the Taps pin selection corresponds to the digital pins of the Arduino. As I see no input yet, i stuck a random number of pulses per liter in as I don't know the exact number yet, I was hoping to at least see something registering. (testing with one flow meter at the moment but should end up with 4)
 
Yes, the install should load the Python sketch that performs the flow metering function - and a whole lot more (pretty much everything outside of the core display support routes through flowmonitor.py now).

I think you need to flip a switch in the gui to Use Flow Meters.
Check everywhere :) - but especially under Personalization.

Cheers!
 
As I see no input yet
try running this command from the terminal
sudo /etc/init.d/flowmon status

should get something like this
1709084245390.png


next check /var/log/rpints.log
if nothing useful, go to /var/www/html/Python/Config.py
on the lines that have .debug on them change False#True to just True
then run
sudo /etc/init.d/flowmon restart
and check /var/log/rpints.log again
 
Interesting. fwiw, this is what I get from the status command. I think it's because I have a handful of ds18b20 sensors configured in...

Code:
pi@raspi9:~ $ sudo /etc/init.d/flowmon status
* flowmon.service - LSB: Put a short description of the service here
     Loaded: loaded (/etc/init.d/flowmon; generated)
     Active: active (running) since Sun 2024-01-28 00:04:25 EST; 1 months 0 days ago
       Docs: man:systemd-sysv-generator(8)
    Process: 829 ExecStart=/etc/init.d/flowmon start (code=exited, status=0/SUCCESS)
      Tasks: 8 (limit: 1595)
        CPU: 23h 56min 22.892s
     CGroup: /system.slice/flowmon.service
             `-863 /usr/bin/python /var/www/html/rpints/python/PintDispatch.py

Jan 28 00:04:25 raspi9 systemd[1]: Starting LSB: Put a short description of the service here...
Jan 28 00:04:25 raspi9 flowmon[829]: Starting system RPFlowMon daemon:.
Jan 28 00:04:25 raspi9 systemd[1]: Started LSB: Put a short description of the service here.
Jan 28 00:04:40 raspi9 sudo[1148]:     root : PWD=/var/www/html/rpints/python/ws ; USER=root ; COMMAND=/usr/sbin/modprobe w1-gpio
Jan 28 00:04:40 raspi9 sudo[1148]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Jan 28 00:04:40 raspi9 sudo[1148]: pam_unix(sudo:session): session closed for user root
Jan 28 00:04:41 raspi9 sudo[1151]:     root : PWD=/var/www/html/rpints/python/ws ; USER=root ; COMMAND=/usr/sbin/modprobe w1-therm
Jan 28 00:04:41 raspi9 sudo[1151]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Jan 28 00:04:41 raspi9 sudo[1151]: pam_unix(sudo:session): session closed for user root
pi@raspi9:~ $
 
try running this command from the terminal
sudo /etc/init.d/flowmon status

should get something like thisView attachment 842813

next check /var/log/rpints.log
if nothing useful, go to /var/www/html/Python/Config.py
on the lines that have .debug on them change False#True to just True
then run
sudo /etc/init.d/flowmon restart
and check /var/log/rpints.log again
Running sudo /etc/init.d/flowmon status works and gives:
1709100175376.png


the rpint log contains an error relating to the Arduino:

RPINTS: reflashing Arduino failed, moving on anyways, error was: Command '/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -patmega328p -calamode -P/dev/ttyACM0 -b115200 -D -Uflash:w:/var/www/h>
2024-02-28 18:44:53.

I tried loading the sketch manually through IDE and that loaded but still get the same error after reboot (different time stamp so not latched)
 
IDE and that loaded but still get the same erro
Thats a problem. Make sure you the Arduino is plugged into the USB and powered on.

If i remember right, another user had an issue where the USB port number would change so instead of using ttyACM0 they had to use ttyACM1

So when uploading through the IDE make sure the correct USB port is select (it may only show ports that the arduino is connected to, but I am not sure as I use the alamode board that sits on the GPIO)

Once you get the sketch uploaded things should start working, even if the rpint log says it failed the arduino should still be running.

If that keeps happening and you dont want to see the error in the logs you can "change" the sketch (add a space, remove space, save) the logic for upload skips trying if the sketch has a newer timestamp because it assumes you manually edited the sketch and didnt replace the hex file in /var/www/html/arduino/raspberrypints
 
Thats a problem. Make sure you the Arduino is plugged into the USB and powered on.

If i remember right, another user had an issue where the USB port number would change so instead of using ttyACM0 they had to use ttyACM1

So when uploading through the IDE make sure the correct USB port is select (it may only show ports that the arduino is connected to, but I am not sure as I use the alamode board that sits on the GPIO)

Once you get the sketch uploaded things should start working, even if the rpint log says it failed the arduino should still be running.

If that keeps happening and you dont want to see the error in the logs you can "change" the sketch (add a space, remove space, save) the logic for upload skips trying if the sketch has a newer timestamp because it assumes you manually edited the sketch and didnt replace the hex file in /var/www/html/arduino/raspberrypints
Got is sorted it was a Arduino board issue, replacement board, no other changes other than a fresh install fixed it.
Now i just have to hone in on pulse count. I stuck a random number in and a 500ml poor now registers as 1.2l so some trial and error needed unless someone has a pulse counting script floating around :)
 
Log in to the Admin page, then go to the Basic Setup - Taps page. There you'll find extensive "Settings+" behind its button at the top, and to the right of the page you'll see each tap has a Calibrate button. You should be able to use the Calibration page to figure out the best value for your meters.

If you had SwissFlow SF800 meters I'd just say set the "Count Per Gallon" value to 21888 :)

Cheers!
 
500ml poor now registers as 1.2l
As day_trippr said use the calibrate button it will take the last pour and let you adjust to the actual volume to the actual volume you poured, it will then figure out the pulses per unit of measure, hit save and you should be good to go for that tap.

Then you can copy that value to the other taps with that setup.


My taps page as an example

1709265027789.png
 
@RensM
Calibrate as advised above.
You don't have to do it with beer.
A PET bottle and carb cap connected to the beer line with the flow meter in works well.
I weighed the liquid after it had gone in the cup to correlate with the counts.
Which flow meter are you using?
 
I have a Pi Zero W that I was thinking about using for this at my taps. Will there be enough needed horsepower in the zero to run this and possibly 6 flow meters? I have not decided on a flowmeter yet but what are the best/easiest to setup within the software?
 
I don't know about the @RandR+ kit but when the "classic" kit was first released I ran it on a single core 512KB SOC Model B and it was really doggy compared to the dual-core 2B I quickly upgraded to - which worked great and still does! I recommend at least a dual-core model...

Cheers!
 
I'm a huge proponent of recycling tech where possible, but honestly the Zero should be put out to pasture in virtually every instance. For not much money the Zero W 2 is a massive upgrade in almost every way. With the Zero, even if RPints runs, it will be nowhere near as responsive as you'd like it to be.
 
I have a Pi Zero W that I was thinking about using for this at my taps. Will there be enough needed horsepower in the zero to run this and possibly 6 flow meters? I have not decided on a flowmeter yet but what are the best/easiest to setup within the software?
I was testing with a Pi zero and had the software running during test but only using one tap at a time (would not really happen any other way in my home setup) was planning on using the zero w but as it does not drive the display i had in mind ended up using the pi 3B i also had. I did note when telling the raspberry imager you have a pi zero w it won't run chromium due to memory. During testing though I suck my pi3 SD card in the Pi zero w and chromium started fine at the time.
 
Finally managed to get it all stuck together and running now as I like it.

Just need to bring my beer stock back up so I don't have 2 empty taps.
 

Attachments

  • IMG_20240307_093825256.jpg
    IMG_20240307_093825256.jpg
    176.8 KB · Views: 0
  • IMG_20240307_100013604.jpg
    IMG_20240307_100013604.jpg
    223.2 KB · Views: 0
  • IMG_20240307_101740728.jpg
    IMG_20240307_101740728.jpg
    221.2 KB · Views: 0
  • IMG_20240315_134851993.jpg
    IMG_20240315_134851993.jpg
    191.8 KB · Views: 0
@RensM
Looks good can you post link for the flowmeters you are using please? Mine are no good as they make the beer / water taste of nasty plastic. Even though they are meant to be for water flow and coolers.
 
Put a new keg on tap today and despite all my kegs being corny style and all entered in the system as such, for some reason the image is different any ideas why?

1712117001145.png


all are 5 Gal ball lock
1712117081124.png
 
for some reason the image is different any ideas why?
Looking at my logic in the view, only keg types that start with corn or contain firestone will display the corny keg image. So WilliamsWarn make will show normal keg
 
So everything was good UNTIL I decided to update the beers I have on tap from the default ones. How do I get the information in the correct location? I thought I saw something about this in the first 70 pages I flipped through before installing but no idea where I saw it.



Screen Shot 2024-04-06 at 11.08.01 AM.png
 
First list your beers in the beer "database" then select the beer from the "database" in the taps part for each tap, all done though the admin portal/login
Worked like a charm. Thanks. I think I did the order wrong so I deleted all that info and started over.
 
Untappd account lately? The only item I could find was the Brewery ID.
i set that feature up years ago

It looks like Untappd stopped allowing new apps to access their API meaning no new RPints instances can use untappd.
for more information see https://untappd.com/api/dashboard

Shame it took a bit to get that feature working with RFID so you could see who was drinking what and auto check in the drink
 
i set that feature up years ago

It looks like Untappd stopped allowing new apps to access their API meaning no new RPints instances can use untappd.
for more information see https://untappd.com/api/dashboard

Shame it took a bit to get that feature working with RFID so you could see who was drinking what and auto check in the drink
That’s the way I was reading the Untappd page also. Just wasn’t sure USMC I was missing something.

Thanks for all your work on this. Coming from someone who hasn’t coded since MSDOS in middle school you made this seemingly daunting task simple.
 
Back
Top