• 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.
Not at all. My keezer sports an ancient DVI monitor via a passive HDMI-DVI cable, my dev system occupies an HDMI input on my office HD TV. They both work pretty much the same: the screensaver blanks them, the PIR wakes them...

Cheers!
 
Yeah but some TVs have this stupid warm up cycle and I think that's what's bothering our friend here
 
Yeah but some TVs have this stupid warm up cycle and I think that's what's bothering our friend here

That might be me ;) (though clearly I'm not alone).

My keezer sits in my brewery and usually receives visitors about a half-dozen times a day. In between it just sits there, so I've been trying to solve the mysteries of achieving a low-power standby display state for my taplist, on and off since last fall. That was most of the point of the PIR sensor stuff.

But, DVI, HDMI, HDMI w/CEC, I've run into show-stoppers on both displays that I've yet to totally solve.

The HDTV's processor boot-up time is a whole 'nuther issue layered on top. If actually turning the TV totally off is the best that CEC can do, even if I could get the darned thing to turn back on AND switch focus to the Pi's HDMI port (<= the current show-stopper), imo there's not much point in using a PIR to turn it back on if it takes 10 seconds or more to light up. By that time my first pour will be half done...

Cheers!
 
Made a little progress over the weekend. Got Brewpi installed on my Pi, and it's working perfectly with Raspberry Pints so far. Relocated it to above my fermenting freezer in my garage, and now instead of a Tv to display my tap list, i'm using an old laptop I had sitting around (Thanks Drunkiejon!) I don't have the arduino or the relays just yet. Hit a snag in my plans when a major unexpected expense over the weekend pretty much cleaned out my bank account for the time being. Oh well, such is life. When payday rolls around, I'll be ordering the rest of the parts and finishing the Brewpi install.

I really have a love-hate relationship with technology. Right now, I'm loving it to death. Who woulda thought that so much could be done with so little, for minimal expense? Not to mention that all the fine people here help explain things so that even technologically illiterate people like myself can complete the task in just a few hours. Right now I'm eagerly awaiting version 2.0. The idea of monitoring keg volumes in real-time makes me drool a little bit. Haha

I like the idea of using the motion sensor to wake the Pi up when someone walks by, but since I'm now displaying on a laptop, has there been anyone here who uses the laptop's webcam to do the same thing? Is it even an option? If it's been covered already, I apologize, but this IS one massive thread...
 
This thread is a monster, and I am currently reading through it all, even if lots of it seems to be over my head...

Maybe someone can save my time, eyes, and sanity and let me know if I can run this from a mac without the RasPi

Tim
 
This thread is a monster, and I am currently reading through it all, even if lots of it seems to be over my head...

Maybe someone can save my time, eyes, and sanity and let me know if I can run this from a mac without the RasPi

Tim


I ran it on server2go on PC pretty easily to test. It's just a website so you shouldn't have any issues.


Sent from my iPhone using Home Brew
 
ok, so I am new to all this but tend to pick up pretty quick, guess what I am asking is can I create a Raspbain environment on my pc/mac maybe with a SD card, load Pints onto that and run it that way across my local wifi?

Tim
 
Easy way would probably be to have a virtual machine running on your computer (there are many free ones out there) and install raspian or an other linux distro on that and do it that way. Otherwise, I am sure you could get something similar enough to a LAMP stack running on a PC/Mac and install it that way. Will take more futzing around than I am currently interested in doing myself though.
 
I'm trying to change the font color for my Raspberry Pints tap list.
I opened up a LX terminal and changed to /var/www/. Then I have it list the files in that directory and I can see the style.css among other listed files.
My problem now is I can't open the style.css to see the Hex codes to change to font color.
I've been searching and can't seem to find that next step.
 
That file (like most of /var/www) is owned by www-data. If you logged in as the default Raspbian user you need to gain root privs by prefacing your edit command with "sudo".

Eg:

pi@rpidev /var/www $ sudo nano style.css

Cheers!
 
Thanks day_trippr.
I can now open that file and see what is going on.
I'll have to play around with it a little.
I have a back up saved in case I mess things up too bad.
 
If you guys find a solid way to get a motion detector setup with rpints PLEASE make a write up on it and I will test it step by step and if it works I will make a new section on our website called user addons and maybe develop packages users can install to add these functionalities!!


Page 80 of this thread, about halfway down (I bookmarked it, lol)
 
"html & css wizards, lend me your eyes!"

This is an R'Pints instance running on my dev system. It's been a slow work day so I've been playing with the css and html files and managed to get the Title header font larger without screwing up the rest of the headers (created an 'h0' style so I didn't have to recode all of the headers).

I know, "big whoop" ;)

Anyway, so now I'm trying to stick a png at the bottom on top of the background that shows the tap order to remove ambiguity for first-time visitors. Right now I just stuck a single line of html at the bottom of index.php:

<img style="position:absolute; left:400px" SRC="img/tap_numbers.png">

And the vertical positioning is perfect. But I want the image to stay in the center when the window scales, so I can't actually use absolute positioning.

Anyone have a good (and hopefully) terse way to make this happen?

Cheers!
 
"html & css wizards, lend me your eyes!"

This is an R'Pints instance running on my dev system. It's been a slow work day so I've been playing with the css and html files and managed to get the Title header font larger without screwing up the rest of the headers (created an 'h0' style so I didn't have to recode all of the headers).

I know, "big whoop" ;)

Anyway, so now I'm trying to stick a png at the bottom on top of the background that shows the tap order to remove ambiguity for first-time visitors. Right now I just stuck a single line of html at the bottom of index.php:

<img style="position:absolute; left:400px" SRC="img/tap_numbers.png">

And the vertical positioning is perfect. But I want the image to stay in the center when the window scales, so I can't actually use absolute positioning.

Anyone have a good (and hopefully) terse way to make this happen?

Cheers!
I think this should work:

Code:
<style type="text/css">
<!--
img.size{
    width:100%;
    height: auto;
}
-->
</style>

<img class="size" src="tap_numbers.png" alt="">
 
Hi beernutz!

After fixing a dropped double-quote it appears to do exactly what I was looking for!
Thanks a ton!

Cheers!

You're welcome, glad it helped.

I was thinking that you could also push image to the left if you needed to by adding something like this CSS, and adjusting the % value:
position:relative;
left:10%;
 
In that example, what is the "relative" object that the image "relates" to?
Anyway, I think the centering is just fine - it looks pretty good on my keezer - and thanks again!

One thing I noticed that's kinda interesting: if I grab the right edge of the browser window and drag it left, the whole page including that bottom image "shrinks" perfectly to maintain proportions. Otoh, if I use ctrl-- or ctrl-+ to contract/expand the page within fixed browser window bounds it seems the bottom image sets the width of the content and never scales while everything else on the page compresses or expands.

Probably something they explain in Web Pages 101 but I never took that course ;)

Cheers!

taplist.jpg
 
In that example, what is the "relative" object that the image "relates" to?
Anyway, I think the centering is just fine - it looks pretty good on my keezer - and thanks again!

One thing I noticed that's kinda interesting: if I grab the right edge of the browser window and drag it left, the whole page including that bottom image "shrinks" perfectly to maintain proportions. Otoh, if I use ctrl-- or ctrl-+ to contract/expand the page within fixed browser window bounds it seems the bottom image sets the width of the content and never scales while everything else on the page compresses or expands.

Probably something they explain in Web Pages 101 but I never took that course ;)

Cheers!

The taplist looks very nice!

Relative means relative to the "normal flow" which is where that element would be positioned without any CSS adjustment.

I believe ctrl++ (or ctrl+-) is doing a zoom of the text size whereas clicking and dragging the browser edge is doing a resize of the viewing dimensions. The former shouldn't affect scaling of images.
 
Day_tripper how did you get the tap numbers on the bottom of your screen? Id really like to add this to my system.

The tap number "ribbon" is a png image 2000x100 pixels in size that I created using white Times New Roman - Bold characters (36pt iirc) atop a transparent background, so the text floats on top of the R'Pints background. It does look pretty good for a complete hack job ;)

I put a copy of the png file on my Google Drive here so you can see what it looks like. If you aren't running 6 taps you'll need to either edit it or create your own.

Once you have the image file the rest is cake:

- stick your image in /var/www/img with the rest of the R'Pints images and make sure it's owned by www-data

- edit /var/www/index.php and add the following lines to the very bottom:


<style type="text/css">
<!--
img.size{
width:100%;
height:auto;
}
-->
</style>

<img class="size" src="img/tap_numbers.png" alt="">



Make sure the file name above matches up with your image file, and that the file you write out has the proper ownership (www-data) and you should be all set!
And thank beernutz! :D

Cheers!
 
The tap number "ribbon" is a png image 2000x100 pixels in size that I created using white Times New Roman - Bold characters (36pt iirc) atop a transparent background, so the text floats on top of the R'Pints background. It does look pretty good for a complete hack job ;)

I put a copy of the png file on my Google Drive here so you can see what it looks like. If you aren't running 6 taps you'll need to either edit it or create your own.

Once you have the image file the rest is cake:

- stick your image in /var/www/img with the rest of the R'Pints images and make sure it's owned by www-data

- edit /var/www/index.php and add the following lines to the very bottom:


<style type="text/css">
<!--
img.size{
width:100%;
height:auto;
}
-->
</style>

<img class="size" src="img/tap_numbers.png" alt="">



Make sure the file name above matches up with your image file, and that the file you write out has the proper ownership (www-data) and you should be all set!
And thank beernutz! :D

Cheers!

Thanks a bunch!
 
Is anyone else having a problem logging into the LAN of their Raspberry Pints? It seems that I loose contact on the LAN with it.

I haven't been able to detect a pattern at this time. Such as leaving the RaspberryPints alone for a day or more and not being able to log in or just throughout the day it seems I loose contact with the RaspberryPints.

My internet is with CenturyLink a 20MB, I have a Netgear ADSL2+ Modem DM111PSPv2, Netgear N600 Wireless Dual Band Router WNDR3400, and the USB WiFi adapter Edimax EW-7811Un.

Is the problem more of something to due with the system I have or could it be some bug in the programing from the way I set things up?
 
The only time I've had issues is using my iPhone and hitting the local IP address gives me a permissions/security error. If I hit the no-IP redirect it works fine. Only thing I've noticed.


Sent from somewhere to someone
 
I never lose touch with either of my Pi's, but I have read of folks who have had issues with that same wifi dongle I use. Sometimes resolved by using a different power source for the Pi, apparently...

Cheers!
 
I never lose touch with either of my Pi's, but I have read of folks who have had issues with that same wifi dongle I use. Sometimes resolved by using a different power source for the Pi, apparently...

Cheers!

I'm using the one recommended the Kootek 1500mA charger. I went out this AM and the dongle did not have the blue light blinking on it. Tried connecting with it from different computers and did not have any success. I have switched the dongle from the upper USB port to the lower one and it rebooted and is working like it should. The dongle was quite warm to the touch. I remember reading in this thread that some have had success using a 2A charger. I'll have to source one and see if that helps.

Thanks...
 
Is the dongle enclosed in some sort of box. It shouldn't be getting hot but may be experiencing some interference
 
Is the dongle enclosed in some sort of box. It shouldn't be getting hot but may be experiencing some interference

No, it's was sitting in a clear raspberry pi case. The top has been off of it for a while now because I have some wires hooked up to it.

This is listed a under the product description.
"Power Saving designed to support smart transmit power control and auto-idle state adjustment."
 
No, it's was sitting in a clear raspberry pi case. The top has been off of it for a while now because I have some wires hooked up to it.



This is listed a under the product description.

"Power Saving designed to support smart transmit power control and auto-idle state adjustment."


My pi was having connectivity issues as well. Turned out it was the pi entering the previously stated power saving mode. A few lines of code wound up disabling the power savings, and added another line to automatically ping my router after a pre-determined amount of time. I can't remember what those code lines were off the top of my head but since I have added them I have had zero troubles with my pi staying connected to my network. I'm on about day 9 now and haven't had to reboot my pi a single time. When I get home from work later I'll look up what i have added, it may help...


Sent from my iPhone using Home Brew
 
My pi was having connectivity issues as well. Turned out it was the pi entering the previously stated power saving mode. A few lines of code wound up disabling the power savings, and added another line to automatically ping my router after a pre-determined amount of time. I can't remember what those code lines were off the top of my head but since I have added them I have had zero troubles with my pi staying connected to my network. I'm on about day 9 now and haven't had to reboot my pi a single time. When I get home from work later I'll look up what i have added, it may help...


Sent from my iPhone using Home Brew

Thanks.

The power saving mode description is from the dongle.
 
Perfect solution for a new project now that I'm done with the last (chilled conical).
Already have a TV mounted above my taps!
Already have all the components except a spare SD card, and the Rpi and case.

Looks super cool!
TD


Sent from my iPad using Home Brew
 
Using the tutorial for runing this without a pi, installed Xampp, can get to the pints set up page, but I never set a password for the database, was never asked to, your set up form will not allow me to leave it blank either.

Any idea if Win8 has a default password for the database?

Tim
 
I set mine up without a password on the pi. Just enter Admin as the user and hit enter
 
Back
Top