• 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.
Is the raspberrypints the best place to get started for a new set-up?
The rapberrypints website is good for hooking up the equipment side of Rpints, but not the installation as its for an older Raspbian.

there are multiple posts about installation. The jest of it is run this from the terminal (it will install all the dependencies and Rpints)
curl -L install.rpints.com | sudo bash

the RandR+ version is updated with a more features, the original will not work on Buster, Tobors is the original but will work on Buster.

RandR+ version is not well documented yet, but everything is configured through the admin page, mostly the Tap page to get flow meters configured.
 
In the admin section, on the configuration page there is "Show Tap List Direction" option for vertical or horizontal, just click on horizontal
Hahaha, I kept going through all the code pages thinking I was missing it. Turns out it literally was the most simple thing. Thanks for the help!

Prost!
 
I recommend just running this from the terminal
curl -L install.rpints.com | sudo bash

that will run an install script that will guide you through the process and do all the installation for you. The original Rpints code wont work on Buster because php depreciated the calls used to access the database. during installation you will be prompted what version to install: mine (more features then the original), Tobor's (original that works on new Raspbian) or the original (wont work)

Okay I finally got everything installed using your version. I selected the wrong screen orientation. Any tips for rotating it 90 degrees?
 
rerun the installer, and select reconfigure pi, from there it will do the same prompts and you can correct the rotation

Thanks. I assume the default is vertical? I selected "rotate 90d clockwise" thinking it would put me in vertical but loaded horizontal.
 
Default is no rotation which is normal orientation for desktop.

Are you talking about everything is rotated (i.e. menu bar, terminal) or just Rpints has the tap list going left to right?

I'm trying to get everything to display vertically so that I can have my screen vertically on my wall. I've tried reinstalling/reconfiguring a few ways choosing different screen orientations but it doesn't seem to make a difference. Is this something I need to change in the Raspbian settings?
 
I'm trying to get everything to display vertically so that I can have my screen vertically on my wall. I've tried reinstalling/reconfiguring a few ways choosing different screen orientations but it doesn't seem to make a difference. Is this something I need to change in the Raspbian settings?

Got it figured out. Changed the orientation in the Raspbian display settings. Very new to this, sorry for silly questions
 
Hopefully my last question before I'm rolling. Since I'm only displaying 4 taps I have a lot of dead space on the screen. Can someone help me find where I can increase the text sizes on the TapList?
 
the text sizes on the TapList?
you can change the sizes in the styles.css file (under the Rpints directory)
if you add font-size:yypx (where yy is the font size you want) you will change the font size
it will be helpful to familiarize yourself with the developer tools in the web browser, they allow you to select elements and see their display styles and modify them for that session (i.e. refresh and they are reverted)
for example to make the beer name 70px change

table .name{
text-align: left;
vertical-align: middle;
padding: 5px;

}
to
table .name{
text-align: left;
vertical-align: middle;
padding: 5px;
font-size:70px;
}
 
I feel a bit silly asking this, but can someone tell me what to expect when a pour is being made? I've installed Rpints with flow meters and I have a crappy old meter lying around that I was using for testing. Everything appears to be working, I get a measured pour top right once my test is complete, but I was under the impression that the pour would show what beer was being poured as it happens? It's OK if it doesn't, I just don't know what to expect from the software.
I was running the original rpints from the website (no flow) for about a year now, installed on a 3B so took me a good few days to backward load different software to get it working, but all was good. Now I have added an Uno, and installed the Randr+ version with flow meters. The display no longer works properly with my old 4:3 monitor, but I can fix that with a new widescreen job soon.
So, is it possible for someone to post a few pix of what I should see and experience? Maybe a youtube link.
Love your work peeps!
 
I get a measured pour top right once my test is complete, but I was under the impression that the pour would show what beer was being poured as it happens
the only indication a pour is actively being made is in /var/log/rpints.log (or on the admin log screen), it will not show on the main page until the pour is complete.

Once the pour is complete the amount remaining in the keg will decrease and if you have it configured to show last pour you will see it in the upper right corner (which it sounds like you are seeing that) and if you have the last pours displayed you will see it below the tap list
1598097213677.png


the log will say got an update, user id, tap number and pulses until the flow stops then it will say got a pour will the same info
1598097373814.png
 
the only indication a pour is actively being made is in /var/log/rpints.log (or on the admin log screen), it will not show on the main page until the pour is complete.

Once the pour is complete the amount remaining in the keg will decrease and if you have it configured to show last pour you will see it in the upper right corner (which it sounds like you are seeing that) and if you have the last pours displayed you will see it below the tap list
View attachment 694975

the log will say got an update, user id, tap number and pulses until the flow stops then it will say got a pour will the same info
View attachment 694976

not entirely related, but I’ve also got that Ferocious IPA on tap. It’s the bomb.
 
the only indication a pour is actively being made is in /var/log/rpints.log (or on the admin log screen), it will not show on the main page until the pour is complete.

Excellent thanks RandR+, it appears that everything is working as expected then. Now all I have to sort out is a bit of styling (I noted that there was a 3rd style sheet in the rpints directory for a TV?) and some middle of the range flow-meters. I had toyed with the idea of the RFID to keep tabs on my buddies' alcohol intake, but with COVID lock down, that's no longer a priority.

Below is how I had my original set up. However, I can't seem to scale the current vers
rpints_1st_attempt.jpg
ion well enough for it to fit on that panel without scrolling. It's headless, so I'll look at another monitor I think. Which reminds me, if I turn off display pours, I lose the last pour as well (top right), is that how it is supposed to work? Wouldn't mind the last pour without the pour list, as that won't be visible without scrolling. I'll have a tinker...

And finally, to all you chaps who are taking their time to develop the code, respond to the multitude of questions, thanks. I flicked through dozens of pages, and the dedication and patience of all of you is amazing!

Cheers!
 
Does Cntrl-Minus not shrink the browser geometry?

Cheers!
It would, likely, but this is a headless unit. I really want it to boot and be just working. I remote in to update kegs, which is fine, but I don't want to do that every time I start it up. I'll grab a new monitor, that has better res than the old 17" 4:3 I currently have. :)

Again, thanks. Much appreciated.
 
No, I just committed the fix so now Last pour will show even if the pour list is not
That's awesome. I better finish my family responsibilities and then get this loaded.

I saw three style sheets in there, two can be accessed via the gui, not sure what the 3rd is. But there should be enough info in there for me to get something sorted.
style-aftv.css
style-high-res.css
style.css

Cheers!
 
Hah! "the old 17" 4:3" is exactly what I've used for years :D
Cheers!

Looks awesome, what resolution is that running? My LG only has 1280 x 1024, and I'm not getting the scaling I would like to keep the 4 taps on screen. I have a feeling that this is also something to do with the Pi's resolution which altered somewhat after the initial install.
 
OK, got it sorted, was a bit of the old Pi settings having been altered at some point. I think that was during the install of Rpints. in the end, I changed the /boot/config.txt and forced a HDMI mode that worked for my existing display.

I located the Pi page for video settings here: Video options in config.txt - Raspberry Pi Documentation

My monitor, as above supports 1280 x 1024, so that was

hdmi_group=2
hdmi_mode=35

I also rotated it to get back to my previous display config.

display_rotate=1

I'm going to play with the beer name text, because it's a bit small on my monitor, but everything else is looking the goods.

Thanks for posting your setup, the pictures speak a thousand words as they say.
 
FYI I just committed a change that adds a calibrate button on the tap list for those that use flowmeters that allow you to enter the amount of the last pour and it will update the count per gallon/liter. really only useful when starting up or changing flowmeters but removes manual math
1598291159493.png
 
Thanks RandR+, if/when I reinstall, these last few commits are going to make it a piece of Pi. I found something else whilst I was fiddling, the shutdown and reboot buttons are reversed on my install. As in, if I click shutdown, it reboots, and if I click reboot it shuts down. Originally I thought there was something wrong with my Pi not being able to cleanly reboot, but then I went to shut it down another time and it rebooted.
Cheers!
 
the shutdown and reboot buttons are reversed on my install.
Right you are, I just committed the fix. Rerun the installer and hit upgrade or go to the admin install page, I have a Get Latest RPints button there that will update from GitHub, though the button is newer it should work. either option you choose make sure you manually backup first
 
@RandR+ it looks like I'm hitting a memory error viewing my temperature probe logs. PHP exits with the error
Code:
[Mon Sep 07 15:38:27.965902 2020] [php7:error] [pid 3534] [client 10.0.1.10:52770] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16785408 bytes) in /var/www/html/admin/includes/managers/manager.php on line 157, referer: http://10.0.1.31/admin/admin.php
but I don't understand as the memory it's trying to allocate is less than what PHP is allowed.

Have you seen this before? I'll poke around some more and see if I can figure it out.
 
Back
Top