• 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.
Ok so my display just seems to only show the freezer probe and doesn't show the fridge probe. I thought with the dates etc it would switch between them both after each refresh?
 
I thought with the dates etc it would switch between them both after each refresh
the latest update to Rpints is to save all probes with the same date, based on what you said it looks like it is only reading one probe that is connected, even in the database 28-0114532943aa was only inserted 1 time and that was 8 minutes before 28-011929e4f50c was.

The code only looks for sys/bus/w1/devices/28* directories and read the w1_slave file in them to get the temp probes reading, if there isn't a w1_slave file in the directory or the file isn't being updated with new temps then the display will be wrong
 
the latest update to Rpints is to save all probes with the same date, based on what you said it looks like it is only reading one probe that is connected, even in the database 28-0114532943aa was only inserted 1 time and that was 8 minutes before 28-011929e4f50c was.

The code only looks for sys/bus/w1/devices/28* directories and read the w1_slave file in them to get the temp probes reading, if there isn't a w1_slave file in the directory or the file isn't being updated with new temps then the display will be wrong
There are 2x 28* directories and each one of them has a w1_slave file in them. For what reason could only the freezer temp be displayed but when I disconnect it the fridge one works fine?
 
There are 2x 28* directories and each one of them has a w1_slave file in them. For what reason could only the freezer temp be displayed but when I disconnect it the fridge one works fine?
Can you check the voltage on the probes when they are both connected and when one is connected? Maybe there is a voltage drop that is causing the issue
 
Can you check the voltage on the probes when they are both connected and when one is connected? Maybe there is a voltage drop that is causing the issue
I will check that thanks or the tip. But if that was the issue wouldn't one of them not work at all? They both worked until I did the latest update. (Although I know thats not the reason they are now not working)

EDIT- voltage is steady at 3v3 with both probes connected. I disconnected the GND on the freezer probe and rebooted and fridge probe works fine so both probes are woking fine just not together.
 
Last edited:
fridge probe works fine so both probes are woking fine just not together.
are there any errors in /var/log/rpints.log?

We can try to add some logging to /python/FlowMonitor.py to see whats going on in the logic
line 717 add
log(probeName +" Got Temp-" + (str(temp))

restart flowmon service and check /var/log/rpints.log for Got Temp

if both are printing valid numbers then we need to see what the insert statement is doing
in /python/PinDispatch.py
after line 346 add
log("Returned " + str(result) + " from insertLogSql)
restart flowmon service and check log
 
Apologies if this has already been asked. I am an absolute beginner at this, but have just installed Raspberry Pints on my pi. Have changed the background image but it would be handy if I could alter the font colour of the writing so it shows up a bit better against the new background. Is this possible? Thanks.
 
font colour of the writing so it shows up a bit better against the new background. Is this possible?
you need to modify the style.css file in the root of the installation location (i.e. /var/www/html). search for " color:" (without quotes).
Most of the text is color: white so you can change white to the color you want.

By default you don't have permission to edit the file so you either need to give yourself permission (open a terminal at the root of the installation directory and give the command: sudo chmod +777 style.css) or use your favorite terminal text editor (i.e. vim, nano) with sudo infront of the command (i.e. sudo vim styles.css)
 
you need to modify the style.css file in the root of the installation location (i.e. /var/www/html). search for " color:" (without quotes).
Most of the text is color: white so you can change white to the color you want.

By default you don't have permission to edit the file so you either need to give yourself permission (open a terminal at the root of the installation directory and give the command: sudo chmod +777 style.css) or use your favorite terminal text editor (i.e. vim, nano) with sudo infront of the command (i.e. sudo vim styles.css)
Ok, I will attempt this...first, as raspberry pints automatically loads up when I switch the pi on, how do I get back out to the home page to open a terminal etc. (Like I said a total beginner at this!)
 
Finally got my temperature probe Ds18b20 in the mail today. Is it possible to install it to the arduino or does it have to go directly to the raspberry pi?
 
are there any errors in /var/log/rpints.log?

We can try to add some logging to /python/FlowMonitor.py to see whats going on in the logic
line 717 add
log(probeName +" Got Temp-" + (str(temp))

restart flowmon service and check /var/log/rpints.log for Got Temp

if both are printing valid numbers then we need to see what the insert statement is doing
in /python/PinDispatch.py
after line 346 add
log("Returned " + str(result) + " from insertLogSql)
restart flowmon service and check log


Ok after adding the above to line 17 the rpints.log shows this.

Traceback (most recent call last):
File "/var/www/html/python/PintDispatch.py", line 18, in <module>
from FlowMonitor import FlowMonitor
File "/var/www/html/python/FlowMonitor.py", line 720
if temp != None and temp >= self.bound_lo and temp <= self.bound_hi:
^
SyntaxError: invalid syntax

Then I added the line after 346 in Pindispatch.py and I get this in the log

File "/var/www/html/python/PintDispatch.py", line 347
log("Returned " + str(result) + " from insertLogSql)
^
SyntaxError: EOL while scanning string literal
 
Apologies if this has already been asked. I am an absolute beginner at this, but have just installed Raspberry Pints on my pi. Have changed the background image but it would be handy if I could alter the font colour of the writing so it shows up a bit better against the new background. Is this possible? Thanks.
Try changing these lines in your css file and note the difference. (Your lines might be slightly different numbers but will be the similar.)

style.css file
Line 106
h1 {
margin: 0;
font: Georgia;
color: #de6b32;
}
line 448
table thead th{
min-height:35px;
font: .65em Georgia;
color: orange;
font-weight: bold;
vertical-align: top;
}
line 468
table h1{
color: orange;
opacity:1;
display:block;
font: 1.5em Georgia;
font-weight: bold;
}
line 461
table h2 {
color: #0ef32b;
font: 1em Georgia;
-webkit-margin-before: 0px;
-webkit-margin-after: 0px;
text-align: center;
}

BeerlistTable.php
This is actually line 125 of BeerlistTable.php and will allow you to fit in the bigger tap images.

if(count($imgs) > 0) $style .= ($style != ""?";":"").'background:url('.$imgs[0].') no-repeat center; background-size:cover; -webkit-border-radius:0px; -mox-border-radius:0px; height:100px; width:70px';
?>
 
Last edited:
Hey guys I keep getting a pop up to re install chromium but can't find an option to do this? Any ideas?
 
I had some errors in those line they should be
log(probeName +" Got Temp-" + str(temp))

and

log("Returned " + str(result) + " from insertLogSql")
I had some errors in those line they should be
log(probeName +" Got Temp-" + str(temp))

and

log("Returned " + str(result) + " from insertLogSql")
Ok after the first step I get this which I assume is just 1 probe??

2020-07-23 07:38:35 RPINTS: listening to Arduino
2020-07-23 07:38:35 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:38:35 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:38:35 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:39:08 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:39:08 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:39:41 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:39:41 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:40:14 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:40:14 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:40:46 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:40:47 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:41:19 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:41:19 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:41:52 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:41:52 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:42:26 RPINTS: 28-0114532943aa Got Temp-85.0
2020-07-23 07:42:26 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:42:58 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:42:58 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:43:31 RPINTS: 28-0114532943aa Got Temp-46.9
2020-07-23 07:43:31 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-07-23 07:44:04 RPINTS: 28-0114532943aa Got Temp-46.9
 
try from the terminal
sudo apt-get reinstall chromium
Ok did that (After having to run sudo apt-get update first as it wouldn't work) Now chromium doest start in kiosk mode automatically anymore. And my browser shortcut on the task bar opens a browser called Dillo???

How do I get chromium to open in kiosk mode again?
 
task bar opens a browser called Dillo???

How do I get chromium to open in kiosk mode again?
ooops missed -browser
try this
sudo apt-get uninstall chromium
sudo apt-get reinstall chromium-browser

For kiosk mode the easiest thing to do is to rerun the installer, but select reconfigure pi, after you select a monitor it will prompt for kiosk mode
 
ooops missed -browser
try this
sudo apt-get uninstall chromium
sudo apt-get reinstall chromium-browser

For kiosk mode the easiest thing to do is to rerun the installer, but select reconfigure pi, after you select a monitor it will prompt for kiosk mode

Im getting this

pi@rpints:~ $ sudo apt-get uninstall chromium
E: Invalid operation uninstall
pi@rpints:~ $

EDIT- Worked it out,.. Thanks again, its working again in kiosk mode.

EDIT- No it doesn't work.... every so often it refreshes and goes to a black screen that says waiting for cache and I have to shut down chromium and open it again?
 
Last edited:
@Dellboy78 here's one data point with success with the DBS026 flow meters:



The poster also says that they tried cheaper flow meters and had foaming issues.

Ah, great, thanks! Only just seen this for some reason! I’m quite tempted to try these. I did email them to see if they could give me any more info, but I’ve not had a reply yet!
 
Hello guys, seems like I have ran into more problem 😅 Somehow I broke my raspberry pi 3b when I tried to install it in a new case, therefore I bought the raspberry pi 4 from my local shop. I tried installing the Randr branch on this one but after rebooting after installation the screen is just black (backlight turns on). Is there somehow an issue with Rpints on raspberry pi 4?
 
What "screen?" Do you have one of those case-mounted displays? You need to add the drivers for that if so.
Yes I have the case-mounted display. I had Rpints up and running on the 3b+ before I broke it. I modified the case to fit with the pi 4. The screen did work on the raspberry pi 4, even after rebooting. Then i installed Rpints and after reboot the screen is black. Tried 4-5 times with same result.
 

Latest posts

Back
Top