[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.
That gets me there! So ... I'm wanting to use this as a manual way to "sort of" track volume left in keg. If I want an average 12oz pour I just increase the number, yes?

Also, I've read it hear somewhere but can't find it - what do the 2 glasses on the right side of the display mean? I'm guessing the not full one is a representation of ABV ? What does the full one represent.

Thanks!
:mug:
The glasses is the number of standard drinks the beer ABV is. so 2 glasses is 2 times the standard drinks. So you could only have 1 (Assuming your .05 in the US like we are in Australia.)
 
1. Go to admin taps page there should be an upload button next to the tap number that allows you to upload an image for the tap
2. in /var/www/html/style.css add font-size:xxpx (where xx is the size you want) to the table.name set

For example:
table .name{
text-align: left;
vertical-align: middle;
padding: 5px;
font-size:70px;
}

Thank you! I was able to get it done. It wasn’t real apparent to me that uploading images on the admin taps page was possible (just has a green arrow).

Do you know how to get rid of the auto-generated tap number? (See top of shield).
 

Attachments

  • B2637691-2F31-45FD-AC38-D9E0CC6B986F.jpeg
    B2637691-2F31-45FD-AC38-D9E0CC6B986F.jpeg
    3.2 MB · Views: 59
  • 4CCC659F-BFD7-4B76-A7B7-501A92A4EF11.jpeg
    4CCC659F-BFD7-4B76-A7B7-501A92A4EF11.jpeg
    2 MB · Views: 58
Hello everyone,

I just recently got my raspberry pi 4 in with Raspian OS installed. I was going through the build your own steps on the website and it seems they may be out of date? When trying to install the LAMP package none of them are available anymore and reference other programs.

There's a lot of information in this thread and my searches haven't come across an updated installation walkthrough so I was hoping someone may have something readily available to share?
 
I cant say why it stopped working without the logs, but it didn't start after the reboot because of this
2020-05-17 20:14:42 FlowMonitor I Ino new than Hex. manual upload assumed 1

which means you manually edit the sketch (which is fine) and I have the code not upload the old sketch code if someone modified because it complicates the steps they need to take.

What you can do is verify the sketch in the Arduino Editor, then look in the /tmp/ directory for a folder like buildnnnnnnnnnn.tmp and look in it for raspberrypints.cpp.hex move that file to /var/ww/html/Arduino/raspberrypints
Then after any restart the sketch will be uploaded automatically

I just attached my Uno tonight to and noticed the same error in my logs:
Code:
2020-06-05 21:45:32 RPINTS: No such device - Sleeping to try again
2020-06-05 21:45:37 RPINTS: No such device - Sleeping to try again
2020-06-05 21:45:44 RPINTS: Ino new than Hex. manual upload assumed
2020-06-05 21:45:44 RPINTS: starting WS server
2020-06-05 21:45:44 RPINTS: starting device monitors...
2020-06-05 21:45:44 RPINTS: starting command server
2020-06-05 21:45:44 RPINTS: starting fan control
2020-06-05 21:45:44 RPINTS: Fan Control fanControl1 is Running
2020-06-05 21:45:44 RPINTS: Not Configured to run Fan
2020-06-05 21:45:45 RPINTS: 1Wire Temperature Thread 1 is Running

I havn't installed anything on the UNO so not sure why it says that, can I force rpints to install the needed software to the UNO, the part you suggest about verifying the sketch... should that be done on the pi?
 
can I force rpints to install the needed software to the UNO, the part you suggest about verifying the sketch... should that be done on the pi?
You can use the Arduino IDE on the pi to upload the sketch to the uno (sketch located at /var/www/html/arduino/raspberrypints/raspberrypints.ino)

Or you can try this from the terminal:
sudo touch /var/www/html/arduino/raspberrypints/raspberrypints.cpp.hex
sudo /etc/init.d/flowmon restart
 
Or you can try this from the terminal:
sudo touch /var/www/html/arduino/raspberrypints/raspberrypints.cpp.hex
sudo /etc/init.d/flowmon restart

Thanks that worked great after a reboot! Just restarting the flowmon gave me some errors!

What does `PourCould not kick Keg from 1` in the log mean? really need to configure the pulses to... poured maybe 1 dl and it reported above 6dl but that's another problem that can be solved!
Anyone using the yf-s401 that can give me a number to start with? Found 5880 on another site but that clearly didnt work!
The output of the sensor gives 98 pulses per second with a duty cycle of approximately 50% for each liter of fluid passing through per minute: Q [L/min] = fpulse [Hz]/98.
 
Last edited:
What does `PourCould not kick Keg from 1` in the log mean? really need to configure the pulses to... poured maybe 1 dl and it reported above 6dl but that's another problem that can be solved!
it means the flow meters registered 30 pulses that were less than 1 millisecond from the last pulse during the "pour" (30 is configurable under setting on the tap admin page "Kick Trigger Count:") which the logic in RPints is setup to assume that means only air is blowing through the flowmeters and tries to remove the keg from the tap. But if you don't have a keg setup for tap 1 then you would see that error and you can ignore
 
it means the flow meters registered 30 pulses that were less than 1 millisecond from the last pulse during the "pour" (30 is configurable under setting on the tap admin page "Kick Trigger Count:") which the logic in RPints is setup to assume that means only air is blowing through the flowmeters and tries to remove the keg from the tap. But if you don't have a keg setup for tap 1 then you would see that error and you can ignore
Ah thanks, actually was pouring a beer but was getting a lot of foam so that might have been it! Ordering a new 9l keg for water that will be easier to calibrate with! Thanks for the great support @RandR+
 
Oh, worked the first time... now I get this in the log!?
Code:
RPINTS: reflashing Arduino failed, moving on anyways, error was:  Command '/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -patmega328p -calamode -P/dev/ttyACM0 -b115200 -D -Uflash:w:/var/www/html//arduino/raspberrypints/raspberrypints.cpp.hex:i' returned non-zero exit status 1
 
now I get this in the log!?
That is only a problem if pours stop working, if pours are still working then you can ignore.

If pours are not working can you post more of the log so I can see what other errors there (if there really isn't many more errors then you should try enabling debug in /var/www/html/python/Config.py
remove False# from flomon.debug and dispatch.debug
Or just put this at the bottom of the file and restart flowmon

#logging settings for flowmon
config['flowmon.debug' ] = True
#logging settings for pintdispatch
config['dispatch.debug' ] = True
 
Where is database file located for rpints located? The file containing beer info, settings, etc. I’d like to copy from one SD card to another.

My SD card died. I should have cloned it. I do have backups Of most of my files and i can still access most of the directories on it.
 
Is there a gui switch to disallow automagic Arduino reflashing?
No but if you touch the ino file (i.e. open and save it) so that the file's timestamp is newer then the hex's it wont upload automatically because it assumes you uploaded customizations to the arduino
 
My SD card crapped out today so I had to reinstall everything as I had wiped my back up testing another RPI. Anyway Im 99% sure I chose to use USB for the serial connection during the install but now when I try to upload the Sketch it says Serial Port /dev/ttyACM1 not found. Before a reboot I did it actually said ACM0 not found. Any ideas???? Im about ready to throw all this ion the bin and use a blackboard. Would be so much easier than the constant headaches Im getting with this, if one thing doesn't work its another. Next the PI will probably fail..
 
USB for the serial connection during the install but now when I try to upload the Sketch it says Serial Port /dev/ttyACM1 not found
what you choose at installation time does not affect the Arduino IDE, it only changes the port that Rpints uses.

In the Arduino IDE what port is selected tools->serial Port?
 
what you choose at installation time does not affect the Arduino IDE, it only changes the port that Rpints uses.

In the Arduino IDE what port is selected tools->serial Port?
Ok so after playing around a bit I now have ACM0 and TTYS1 and TTYS0. I uploaded the sketch and it worked. But no pours are showing, and Im back to these errors again.

2020-06-07 07:21:21 RPINTS: valve update: RPU:VALVE:0=0
2020-06-07 07:21:21 RPINTS: valve update: RPU:VALVE:1=0
2020-06-07 07:21:21 RPINTS: valve update: RPU:VALVE:2=0
2020-06-07 07:21:21 RPINTS: valve update: RPU:VALVE:3=0
2020-06-07 07:21:21 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
2020-06-07 07:21:23 RPINTS: starting setup...
2020-06-07 07:21:23 RPINTS: Ino new than Hex. manual upload assumed
2020-06-07 07:21:23 RPINTS: starting WS server
2020-06-07 07:21:23 RPINTS: starting device monitors...
2020-06-07 07:21:23 RPINTS: starting command server
2020-06-07 07:21:23 RPINTS: resetting Arduino
2020-06-07 07:21:23 RPINTS: starting fan control
2020-06-07 07:21:23 RPINTS: Fan Control fanControl1 is Running
2020-06-07 07:21:23 RPINTS: Not Configured to run Fan
2020-06-07 07:21:24 RPINTS: serial connection stopped...
2020-06-07 07:21:24 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-06-07 07:21:25 RPINTS: flowmonitor aborted, restarting...
2020-06-07 07:21:25 RPINTS: resetting Arduino
2020-06-07 07:21:26 RPINTS: serial connection stopped...
2020-06-07 07:21:26 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-06-07 07:21:27 RPINTS: flowmonitor aborted, restarting...
2020-06-07 07:21:27 RPINTS: resetting Arduino
2020-06-07 07:21:28 RPINTS: serial connection stopped...
2020-06-07 07:21:28 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-06-07 07:21:29 RPINTS: flowmonitor aborted, restarting...
2020-06-07 07:21:29 RPINTS: resetting Arduino
2020-06-07 07:21:30 RPINTS: serial connection stopped...
2020-06-07 07:21:30 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-06-07 07:21:31 RPINTS: flowmonitor aborted, restarting...
2020-06-07 07:21:31 RPINTS: resetting Arduino

EDIT. I poured a beer and got this but thats it no pours are showing..

2020-06-07 07:25:15 RPINTS: listening to Arduino
2020-06-07 07:25:15 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-06-07 07:25:33 RPINTS: Reset Tap during loop Pin 3 0
2020-06-07 07:25:33 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|

Then poured from each tap and got this

2020-06-07 07:25:15 RPINTS: listening to Arduino
2020-06-07 07:25:15 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-06-07 07:25:33 RPINTS: Reset Tap during loop Pin 3 0
2020-06-07 07:25:33 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-06-07 07:27:16 RPINTS: Reset Tap during loop Pin 4 1
2020-06-07 07:27:16 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
 
Last edited:
Fans... I just bought a cheap USB 10cm fan (5V) and was thinking of using it in the kegerator!
1591894098626.png

I'm just wondering, since the GPIO pins on the pi only gives 3.3V am I supposed to use a relay or will the fan just run slower?
What are you using for interval and duration out there, should I run it as "always on" or is the values from start the best ones? Run for 1 minute ever two hours?
1591894219910.png
 
Regardless of voltage level, you definitely cannot power that fan from a GPIO pin directly as the power draw will be more than an order of magnitude greater than a GPIO pin can provide. You're going to need something in the path to boost the current, either a relay or transistor/FET switch.

fwiw, I run my keezer fan and tower cooler 24/7. I don't see the point in ever switching them off...

Cheers!
 
Hi guys. Anyone know how to remove this gap in my beer names so they are to the left? I know ive had it setup right before but can't remember how I did it?

Screen Shot 2020-06-14 at 7.49.47 pm.png
 
I know ive had it setup right before but can't remember how I did it?
Turn off brewery and beer images in the configuration page. it looks like that space if for picture you don't have configured.
 

Attachments

  • 2.PNG
    2.PNG
    1.6 KB · Views: 4
  • 1.PNG
    1.PNG
    1.6 KB · Views: 3
Well after months of ongoing issues it turns out my intermittent ongoing problems registering pours was a second faulty Usb cable. I had tried two different cables but recently tried a third cable with another PI and it seemed to work. so I went back to the original pi but with the new cable and so far it seems to be working fine. Thanks to everyone who helped especially RANDR+. Much appreciated..
 
RandR+, I’ll try to post the log files later tonight, but any idea why my pours are no longer working? I swapped kegs last night and had to unplug a few flow meters to get things moved around. Plugged everything back in and it registered a bunch of faulty pours and now won’t register any from any sensor, even ones I never unplugged. I’ve restarted the Pi, restarted the flow service, nothing. Help!
 
RandR+, I’ll try to post the log files later tonight, but any idea why my pours are no longer working? I swapped kegs last night and had to unplug a few flow meters to get things moved around. Plugged everything back in and it registered a bunch of faulty pours and now won’t register any from any sensor, even ones I never unplugged. I’ve restarted the Pi, restarted the flow service, nothing. Help!
Welcome to the club..lol. Have you checked the log file to see if there are any clues?
 
Log file initially showed the flowmon service failing, but on restart showed nothing. Have a spare SD Card on hand, gonna try a from scratch install
Try a new USb cable also. It was what fixed my issues after months of intermittent failures.
 
had to unplug a few flow meters to get things moved around
To clarify, do you mean electrically unplugged or just removed from the draft lines? if you removed them electrically was the power off to the system before hand? A few times I tried to move wires with power on I caused issues but a restart usually fixed them
 
To clarify, do you mean electrically unplugged or just removed from the draft lines? if you removed them electrically was the power off to the system before hand? A few times I tried to move wires with power on I caused issues but a restart usually fixed them

Electrically unplugged. I've got them wired into waterproof disconnects so I can unplug them to move things around. Power was on. Plugged them back in and that is when I had faulty pours listed. Restarted didn't fix it. That's why I figured I'd do a clean install, get things back in order and wait. Have another keg that is going to need replaced in about a week and a half. I figured it was probably an issue with them being powered on and disconnected. So we'll turn off the power next time and see. Simple fix.
 
You can't hurt the meters by hot-plugging them - as long as the signal/power/gnd aren't swapped. That would be bad, ok? ;)
I do it all the time when swapping kegs.
Same thing with ds18b20 probes - although they'll almost always throw an "85°C/185°F" for one read cycle as a result...

Cheers!
 
You can't hurt the meters by hot-plugging them - as long as the signal/power/gnd aren't swapped. That would be bad, ok? ;)
I do it all the time when swapping kegs.
Same thing with ds18b20 probes - although they'll almost always throw an "85°C/185°F" for one read cycle as a result...

Cheers!
Sorted out. Must have broke one of the power connections in the harness. Rewired and all is right with the world again. Now to figure out how to delete those errant pours....
 
Back
Top