[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.
So, I worked on getting the RaspberryPints installed and setup, but I never could find the right image. After several days wasted, I found taplist.io which is a free server. I still use my Rasperry to run the display, but all my stuff is managed through taplist.io Here is what mine looks like:
IMG_5421.JPG
 
Love those tap handles!

Yeah I had to buy a second set after I tried to force the insert into #2,3,& 4. It’s like working with glass. They just shattered! Didn’t want to Epoxy in an oversized hole. After securing a 37/64” bit, they brass inserts went in really smooth. Tks
 
Is anyone able to please provide a quick run-through / installations instructions for installing RPints on Stretch? Not interested in flow meters at this stage. Can't go with Jessie as Stretch is needed. I've tried a few times but can never make it work properly. I know there is issues with the php5 etc. and that other people have updates git repos but I just can't get one working.
Thanks.
 
Is anyone able to please provide a quick run-through / installations instructions for installing RPints on Stretch? Not interested in flow meters at this stage. Can't go with Jessie as Stretch is needed. I've tried a few times but can never make it work properly. I know there is issues with the php5 etc. and that other people have updates git repos but I just can't get one working.
Thanks.

Try running this Script on the pi:
https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints
simply download it to the pi and run
# i.e. "chmod +x installRaspberryPints"
# i.e. "sudo ./installRaspberryPints"

Ive made some updates to it in the past month that should make it work on the latest Stretch version
 
WoW! Easiest install to date. Only thing I noticed was the "ABV" not showing/populating. Tks for the script...

ABV is shown be the glass icons by default, the more the glass is full the higher ABV, there is a setting called Show ABV Images: that if it is that is Off the number value is shown
 
OG seems to have gone missing along with the ABV. Is that a row height issue?
I don't think there are settings to control displaying those...

Cheers!
 
OG seems to have gone missing along with the ABV. Is that a row height issue?
I don't think there are settings to control displaying those...

Cheers!

Good eye, In my version I tried to make everything configurable so people didn't need to mess with PHP. For OG the setting is Show OG Value and I also require it to be not 0 to display, just my preference not to show 0 O.G. since I don't think that is helpful

The install script does prompt the user what GitHub repository to use, but recommends mine since it works with Stretch and I am trying to keep it updated.
 
Ah, ok, extra configurable switches are alway a good thing imo.
And I really have to thank you for this work and providing a viable path forward. :mug:
When I get a chance I'll give it a try with a fresh Stretch install, in case I ever decide to upgrade my working machines for some reason...

Cheers!
 
Just a quick update on the RPints Keg Volume Kalculator (KVK Mod), all the coding is done, just doing a few install dry runs and road testing before doing a write up. Should have something up by the end of the week.
 
I have a feeling that this is going to be a fairly dumb question...but what's the point of the alamode board for integrating with RP's GPIO and are there any better alternatives for the RP3?

Essentially, I was gifted a RP3 a while back and I'm comfortable with LAMP stacks and *nix administration but I'm a bit out of my comfort zone when it comes to the hardware side of things -- Also, the raspberrypints site seems a bit outdated for it's instructions (links don't work, etc)

Anyway, I was going to get these flow meters (3):
https://www.amazon.com/dp/B07JWD4C46/?tag=skimlinks_replacement-20

...and this alamode board
https://www.amazon.com/dp/B01CSFVY68/?tag=skimlinks_replacement-20


...not really looking for hand-holding but just want to make sure I'm not setting myself up to fail from the get-go and my google-fu failed me when trying to search for the answers against the 96 pages of this thread.


Thanks!


-Jordan
 
I have a feeling that this is going to be a fairly dumb question...but what's the point of the alamode board for integrating with RP's GPIO and are there any better alternatives for the RP3?

The Alamode shield - or a generic Uno* if one prefers - captures the pulses from the flow meters, determines a tick count, then generates a very terse "pour" message containing the pin number and count and sends it to the port listener running on the RPi which captures the pour message, formats it and stuffs it in the database.

Because the original design was intended to scale (quite a bit - the plan was to use a Centipede shield atop the Arduino to expand the flow meter capability up to at least 64 meters) and allowed for simultaneous pours, the ability of an RPi running a generic OS to keep up with the meter ticks was deemed unlikely to be very robust and couldn't scale as easily.

[...]Also, the raspberrypints site seems a bit outdated for it's instructions (links don't work, etc)

Yes, we're aware. The original team moved on, and then Raspbian.org riffed through a couple of subsequent OS package releases which had various effects, but this thread has served to keep the concept alive for many years now :)

* Unless you have a desire for vertical packaging you'll save quite a bit of $$ going with an Uno R3 instead of an Alamode...

Cheers!
 
How about these flowmeters for half the price? http://rover.ebay.com/rover/1/711-5...0001&campid=5338413729&icep_item=262704070815 I am waiting to hear back from John at Brewskey as he was going to order and test these a year ago.

I'm obviously not going to have any personal experience with either...but I happened to notice that many flow meters on amazon and ebay ended in S402 (XXX-S402) and since those have a model number of XXX-S401 I think it's a pretty safe bet that they'll works just fine as well.

Based on product specs/descriptions, it looks like the main difference is that the S402 can track a slightly higher flow rate of 10L/min instead of 6L/min...again, I'm making assumptions without any real basis but I think it's a pretty reasonable assumption
.

The Alamode shield - or a generic Uno* if one prefers - captures the pulses from the flow meters, determines a tick count, then generates a very terse "pour" message containing the pin number and count and sends it to the port listener running on the RPi which captures the pour message, formats it and stuffs it in the database.

Because the original design was intended to scale (quite a bit - the plan was to use a Centipede shield atop the Arduino to expand the flow meter capability up to at least 64 meters) and allowed for simultaneous pours, the ability of an RPi running a generic OS to keep up with the meter ticks was deemed unlikely to be very robust and couldn't scale as easily.



Yes, we're aware. The original team moved on, and then Raspbian.org riffed through a couple of subsequent OS package releases which had various effects, but this thread has served to keep the concept alive for many years now :)

* Unless you have a desire for vertical packaging you'll save quite a bit of $$ going with an Uno R3 instead of an Alamode...

Cheers!

That's a great response and covered everything I needed to know. I really appreciate it!
 
I'm obviously not going to have any personal experience with either...but I happened to notice that many flow meters on amazon and ebay ended in S402 (XXX-S402) and since those have a model number of XXX-S401 I think it's a pretty safe bet that they'll works just fine as well.

Based on product specs/descriptions, it looks like the main difference is that the S402 can track a slightly higher flow rate of 10L/min instead of 6L/min...again, I'm making assumptions without any real basis but I think it's a pretty reasonable assumption

That's a great response and covered everything I needed to know. I really appreciate it!

I purchased the YS-S402 off dx.com some time ago and installed 4 of them in my system. I did drill the opening to match on both sides and changed the pulse count, but I haven't dialed it in yet. When I originally installed them, I based the pulse count on a small, known quantity of water (16 ounces) and ran it through multiple times until I figured out what I thought the pulse count should be. Fast forward almost a year and a half later and I've finally installed them. Now that they are actually in use, I'm finding my pulse count is off. A 16 ounce pour only registers around 11-12 ounces.

Other than that, they work great for the money - it's just a matter of getting them dialed in.
 
I'm running into some issues getting LAMP installed when using:

sudo apt-get -y install apache2 php5 mysql-client mysql-server php5-mysql phpmyadmin

I get the error that package php5 and php5-mysql are unavailable and do not have installation candidates. From what I am reading on other forums is that php5 isn't supported anymore so it will not install. Is there a way to get php5 otherwise or can I use the more recent version without issues? Any help would be much appreciated, I am trying to get this operational by next weekend. Thanks!

php5 is boring these days and php7.0 is in..

Code:
apt-get -y install mysql-server php7.0-cgi php7.0-mysql
 
So I apologize ahead of time if this has been covered.
I set up my raspberry pints last year and have not made any updates or really turned it on since the initial set up. Now that I am ready to get it up and running in my basement I cannot access my tap list or the admin page. I keep receiving an error message explaining "Site can't be reached"
ERR_ADDRESS_UNREACHABLE.
Has anyone run into this issue
 
So I apologize ahead of time if this has been covered.
I set up my raspberry pints last year and have not made any updates or really turned it on since the initial set up. Now that I am ready to get it up and running in my basement I cannot access my tap list or the admin page. I keep receiving an error message explaining "Site can't be reached"
ERR_ADDRESS_UNREACHABLE.
Has anyone run into this issue
Did you assign a static IP address when you did the initial setup? It's likely it has changed if not.
 
It did change. Does this happen alot? I'm not very tech savvy
Yeah, your router has a client lease time, which is how long each client "leases" that IP address for.

Setting a static IP prevents that from changing but it's always advisable to either do that on the router end or choose an IP outside of the DHCP lease range to prevent conflicts.

Alternatively you can just update the IP address you use to access it in your browser whenever it changes.

Cheers,

Kal
 
A static IP is advisable for any machine that never moves, imo, but there is an alternative called "DHCP Address Reservation" that many routers support. Basically you leave the machine (RPi in this case) using DHCP but you tell the router to always give a specific IP address to that device based on its MAC address and never to any other device (hence the "reservation" part)...

Cheers!
 
A static IP is advisable for any machine that never moves, imo, but there is an alternative called "DHCP Address Reservation" that many routers support. Basically you leave the machine (RPi in this case) using DHCP but you tell the router to always give a specific IP address to that device based on its MAC address and never to any other device (hence the "reservation" part)...

Cheers!
DHCP address reservation at the router and DHCP on all the clients is definitely my preferred choice, no mess no fuss!
 
Wow, working this until 3am your BF is one lucky guy, you'll have to invite him here once you give him his present so he can see the effort you put into it!

For tap images, look for these lines in your index.php file:
PHP:
                        <?php if($config[ConfigNames::ShowTapNumCol]){ ?>
                            <th class="tap-num">
                                TAP<br>#
                            </th>
                        <?php } ?>

Around line 111 on a virgin index.php file so may be slightly different on a modified one, and change to this:
PHP:
                         <?php if($config[ConfigNames::ShowTapNumCol]){ ?>
                             <td class="tap-num">
                                 <img src="img/tap/<?php echo $i; ?>-tap.png" alt=""></a>
                             </td>
                         <?php } ?>
Then at the bottom of your index.php file look for these lines:
PHP:
                          <?php if($config[ConfigNames::ShowTapNumCol]){ ?>
                              <td class="tap-num">
                                  <span class="tapcircle"><?php echo $i; ?></span>
                              </td>
                          <?php } ?>
Then change them to match what you entered at the top:
PHP:
                         <?php if($config[ConfigNames::ShowTapNumCol]){ ?>
                             <td class="tap-num">
                                 <img src="img/tap/<?php echo $i; ?>-tap.png" alt=""></a>
                             </td>
                         <?php } ?>
Then put your image files into a new directory: /img/tap/ using the naming convention "1-tap.png", "2-tap.png", etc like this:

View attachment 549907
Let me know if you get stuck (which I doubt you will if you've already got the Beersmith images up).

Cheers,

Kal

I tried this setup and it did not work.
What could have been my mistake?
 
I've been watching this thread for sometime now and finally decided to try and create my taplist. At least for now, I'm going without the flow meters. Unfortunately, I am FAR from a programmer so I am totally lost. Can someone walk me through how to set RaspberryPints up without flow meters or at least point me to an existing resource? I found the directions on the raspberry pints website but considering it hasn't been updated for a few years, I imagine some things may have changed. If it helps at all, I am currently using this Pi. https://www.amazon.com/gp/product/B01CD5VC92/?tag=skimlinks_replacement-20 Let me know if you need any more information.
 
Can someone walk me through how to set RaspberryPints up without flow meters or at least point me to an existing resource? .

Do you have Raspbian Stretch installed? If not follow https://www.raspberrypi.org/documentation/installation/installing-images/ to install

After that Try running this Script on the pi:
https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints
simply download it to the pi and run the following commands from Bash
chmod +x installRaspberryPints
sudo ./installRaspberryPints

it will prompt you what you want to install, like flowmeters.

If you have trouble, PM me and I will help you out the best I can
 
I need help installing and configuring the Arduino Uno and flowmeters. I tried to follow some steps that I found here but it did not work.
 
Do you have Raspbian Stretch installed? If not follow https://www.raspberrypi.org/documentation/installation/installing-images/ to install

After that Try running this Script on the pi:
https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints
simply download it to the pi and run the following commands from Bash
chmod +x installRaspberryPints
sudo ./installRaspberryPints

it will prompt you what you want to install, like flowmeters.

If you have trouble, PM me and I will help you out the best I can

Thank you! I've been fighting the flu lately but will definitely try this once I feel better. I'll report back with any questions.
 
I need help installing and configuring the Arduino Uno and flowmeters. I tried to follow some steps that I found here but it did not work.

Could you relate what OS release you're using and what you've done that works so far?
Did you install the version 2.0.1 of the RaspberryPints kit?
Do you have the full RaspberryPints gui up and running and just need to get the flow meters working?

How much of the flow meter installation have you attempted/completed? Package installations? Post-package install configuration?
Are you using an actual Uno or an Alamode? Did you edit the .ino file to match your wiring?
Have you successfully loaded the .ino files via the Arduino IDE?

Cheers!
 
@day_trippr, post: 8472170, member: 81618"]Could you relate what OS release you're using and what you've done that works so far?
JESSIE.

Did you install the version 2.0.1 of the RaspberryPints kit?
YES.

Do you have the full RaspberryPints gui up and running and just need to get the flow meters working?

RaspberryPints working correctly, I just need to configure flow meters.

How much of the flow meter installation have you attempted/completed? Package installations? Post-package install configuration?

I got doubt about this question
The UNO is from this port: '/ dev / ttyUSB0'

Are you using an actual Uno or an Alamode? Did you edit the .ino file to match your wiring?
Have you successfully loaded the .ino files via the Arduino IDE?

I edited the .ino file and loaded successfully. But it did not work.
 
Last edited:
Ok, all great info that provides needed context.

If you haven't, please take a look at my post here, particularly wrt using an UNO instead of an Alamode:

==================================================================================

If using an Uno instead of AlaMode

Do not perform the AlaMode support installation in Step 6 of the raspberrypints installation procedure. Skip Step 6 entirely.

The Python port "listener" needs to know what device to monitor for "pour" messages.
The default setting is to listen for TTYS0, while an Uno connected via USB will typically show up as TTYACM0.

Edit /var/www/html/python/flow_monitor.py
Find these lines:

#The following line is for serial over GPIO
port = '/dev/ttyS0'
#The following line is for serial over USB
#port = '/dev/ttyACM0'

Add a comment # in front of the ttyS0 line and remove same from the ttyACM0 line.


If using an Uno CLONE instead of AlaMode

Do not perform the AlaMode support installation in Step 6 of the raspberrypints installation procedure. Skip Step 6 entirely.

Again, the Python port "listener" needs to know what device to monitor for "pour" messages.
The default setting is to listen for TTYS0, while an Uno Clone connected via USB will typically show up as TTYUSB0
I believe this is due to clones using a CH340 USB/serial bridge chip instead of the Mega16U2 used on "genuine" Arduino Uno boards.

Edit /var/www/html/python/flow_monitor.py
Find these lines:

#The following line is for serial over GPIO
port = '/dev/ttyS0'
#The following line is for serial over USB
#port = '/dev/ttyACM0'

Add a comment # in front of the ttyS0 line and remove same from the ttyACM0 line.
Then change /dev/ttyACM0 to /dev/ttyUSB0.

==================================================================================

Let us know if this moves you forward!

Cheers!
 
Back
Top