• 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.
This speaks to your capabilities, not the capabilities of the systems upon which nearly all of these products run. If you want to further fraction the base, go right ahead. I will watch and eat popcorn as the end-users (who already don't know where to start) deal with that new road.

No, this speaks to the capabilities and lack of linux capabilities. Linux is a tremendous PITA. Work with linux for close to 25 years and then tell me how you feel about linux. Need a repository? It's gone. Archived. Good luck finding. The average Joe walking down the street isn't going to fool around with linux. I remember a few Christmases ago when Walmart was selling PCs with "Lindows" OS. Most either didn't realize or thought the "L" was a typo for a "W". Lots of unhappy campers on Christmas day when they excitedly opened the box, plugged in the PC only to discover it was running linux.

It's free and one gets what they pay for.

I'm not the only one I know with these feeling about linux. I know others whom work in linux daily and absolutely hate it.
 
php and MariaDB will work in Windows 10. Thinking of porting my version of Raspberry Pints to Windows. Would others find running Raspberry Pints on Windows (instead of the Linux nonsense) useful?

FWIT... I would love to use RP under Windows and would be most appreciative if any of you experts here would share thier wisdom. There is the argument that depending on what Win OS you are using (XP, Win 7, Win 8, etc) there is the update and security issue, but later Win OS's have become even more stable. True.. Linux is a more secure, robust OS in the right hands, but there is the other side of the user coin, where many of us just aren't as fluent in Linux..no gui and more cmd line centric but being able to run it in Windows would allow many of us Windows folks to share in the enjoyment. ... just my 2cents
 
No, this speaks to the capabilities and lack of linux capabilities. Linux is a tremendous PITA. Work with linux for close to 25 years and then tell me how you feel about linux. Need a repository? It's gone. Archived. Good luck finding. The average Joe walking down the street isn't going to fool around with linux. I remember a few Christmases ago when Walmart was selling PCs with "Lindows" OS. Most either didn't realize or thought the "L" was a typo for a "W". Lots of unhappy campers on Christmas day when they excitedly opened the box, plugged in the PC only to discover it was running linux.

It's free and one gets what they pay for.

I'm not the only one I know with these feeling about linux. I know others whom work in linux daily and absolutely hate it.

And I know several that love it, so what does that prove ? Nothing really. Find what works for you and let others do the same. BUT i do think that adding another os to an already confusing mix of versions might not be the best thing to do....

peram
 
Yes that is all you need for the Arduino side.

There is a few configurations you will want to make sure are correct:
in ./python/Config.py make sure there is a line config['flowmon.port' ] = '/dev/ttyACM0' without # infront of it, this indicates to use the USB to talk to the Arduino.

in the tap list page (under Admin) setup the pins for each tap and the pulse count. (There are also some setting dealing with when to register a pour if you click on the settings button on top)

Im just reading though this thread getting everything ready for when my flow meters and Arduino arrives. During setup I chose to connect via Usb. Does this mean this step is done already?

Also what pulse count setting do I use?
 
hey guys, how do I reset this keg count? I'm on keg 29 just by playing around?

Screen Shot 2020-01-10 at 9.09.31 pm.png
 
No, this speaks to the capabilities and lack of linux capabilities. Linux is a tremendous PITA. Work with linux for close to 25 years and then tell me how you feel about linux.
You're right, I only have 26 years of experience with Linux. Seeing how the first commercial distro was only released just over 26 years ago and all. Since I kept going I'll assume I thought it was ok. Also pretty good at AIX and BSD but that's been a minute. The contracts which my teams support bring in just shy of 8 digits. A month. And that's on a backend of Linux. You probably have me beat though.
Need a repository? It's gone. Archived. Good luck finding.
You're not talking about Linux there, you are talking about a piece of work someone else did and contributed (for free mind you) to the community. It's up to them to keep it up or not. If you choose to incorporate that work you get a lot more than you paid for it. For that price, you take certain chances, and hopefully certain precautions.

By the way, I'm not a Windows hater either. I use that equally and recognize it's easier to use Windows for a lot of folks but the systems running these applications are not for daily use. They are there to serve a web page.
The average Joe walking down the street isn't going to fool around with linux.
You are absolutely right! I mean I'd better tell all those Android users they should just pack it in! Google is just a flash in the pan, probably about to close its doors. It would be silly to develop Apps for Android, nobody will ever be successful and make money doing that!

If you choose to develop, you are responsible for the experience your users have. If they can't figure out how to use your software, you failed.

Most homebrewers do not have old laptops sitting around. If they did and you recommended they put Windows XP online (or Windows 7 after the end of the month) then you are suggesting they make an egregious mistake. People like the Pi, they like to complain about it sure, but they like it because they can buy a computer for their project for about $35. If it ran Windows they would probably be happier, but for $35 I think they are pretty happy. If it was not popular, you'd not be coming in at the tail end of a successful run of someone else's software running on Raspberry Pi.

But yeah, go ahead. Like I said I'll watch and eat popcorn.
 
Does this mean this step is done already?

Also what pulse count setting do I use?
Yes the setup should be done on and ready to go.

The pulse count is flow meter and setup specific. I use 7000. start there and pour a fixed amount (I recommend 12oz) and see what registers. If too little then decrease if too much then increase
 
how do I reset this keg count? I'm on keg 29 just by playing around?
the keg number is just a key and increments for each keg you add. The idea is that you only add the number of kegs you physically have.
 
the keg number is just a key and increments for each keg you add. The idea is that you only add the number of kegs you physically have.
Oh ok, but it added on the sample kegs that were in there which I deleted anyway. So you cant reset it at all?
 
Oh ok, but it added on the sample kegs that were in there which I deleted anyway. So you cant reset it at all?
Troy, what you are not asking is not an application question so much as a database question. Any table should have a unique primary key and to guarantee it is unique, it is often auto-incrementing. You would have to do some Googling on how to reset the increment on a MariaDB table - and then honestly hope you don't break anything else.

At an application/database design level: One should never create a process/business/application decision based on a database key. If you need something to display something to the user or be important to them, it should be assigned by the application. The database indexes should never be visible to the end user. I realize the folks working on this now inherited it - just pointing it out in case you have an opportunity in the future to not make this mistake.
 
So you cant reset it at all?
I can make a change so that only the label of the keg is shown instead of the key then label. That way you can set it to be whatever you want it to be. The problem is that I don't restrict labels so you could label 2 or more kegs the same then get confused on which is which
 
One tweak that I haven't got worked out is the baudrate for UNO needs to be increased to at least 57600. but I haven't tried to figure out how to make the Sketch configurable.

Until I do
try
stop the service from the terminal
sudo /etc/init.d/flowmon stop

then changing a .....
Thanks RandR+ it's working great now! I read the last 40 pages trying not to bother you, but somehow missed deleting the hex file.
 
I can make a change so that only the label of the keg is shown instead of the key then label. That way you can set it to be whatever you want it to be. The problem is that I don't restrict labels so you could label 2 or more kegs the same then get confused on which is which
You *could* add another column for "Keg ID", make it unique, and just use constraints or a lookup to assign them. I say this without having looked at the database or code, but so long as there are no "select *" statements, adding a column should be backward-compatible.
 
FWIT... I would love to use RP under Windows and would be most appreciative if any of you experts here would share thier wisdom. There is the argument that depending on what Win OS you are using (XP, Win 7, Win 8, etc) there is the update and security issue, but later Win OS's have become even more stable. True.. Linux is a more secure, robust OS in the right hands, but there is the other side of the user coin, where many of us just aren't as fluent in Linux..no gui and more cmd line centric but being able to run it in Windows would allow many of us Windows folks to share in the enjoyment. ... just my 2cents

Another sane individual.
 
Must be quite filled on popcorn by now considering I'm still waiting on the promised install script for when I lists the steps in detail (I did for a reason to show/explain the steps involved). Oh, fingers are greasy from the popcorn?
Well, now we know how attentive you are.

I delivered that, it worked flawlessly. I posted it here in this post. The GitHub is here. Since you said you didn't know how to use GitHub when I offered to do this, I'll save you the suspense (and Googling.) The last commit was June 16. That means that's when I finished it.

Also, since you're letting your sound issue from whence the smell comes, since then not only did @RandR+ step up and make a script, but he added YOUR fork as an option in HIS script. Yeah, you can thank him now for being so nice. I'll point out that it's the INSTALL METHOD which dictates whether a person can be effective installing on a given platform, not the brand name of the platform. So not only was @RandR+ more effective than you, but he was more effective than you with the work you did.

Please, do go make a Windows version.
 
Last edited:
Hi guys, for some reason I cant upload a particular XML file to Rpints? Others work just not this one. I thought it was because I had too much text in the notes so I deleted them but still no luck. Any ideas?

Also Ive noticed that Rpints uses the "NOTES" from Beersmith XML files which is usually where you put your notes such as gravity readings, techniques etc etc. Is there a way to make Rpints grab the TASTING NOTES from Beersmith instead?
 
Since you said you didn't know how to use GitHub when I offered to do this, I'll save you the suspense (and Googling.)

Unsure how one concludes "said you didn't know how to use GitHub" when I've posted more than once the GitHub link to my fork. I'll save the greasy keyboard typing, confused searching as the link is http://github.com/Tobor-8thMan/RaspberryPints

Perhaps popcorn flatulence has clouded one's vision.
 
Unsure how one concludes "said you didn't know how to use GitHub" when I've posted more than once the GitHub link to my fork. I'll save the greasy keyboard typing, confused searching as the link is http://github.com/Tobor-8thMan/RaspberryPints

Perhaps popcorn flatulence has clouded one's vision.
(emphasis mine)

Yeah sorry about that. I let the definition of "fork" versus you uploading your zip file confuse me.

Also, could you tell me how you were able to change the date on your commits to make it look like you weren't using GitHub all along? Because, silly me, it looks like you just uploaded your zip file contents on September 12th. That's a pretty cool trick. I'm confused why you wanted to do that though when you seem to want us to believe that you were using GitHub all along? That would have saved me a lot of time had I know you were using GitHub when I wrote the install script to install your "fork" from the post on this thread.

You also missed the part of the license that requires you to use "prominent notices" that you modified the original product (GNU GPL 5.(a)). Had you actually forked the original work, GitHub would have provided that provenance for you. Since you basically hacked at this on your computer and then uploaded a zip file to this thread, that provenance was lost - requiring you to more explicitly state that which protects the original author's intellectual property rights.

Something's cloudy all right.
 
Rather than imperiously declaring Windows "bad" for projects, I put together some reasons I and others do use the BrewPi. Maybe some of you will have a better understanding after reading this:

https://www.brewpiremix.com/why-do-you-guys-insist-on-using-linux/

Ultimately, I have done my job right if you never think about where it's running after installing, and if I make installing a non-issue.
 
I'm having a weird problem. I got my 4 yo SF800s running again and I'm getting double pours reported on all of them when I do one continuous pour. The total amount of both pours seem to be correct. I poured 16oz and got 9.12 and 7.06 reported 7 seconds apart. I've upped the pour message delay to 5000 and it doesn't help. I put a brand new Uno on it to no avail, powered down rebooted etc. I looked at the rpints.log and it gives a broken pipe error code. The pic is below. Any words of wisdom from the group?

Edit: I'm using a Pi 3 Debian Buster and RandR+ files.
 

Attachments

  • flow.jpg
    flow.jpg
    362.3 KB
Last edited:
Is it possible to have two scripts running?
I really wouldn't know. I'm seriously a noob on Linux and Arduino stuff. Now if we were doing it in assembler on a ZiLog Z80 processor, I might know what was going on. Thanks to all the help I've gotten here, my almost 70 year old brain got this far. It's the standard RandR+ install and I uploaded the script using IDE. Is there a way to see if two processes are going on?
 
As the original RaspberryPints doesn't create any logs in /var/log, and from the dialog shown, I believe this has to be @RandR+'s fork.
I would suspect there's some kind of timer function involved inside his AVR code that's binning half the pour to one message and the other to the next. None of that behavior is native to the original RaspberryPints so I can't help debug it...

Cheers!
 
Hi, I've checked my flow meters and all work and pours are registered when i use pins 8 and 9 but not 10,11 and 12 any reason for this? I have set 4 taps up and checked counts per liter are the same. Should i solder pin in 6 and 7 instead?
 
Is there a way to see if two processes are going on?
Try this:
Code:
 ps -ef | grep "python" | grep -v "grep"
It should show everything running under Python.
Now if we were doing it in assembler on a ZiLog Z80 processor, I might know what was going on.
My favorite instruction was "polcat". Silly Texas Instruments guys. :)
 
Last edited:
Try this:
Code:
 ps -ef | grep "python" | grep -v "grep"
It should show everything running under Python.

My favorite instruction was "polcat". Silly Texas Instruments guys. :)

Only one python process and it's PintDispatch.py . Oh well, I guess it doesn't really matter unless I want to put the last pour on the screen. It seems to decrement the volumes fairly accurately.
 
It has been a while since I looked at the code, but I think it is possible that the Arduino will send pour pulse information in multiple messages for a single pour under some situations.
 
Back
Top