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

    Homebrewing Facebook Group

[Version 2 Release] RaspberryPints - Digital Taplist Solution

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Just an update, inserted the verticle2 renamed and have attached a picture.
It scrolls to next page, I think it has 6 taps on the page, just adding one to see if that's true. But it looks very neat.

IMG_20240128_103500.jpg
 
I've now received the ds18b20 waterproof sensors and have attached it to the raspberry pi 4 gpio4, 3.3V and pull up resistor in place.
Enabled one wire using raspi-config rebooted and can see the sensor in
/sys/bus/w1/devices/28-******

But in advanced hardware in pints it's not being seen.
Tried another probe and the same outcome. Is this because I didn't select using temp during installation?
Can I add a few now? Without installing.
 
Just to be sure, did you expand the upper part of the Temperature Probes page and click the enables?

1706416289684.png


If they don't immediately show after that, you might try restarting the flowmonitor service, as I believe pretty much everything that gets to the Gui goes through it...

Cheers!
 
AHH, hadn't noticed the check box at the top. Clicking on that has done it. Now have a temp sensor on keg in the top of fridge and another on keg in bottom of fridge.
Brilliant.
 
Just installed Rpints after losing it a couple of years ago. The work you guys did to make install so much easier is fantastic. Thank you for that effort.

I have run into two issues: Even though I chose Yes in the command prompt for auto start, It is not auto launching and I end up having to go into chromium and type in the address. It works but I have all of those rows at the top - Raspberry pi bar, chromium folder tab and then web address bar. Did I do something wrong? Is there an easy way to fix that .
2nd was is there an "autofit" where everything scales to the size of the screen? I am finding I have to really zoom out in chromium to fit the taplist in the window. Lastly, if I decide to change the monitor to a vertical orientation vs landscape, is there a setting in rpints or do I have to do some coding?

Thanks again for all the great work!
@day_trippr @RandR+
 
Last edited:
Did I do something wrong? Is there an easy way to fix that
what version of Raspberry OS did you install? It is possible that the configuration requirement changed.
It sounds like you are not using full screen mode, F11 makes it full screen

2nd was is there an "autofit" where everything scales to the size of the screen?
Things are sized standardly in RPints, you can remove information you dont want to see on the home screen through the customize tap screen option in the Admin page
vertical orientation vs landscape, is there a setting in rpints or do I have to do some coding?
There is an option in RPints to have the information in vertical columns or in horizontal rows so you can fit it to your monitor. These is also in the customize tap screen as the Show Tap List Direction option
 
I believe the version is Bullseye as I chose the Legacy with Desktop and Software download link. I found the f11 - thanks for that. As far as the orientation I wanted to keep the horizontal row style set up but was contemplating having my monitor rotated to fit more lines. similar to the picture. Thanks again for all of the help.
 

Attachments

  • pints-display-640x1024-3714084033.png
    pints-display-640x1024-3714084033.png
    1.1 MB
can you check if chromium is in the text file /home/pi/.config/lxsession/LXDE-pi/autostart

if that file doesnt exist check /etc/xdg/lxsession/LXDE-pi/autostart

if you dont see chromium add this to the end of the file

@chromium --kiosk localhost
 
I couldn't find the first line. I already have a pi so I named this one rpints but did not see a .config directory. I did find the second and that line is there. I assume there is supposed to be a space between the chromium and -- correct?
 
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
 
Back
Top