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

    Homebrewing Facebook Group

[Initial 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.
That is correct. It saves the info the first time and will not change. I figured out that if I 'kick keg' that will at least allow me to get the correct info in if I'm changing tap info.

So I just downloaded the latest release which I assume has both updates in it and "cleared" the DB and blew away all the original source files. I installed it fresh and it seems to be auto populating the fields in the My Taps menu.

I am not sure what causes this issue but I am certain there's a bug in there somewhere. I will try to be conscious of my steps as I go through populating my info and see if I can pinpoint it.
 
I started fresh....

When the LAMP Stack is going in, during the package configuration, when the script get to configuring phpmyadmin it asks:

"Configure database for phpmyadmin with dbconfig-common?" y/n

I don't see this covered in the installation information, so is it a YES?
 
I started fresh....

When the LAMP Stack is going in, during the package configuration, when the script get to configuring phpmyadmin it asks:

"Configure database for phpmyadmin with dbconfig-common?" y/n

I don't see this covered in the installation information, so is it a YES?

Correct, There's no need to have custom config on that so choose YES.
 
Thanks guys
I still have to play around and figure out why browser bar is still showing, more reading
Cheers
Paul

20140227_171044.jpg
 
I got it up and running! This software is awesome! Great work Development Team.
I am blown away by how cool this is!

For those of you undertaking this install:
1) I don't reccomend starting at 10:30pm w/ 3-4 pints your belly
2) Carefully check off each step
3) You will succeed.

Now it is time to starting knocking holes in drywall and getting it mounted up permanently.

My first issue stemmed from me downloading the wrong file from github last night. I downloaded RaspberryPints-master.zip. Once I got the current hotfix I was golden.
 
I started fresh....

When the LAMP Stack is going in, during the package configuration, when the script get to configuring phpmyadmin it asks:

"Configure database for phpmyadmin with dbconfig-common?" y/n

I don't see this covered in the installation information, so is it a YES?

Yes. And I probably spent more time mulling this one over than any other part of the installation. Would be a good thing to add to the installation notes...

Cheers!
 
Also in a previous reply I had a asked about why my kegs weren't showing up in the drop down when adding taps and informed me which status' were eligible for tapping. I had it set to serving and that is not one of the eligible ones but in your SAMPLE DATA that gets loaded, ALL the kegs in the tap list are defined as keg #1. When I looked at the keg list, the number 1 keg is defined as SERVING, which is why I went that route. Because you replied, I know what the right ones are but since people may use the sample data as a guide to setting up their own, maybe you could update the sample data to reflect actual configurations.

Thanks again for all the continued support, you guys definitely rock!

"SERVING" is set to change to "TAPPED" or "ON TAP" in a future release. We might also add "READY TO TAP" or somesuch as well.

However, this requires a database schema update, so we're working on building a system that will allow us to push these updates with minimal user pain.
 
So when I entered my beer into the list, the ABV that is displayed on the screen is much different than what I have in BeerSmith. I even punched my numbers into several online calculators and the results I get are consistent with what I was expecting and in BeerSmith.

It almost seems like what is displayed on RP as ABV may actually be ABW?

I did not see any options to display ABW or ABV and the screen clearly states ABV.

Thoughts?

Edit: Nevermind, either my math was wrong, something I did changed the result or after my redeployment of the latest version, it seems to be correct now. Please disregard. :)

FWIW, we use Bradley Smith's (programmer of BeerSmith) provided calculation of (OG-FG)*131.
 
Short Version: I cannot gain access to my RaspberryPints Admin page. Assuming my username is "Pi" the password I entered during the configuration process isn't being accepted. How do I get around this, I have tried the recovery button but I am not understanding the process and starting to feel pretty dumb....


Long version:
I cannot log in to my admin page. When I click "Your Logo Here" It takes me to the RaspberryPints Login. I cannot successfully log in.

What is the default user name? Pi? Was I prompted to create a username? When I click Forgot Username, I am prompted to enter my e-mail. I have done so and hit the submit button and the next screen says "You Username Is"
then there is text below that acts as a button and says "Go back To Login"
I tried a blank user name, Pi, pi, and my e-mail but no luck.

When I try to enter a password that might go with any of the above I am entering the one I was was prompted to create as I went through the set up.
When I try the forgotten password button, it prompts me to enter my e-mail and enter a NEW Password. Nothing works: I do not get an e-mail nor does any NEW password I type get me to the admin page.

Do I just need to wipe this install and start fresh?

You selected your admin account name.

If you know your MySQL username (default: root) and password, you can log in to PhpMyAdmin, open the raspberrypints database and view the users table. It'll show your username in cleartext.

Wiping the files won't do anything, because the database doesn't exist in /var/www.
 
So can I simply re download the the latest version of Raspberry Pi and start over from there or do I need to wipe my Pi and start from scratch because I cannot figure out my username/password combo!

You can change your password there, too. Make sure you pick "MD5" as the datatype when entering it.

Alternatively, visit the /install/index.php page and select "Clear Data" to nuke the database. Then, return to the same page to re-setup the database.
 
I got it up and running! This software is awesome! Great work Development Team.
I am blown away by how cool this is!

For those of you undertaking this install:
1) I don't reccomend starting at 10:30pm w/ 3-4 pints your belly
2) Carefully check off each step
3) You will succeed.

Now it is time to starting knocking holes in drywall and getting it mounted up permanently.

My first issue stemmed from me downloading the wrong file from github last night. I downloaded RaspberryPints-master.zip. Once I got the current hotfix I was golden.

We roll all hotfixes into master, then generate the release from there.

In other words, master will always contain the most recent version with all hotfixes applies. There should be no functional difference between master and the most recent release version, other than you can always go back in time with releases and not master.

Clear as mud?
 
Thadius-
Back in the initial thread as you gauged interest in this project from us you shared this link:

http://thadius856.servebeer.com/

so that we could see your live Raspberry Pi running Raspberry Pints. Can you or someone here lay out the additional steps necessary for others to copy that functionality? I would love to share my tap list with my friends.

Thanks for all the work on this! Your efforts are very much appreciated. My wife keeps walking by the list and staring at it and saying how cool it is!
 
Can you or someone here lay out the additional steps necessary for others to copy that functionality? I would love to share my tap list with my friends.

This is done with the magic of dynamic DNS. You sign up for a free account with a service like No-IP. A service that lets you use a URL is called a DNS and is basically just a phone-book for your internet connection's public IP address. You sign up with a DNS host like No-IP and they point a URL at your internet router's public port. No-IP has a lot of great and professionally written documentation on this process, by the way. Now anytime someone hits your URL the packets from their computer are directed to your IP... travel to your home... and hit your router - only to be blocked.

To let those packets through, set up port forwarding in your router. You say to your router, "Hey man. I really appreciate your keeping me safe, but all that traffic coming in on port 80? Yeah. I need you to pass that on to my Raspberry Pi at such and such internal IP address (like 192.168.0.101 or similar)."

Suddently, you got to reallygoodbeer.servebeer.com and it directs to your house. Your router is all like, "Fine. You're on the list. Go over there to get where you need to be."

The dynamic part of that 'dynamic DNS' is the caveat. ISPs like to rotate your public IP address from time to time. Nearly every router out there support integration with dynamic DNS services to get around this. You go into your router and enter your no-ip account info. Now, every time your router gets a new public IP, it contacts no-ip and tells them to update their phone book.

Bam. Internet accessible tap list. Make sure that admin password is secure ;)
 
Its a cool idea, but to sell anything (even at-cost like a by buy), we'd have to remove ourselves from HBT or buy a sponsor membership.

Off the shelf parts are the way to go when not trying to make a buck, like us.
 
Back in the initial thread as you gauged interest in this project from us you shared this link:

http://thadius856.servebeer.com/

so that we could see your live Raspberry Pi running Raspberry Pints. Can you or someone here lay out the additional steps necessary for others to copy that functionality? I would love to share my tap list with my friends.

This works great for showing how the Admin system works but on my computer I can only see a couple of the taps on the main screen and cannot scroll. I think its' because the system uses Chromium in the kiosk mode. That and the display on Thadius system is set for portrait and my computer screen is set at the default landscape.

There might be a way to set it up just using Chromium without the kiosk mode but that is above my pay grade.
 
Have you guys looked at doing something similar to the kegbot and having an individual component for each flow meter. Something like this http://chrisbrooker.ca/index.php/using-arduino-raspberry-pi-and-android-to-monitor-your-home/ should be able to handle the flow meters are inexpensive and it looks like it talks to the raspberrypi directly and wirelessly.

At the moment, the plan is to have the flowmeters attached to an arduino board that can use the gipo on the pi.

Kerber has done some testing and I have one (soon to be two) flow meters hooked up for testing as well and we're getting good response from them to the raspberry pi.

Part of the reasoning to go directly to the pi as opposed to another board or device is the location of the pi. Most people are putting the pi and monitor where the kegs are.

Also, with an additional board added on top of the arduino layer, we have the possibility of adding something like 64 additional items (I think that was the number) so you could have separate flow monitors, temp sensors, rfid readers and solenoids for each tap. the possibilities are almost endless.

There's also the cost factor of having a board designed and etched that makes it more economical to use a premade board like the Alamode for interfacing with the pi.
 
This is done with the magic of dynamic DNS. You sign up for a free account with a service like No-IP. A service that lets you use a URL is called a DNS and is basically just a phone-book for your internet connection's public IP address. You sign up with a DNS host like No-IP and they point a URL at your internet router's public port. No-IP has a lot of great and professionally written documentation on this process, by the way. Now anytime someone hits your URL the packets from their computer are directed to your IP... travel to your home... and hit your router - only to be blocked.

To let those packets through, set up port forwarding in your router. You say to your router, "Hey man. I really appreciate your keeping me safe, but all that traffic coming in on port 80? Yeah. I need you to pass that on to my Raspberry Pi at such and such internal IP address (like 192.168.0.101 or similar).

Suddently, you got to reallygoodbeer.servebeer.com and it directs to your house. Your router is all like, "Fine. You're on the list. Go over there to get where you need to be."

The dynamic part of that 'dynamic DNS' is the caveat. ISPs like to rotate your public IP address from time to time. Nearly every router out there support integration with dynamic DNS services to get around this. You go into your router and enter your no-ip account info. Now, every time your router gets a new public IP, it contacts no-ip and tells them to update their phone book.

Bam. Internet accessible tap list. Make sure that admin password is secure ;)

Perfect. I liked the why's and commentary in addition to the hows!
So, it's just three steps:

1) Get a URL through a free service that is dynamic
2) Set up Port Forwarding on my router and restrict the port(s) and protocols to just those needed for viewing Raspberry Pints (much like setting up voice coms for gaming etc.)
3) Update my router with the account info from my dynamic DNS service

Having the Raspberry Pi already set up on a static IP per the instructions really helps this along! Realize that I just exposed my little Pi to the whole world so the password and security must be up to snuff!
 
Perfect. I liked the why's and commentary in addition to the hows!
So, it's just three steps:

1) Get a URL through a free service that is dynamic
2) Set up Port Forwarding on my router and restrict the port(s) and protocols to just those needed for viewing Raspberry Pints (much like setting up voice coms for gaming etc.)
3) Update my router with the account info from my dynamic DNS service

Having the Raspberry Pi already set up on a static IP per the instructions really helps this along! Realize that I just exposed my little Pi to the whole world so the password and security must be up to snuff!

Close. #1 and #2 are correct. In the case of No-IP, it would be:

1) Sign up for a No-IP account (free).

2) Set port forwarding on your router. I wouldn't bother with L7 stateful packet inspection, if that's where you're going, as it's solely HTTP traffic. Forwarding incoming port 80 should suggice.

3) Install the update client (sudo apt-get install noip2). It checks to make sure your IP is up-to-date in the No-IP servers and sends a new one when it's not.

DynDNS is a popular alternative.
 
There's also the cost factor of having a board designed and etched that makes it more economical to use a premade board like the Alamode for interfacing with the pi.

This.

Custom boards don't start to get into the realm of reasonable prices until you're ordering 50-100+ boards at a time.

And then you still have to solder.
 
Close. #1 and #2 are correct. In the case of No-IP, it would be:

1) Sign up for a No-IP account (free).

2) Set port forwarding on your router. I wouldn't bother with L7 stateful packet inspection, if that's where you're going, as it's solely HTTP traffic. Forwarding incoming port 80 should suggice.

3) Install the update client (sudo apt-get install noip2). It checks to make sure your IP is up-to-date in the No-IP servers and sends a new one when it's not.

DynDNS is a popular alternative.

This is a perfectly valid alternative for those whose routers don't support No-IP or DynDNS(an alternative). In this case, it's your Raspberry Pi that's checking if your public IP has changed and letting the service know to update their list.
 
Ok. So I figured out the webcam was using port 80. I changed the port forwarding to 8888 (used to use this with dyndns). I can't seem to get it to work with no-ip. I used mybeer.no-ip.biz:8888 but it says it is unable to load. Is there anything else I need to do on the raspberry pi end?

Also, I tried the sudo apt-get install noip2, but it said there was no package to install. I can access the page from my internal network on different computers. Any thoughts?

Thanks!
 
Ok. So I figured out the webcam was using port 80. I changed the port forwarding to 8888 (used to use this with dyndns). I can't seem to get it to work with no-ip. I used mybeer.no-ip.biz:8888 but it says it is unable to load. Is there anything else I need to do on the raspberry pi end?

Also, I tried the sudo apt-get install noip2, but it said there was no package to install. I can access the page from my internal network on different computers. Any thoughts?

Thanks!

Let's see... Do you mean that you have your webcam (on the RPi) set to broadcast at port 80? If so and you can access it in your network at RPi_IP:8888, I imagine it's a forwarder setting. Some routers allow you to set certain external port to forward to different ports internally. Do you have external:8888 pointing to RPi:8888?

If the above isn't your issue, give us some more specifics and we'll see what we can do. There are so many variables out there that, without a lot of info on your case, bugs are impossible to reproduce.
 
Let's see... Do you mean that you have your webcam (on the RPi) set to broadcast at port 80? If so and you can access it in your network at RPi_IP:8888, I imagine it's a forwarder setting. Some routers allow you to set certain external port to forward to different ports internally. Do you have external:8888 pointing to RPi:8888?

If the above isn't your issue, give us some more specifics and we'll see what we can do. There are so many variables out there that, without a lot of info on your case, bugs are impossible to reproduce.

My webcam is a stand alone wifi camera (DLink). It is set up on port 80, so I can't use that for the pi. I went in to my router and changed the port forwarding for port 8888 to the server ip for the pi.

Port Forwarding.jpg
 
My webcam is a stand alone wifi camera (DLink). It is set up on port 80, so I can't use that for the pi. I went in to my router and changed the port forwarding for port 8888 to the server ip for the pi.

As long as you want that webcam to have your external:80, you're going to have to do some extra work. I assume your router's only option is to forward a port to an IP and nothing more? If that's the case, then traffic is hitting port 8888 on it's public IP and directing it to RPi:8888. Apache, like any webserver only listens on port 80 by default. Without configuring Apache to listen on port 8888, the packets fall on deaf ears.

Some googling should turn up how to configure Apache to listen on multiple ports.
 
Back
Top