• 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.
One more question. So I’m trying to get my background image to fit the tap list screen. I’ve tried changing the file size of the image and then uploading, but no matter what I change the size of the image to, it still enlarged it on the actual tap list and cuts the image off. Is there a way to do this? Thanks
 
Is there a way to do this?
You may need to play around with the styles.css file
These lines deal with the background.
1613240508875.png


without seeing the issue I cant tell you what the styles need to be, you can post your background image here and I can see how it behaves on my setup.
 
You may need to play around with the styles.css file
These lines deal with the background.
View attachment 718421

without seeing the issue I cant tell you what the styles need to be, you can post your background image here and I can see how it behaves on my setup.
I’ll have to get the actual image off my computer later, but as you can see in this picture, the image is too big for the screen. About 1/3 of the image is cut off. (Unless I had more than 3 taps, then it would scroll to the bottom of the image I’m assuming) hope that clarifies a bit.
 

Attachments

  • DE6EBB31-BC9C-4748-BD01-0E5E74DC551F.jpeg
    DE6EBB31-BC9C-4748-BD01-0E5E74DC551F.jpeg
    3.5 MB
Have a new issue...but... I did work out all my own stupid wiring gremlins to get all 4 of my taps to send flow data and value opening...problem is...it only works for the taps page....If I use RFID....it opens and closes the valves almost right away...maybe .25 to .5 seconds on.....here is the log info....any help would be great. Thanks.

This is a failure using the RFID...
2021-02-13 15:52:54 RPINTS: listening to Arduino
2021-02-13 15:52:54 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-02-13 15:52:54 RPINTS: RFID Reader RFID-default is Running
2021-02-13 15:52:54 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-02-13 15:52:58 RPINTS: RFID 14820525131189 User Id 2
2021-02-13 15:52:59 RPINTS: Sending Status;Y;2;0;0;0;0;0;|
2021-02-13 15:52:59 RPINTS: RFID:2
2021-02-13 15:52:59 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-02-13 15:52:59 RPINTS: alive
2021-02-13 15:52:59 RPINTS: Arduino was restarted, restart flowmonitor
2021-02-13 15:52:59 RPINTS: closing serial connection to Arduino...
2021-02-13 15:53:00 RPINTS: flowmonitor aborted, restarting...
2021-02-13 15:53:00 RPINTS: resetting Arduino
2021-02-13 15:53:00 RPINTS: Creating Serial Listener
2021-02-13 15:53:01 RPINTS: waiting for Arduino to come alive
2021-02-13 15:53:04 RPINTS: Arduino alive...
2021-02-13 15:53:04 RPINTS: getting config data for Arduino
2021-02-13 15:53:04 RPINTS: Arduino config, about to send: C:4:4:7:8:2:1:0:6:12:11:10:300:400:30:250:0:1:1|
2021-02-13 15:53:04 RPINTS: Waiting for Config Response
2021-02-13 15:53:04 RPINTS: Arduino says: C:4:4:7:8:2:1:0:6:12:11:10:300:400:30:250:0:1:1|

This is a success using the taps page and clicking "let it flow"

2021-02-13 15:54:22 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-02-13 15:54:35 RPINTS: reconfigure trigger: valve
2021-02-13 15:54:35 RPINTS: updating valve status from db
2021-02-13 15:54:35 RPINTS: valve update: RPU:VALVE:1=1
2021-02-13 15:54:36 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:39 RPINTS: got a update: U;-1;7;251
2021-02-13 15:54:39 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:41 RPINTS: got a update: U;-1;7;502
2021-02-13 15:54:41 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:42 RPINTS: got a update: U;-1;7;753
2021-02-13 15:54:42 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:44 RPINTS: got a update: U;-1;7;1004
2021-02-13 15:54:44 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:45 RPINTS: got a update: U;-1;7;1255
2021-02-13 15:54:46 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:47 RPINTS: got a update: U;-1;7;1506
2021-02-13 15:54:47 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:48 RPINTS: got a pour: P;-1;7;1621
Pourpour on pin: 7, count: 1621, conversion: 21865, amount: 0.074136748227761, amountUnit: oz, user: N/A
PHP Notice: Undefined variable: amountUnit in /var/www/html/admin/includes/managers/pour_manager.php on line 255
2021-02-13 15:54:49 RPINTS: count update: RPU:FLOW:7=1621:-1
2021-02-13 15:54:49 RPINTS: RT L 7 1 31104 30803 301 300 1621 400
2021-02-13 15:54:49 RPINTS: SD NP L 7 1 31104 30803 301 300 0 400
2021-02-13 15:54:50 RPINTS: Sending Status;N;-1;0;0;1;0;0;|
2021-02-13 15:54:56 RPINTS: reconfigure trigger: valve
2021-02-13 15:54:56 RPINTS: updating valve status from db
2021-02-13 15:54:56 RPINTS: valve update: RPU:VALVE:1=0
2021-02-13 15:54:56 RPINTS: Sending Status;N;-1;0;0;0;0;0;|
2021-02-13 15:54:56 RPINTS: alive
2021-02-13 15:54:56 RPINTS: Arduino was restarted, restart flowmonitor
2021-02-13 15:54:56 RPINTS: closing serial connection to Arduino...
2021-02-13 15:54:58 RPINTS: flowmonitor aborted, restarting...
2021-02-13 15:54:58 RPINTS: resetting Arduino
2021-02-13 15:54:58 RPINTS: Creating Serial Listener
2021-02-13 15:54:59 RPINTS: waiting for Arduino to come alive
2021-02-13 15:55:01 RPINTS: Arduino alive...
2021-02-13 15:55:01 RPINTS: getting config data for Arduino
2021-02-13 15:55:02 RPINTS: Arduino config, about to send: C:4:4:7:8:2:1:0:6:12:11:10:300:400:30:250:0:1:1|
2021-02-13 15:55:02 RPINTS: Waiting for Config Response
2021-02-13 15:55:02 RPINTS: Arduino says: C:4:4:7:8:2:1:0:6:12:11:10:300:400:30:250:0:1:1|



This is a success using the tap page... and selecting "let it flow"
 
Last edited:
If I use RFID....it opens and closes the valves almost right away...maybe .25 to .5 seconds on.....here is the log info....any help would be great. Thanks.
...
2021-02-13 15:44:07 RPINTS: alive
The problem is that the Arduino restarts right after the RFID is scanned. This closes all the valves.

I suspect a power dump opening the valves is draining the power to the Arduino which is causing it to restart. I would power the valves separately then the Arduino to help prevent this.

You can see if that is the case by unplugging the valves power, scanning RFID and then looking in the log to see if there is an Alive message after the RFID scan.

I had a similar but different issue. My valves would open, as I started pouring the beer non pouring taps would close, but when I was done pouring and the last valve closed the Arduino would restart. I unplugged the valves to test and it didn't happen. Now they are plugged in and its not happening. I suspect I had/have a loose wire
 
You may need to play around with the styles.css file
These lines deal with the background.
View attachment 718421

without seeing the issue I cant tell you what the styles need to be, you can post your background image here and I can see how it behaves on my setup.
I tried changing in file manager and saving, that didn’t work. I know you had said to get into styles.css via the terminal and sent me the command, but I’m not sure what my installation path was and var/www/html didn’t work. How can I find my installation path?
 
The problem is that the Arduino restarts right after the RFID is scanned. This closes all the valves.

I thought the exact same :)

I suspect a power dump opening the valves is draining the power to the Arduino which is causing it to restart. I would power the valves separately then the Arduino to help prevent this.[...]

Definitely good - and in this case, necessary advice. Anything with a coil can throw an inductive sag. We usually get away with the tiny relays hanging off Arduino boards, but a solenoid is a much bigger beast...

Cheers!
 
How can I find my installation path?
The installation path is just the path to where the files are located. if you can get to the style.css from the explorer or a text editor the directory path of that file is the installation path.

The address bar of the explorer will give you the path if you can see the file
1613258837369.png
 
The installation path is just the path to where the files are located. if you can get to the style.css from the explorer or a text editor the directory path of that file is the installation path.

The address bar of the explorer will give you the path if you can see the file
View attachment 718475
Clearly, I’m not doing something right here.
 
I’m not doing something right here.
you said you found the file in the file manager, if so then the path where that file is the installation path.

One thing to remember with Linux based operating systems is that you need / infront of the path when changing to a new directory
so in the terminal you need to type (for example)
cd /var/www/html
 
you said you found the file in the file manager, if so then the path where that file is the installation path.

One thing to remember with Linux based operating systems is that you need / infront of the path when changing to a new directory
so in the terminal you need to type (for example)
cd /var/www/html
So I wasn’t fully understanding how to open the text editor...but I did finally get what you were saying, apologies. However, when I got in there, it appears that changing it to contain in the file manager also changed it in text editor. Problem is, it didn’t change the image at all.
 
So I wasn’t fully understanding how to open the text editor...but I did finally get what you were saying, apologies. However, when I got in there, it appears that changing it to contain in the file manager also changed it in text editor. Problem is, it didn’t change the image at all.
 

Attachments

  • 6C32B207-1931-4BE6-96E4-F63ACAB7742A.jpeg
    6C32B207-1931-4BE6-96E4-F63ACAB7742A.jpeg
    4.1 MB
Problem is, it didn’t change the image at all.
it sounds like you changes are saved, did you refresh the webpage after the changes were made?

Without the file itself it will be hard to tell you what to change. there are developer tools built into the browser but that may be a little advanced for you
 
it sounds like you changes are saved, did you refresh the webpage after the changes were made?

Without the file itself it will be hard to tell you what to change. there are developer tools built into the browser but that may be a little advanced for you
Yes. Refreshed page, logged out and back in a few times, rebooted pi a few times. Image is the same still. I’m 100% sure developer tools would be too advanced for me haha. Guess I’ll chalk it up to a loss. I appreciate all the help along the way though.
 
Guess I’ll chalk it up to a loss. I appreciate all the help along the way though.
one thing you could try is to shrink the image then add blank space under it to trick the browser to display the image itself and cut off the unwanted blank space
 
one thing you could try is to shrink the image then add blank space under it to trick the browser to display the image itself and cut off the unwanted blank space
I’ll give it a shot. Another thing I just noticed is that I don’t have the 3 tabs that I used to have (one was reboot) on the Home Screen of my page anymore. It’s just welcome message.
 

Attachments

  • 6B372B76-28C6-4061-AD74-14DA2E0EBDA8.png
    6B372B76-28C6-4061-AD74-14DA2E0EBDA8.png
    683.7 KB
Another thing I just noticed is that I don’t have the 3 tabs that I used to have (one was reboot) on the Home Screen of my page anymore. It’s just welcome message.
Those only display if you have flowmeters configured because they use python to perform the tasks
 
Those only display if you have flowmeters configured because they use python to perform the tasks
So I just changed the image to a different one to see if it would cut it off too, logged out, rebooted pi, logged back in and it didn’t change the image, it’s still on the old image. When I logged back in it shows the background image saved to the new one.
 

Attachments

  • 9735E215-7287-474A-812A-D90F003D0EB8.jpeg
    9735E215-7287-474A-812A-D90F003D0EB8.jpeg
    3.2 MB
  • 3E99D85B-DF6E-4A86-A766-334D942FD065.jpeg
    3E99D85B-DF6E-4A86-A766-334D942FD065.jpeg
    1.7 MB
When I logged back in it shows the background image saved to the new one.
well thats odd, if you navigate to your install path then open the img folder the background.jpg should be the image RPints is using.

Im thinking the browsers cache is causing the old one to be used. I believe that control + F5 or shift + F5 will cause the browser to ignore cache and reload the page
 
well thats odd, if you navigate to your install path then open the img folder the background.jpg should be the image RPints is using.

Im thinking the browsers cache is causing the old one to be used. I believe that control + F5 or shift + F5 will cause the browser to ignore cache and reload the page
The background.jpg image in the install path is the default black image. Crtl +f5 did what you said and changed it to the new image, although it still loaded with the old image.
 
Crtl +f5 did what you said and changed it to the new image, although it still loaded with the old image.
thats odd it should load the image file img/background.jpg can you try from a different computer/phone that hasnt connected to your RPints yet?
 
thats odd it should load the image file img/background.jpg can you try from a different computer/phone that hasnt connected to your RPints yet?
Loads old image when I go on my phone. I have 4 html folders, not sure why, but none of them show the old image when I click background.jpg, 1 of those 4 folders is empty.
 

Attachments

  • image.jpg
    image.jpg
    4.7 MB
thats odd it should load the image file img/background.jpg can you try from a different computer/phone that hasnt connected to your RPints yet?
Edit: I just rebooted and it has the new image on screen, but if I use cover, the image is too big like the old one. If I change to contain, it takes up about half the screen so it’s too small. I’m assuming this is an issue with the actual images themselves. Though I’ve tried changing their file size to no avail.
 
I have 4 html folders, not sure why, but none of them show the old image when I click background.jpg, 1 of those 4 folders is empty.
A new HTML folder is made when you reinstall or update as a precaution.

Though I’ve tried changing their file size to no avail.
it may not have to do with the size of the file, its more likely the size of the web page components displaying them. there may not be a way to get a perfect fit without a lot of changes to the style.css
 
A new HTML folder is made when you reinstall or update as a precaution.


it may not have to do with the size of the file, its more likely the size of the web page components displaying them. there may not be a way to get a perfect fit without a lot of changes to the style.css
Finally was able to get this (almost) right! Had to download an image converter and convert the image to PNG, then resize it with a different app made for that. Just have some minor tweaks left, thanks again for all the help!
 

Attachments

  • 16474A5C-35DC-4907-9CEB-C726ADBA4F57.jpeg
    16474A5C-35DC-4907-9CEB-C726ADBA4F57.jpeg
    1.9 MB
I’ve successfully changed some of the font color. Anywhere with an html code i changed. Some of the lines just have “white” as the color in the line, will changing that to an html color code work?
 
Ok so lets see here, I've been trying to use the YF-S401E flow meters but getting a lot of foam. I had them mounted as close to the keg as possible (where the 2cm hose is in this pic)
IMG_20210217_193155.jpg


but I was getting a load of foam, here are 2 pours to show the difference!
With flow meter:


Without flow meter:


As you can see it's a huge difference, so I bought a bunch of loadcells and started printing the bottoms from this project Callwater/Beerkeg-load-cell to switch to weight instead.
So here's my questions, on the config page the pins are called "Command pin" and "Response pin" but the hx711 uses DT (data) and SCK (clock) so what goes where?
Second question is "Scale ratio", I'm guessing that it to tare or calibrate the load cells but I never found any information what to put there?

Thanks in advance and thanks for doing a great job with the software!
 
Back
Top