Well... we try to do our part to help out (for what it's worth)...
Which version are you trying to get running?
This is a cut from my post early in this thread regarding using an UNO or an UNO clone (with a ch340/341 USB/serial bridge chip) instead of the Alamode, using the original RaspberryPints kit. Theoretically it should also work for the Tobor fork:
----------------------------------------------------------------------------------------------------------------------------------------------------
If using an Uno instead of AlaMode
Do not perform the AlaMode support installation in Step 6 of the raspberrypints installation procedure. Skip Step 6 entirely.
The Python port "listener" needs to know what device to monitor for "pour" messages.
The default setting is to listen for TTYS0, while an Uno connected via USB will typically show up as TTYACM0.
Edit /var/www/html/python/flow_monitor.py
Find these lines:
#The following line is for serial over GPIO
port = '/dev/ttyS0'
#The following line is for serial over USB
#port = '/dev/ttyACM0'
Add a comment # in front of the ttyS0 line and remove same from the ttyACM0 line.
If using an Uno CLONE instead of AlaMode
Do not perform the AlaMode support installation in Step 6 of the raspberrypints installation procedure. Skip Step 6 entirely.
Again, the Python port "listener" needs to know what device to monitor for "pour" messages.
The default setting is to listen for TTYS0, while an Uno Clone connected via USB will typically show up as TTYUSB0
I believe this is due to clones using a CH340 USB/serial bridge chip instead of the Mega16U2 used on "genuine" Arduino Uno boards.
Edit /var/www/html/python/flow_monitor.py
Find these lines:
#The following line is for serial over GPIO
port = '/dev/ttyS0'
#The following line is for serial over USB
#port = '/dev/ttyACM0'
Add a comment # in front of the ttyS0 line and remove same from the ttyACM0 line.
Then change /dev/ttyACM0 to /dev/ttyUSB0.
----------------------------------------------------------------------------------------------------------------------------------------------------
You still need to Enable the flow meters in the RaspberryPints management gui (Personalization - Show/Hide Columns) and set the number of faucets as well (Basic Setup - My Taps).
And assuming you are not running the RandR+ fork, you need to edit the raspberrypints.ino file to set the number of meters (numSensors) and the pins they're wired to (pulsePin[]). In the below example from my keezer I have 6 taps on pins 2 and 5 through 9.
Code://This line is the number of flow sensors connected. const uint8_t numSensors = 6; //This line initializes an array with the pins connected to the flow sensors uint8_t pulsePin[] = {2,5,6,7,8,9};
Then you need to load that sketch to the UNO.
There are a couple of more changes needed if you are NOT using Swissflow meters but the above should get you in the ballpark...
Cheers!
I am going to blow it out again the the morning and install your version. Just hope I can get flowmeters running. Have 4 kegs and no idea how much is left.
Unless there is an error during the install and the error is resolved there is no reason for repeated install attempts. Time is better spent than doing the install again and again.
Was the initial RPints error free? If so, then the problem(s) reside elsewhere. Perhaps the flowmeters pin outs/lines are different since a different brand is being used. This is only a guess as, at this point, we're searching for "left field" or unusual situations/items causing the problems.
All of the installs have been successful with no errors. It’s only the flow meter . I have set the number of taps correctly. I have set the pin correctly and tried different pins. I have loaded up the Arduino IDE in order to see if I could get any messages or even see the ticks but that doesn’t work on the pi or a windows laptop. Im not a newbie to pi’s have about 15 running various applications at home and I’m not new to Arduino but not an expert with them. I use them with my home built 3D printers and my daughters robotics. I’m very much a newbie when it comes to flowmeters. I feel that the issue definitely lies between the Arduino and the pi but just do not know where to troubleshoot. Uno is recognized on pi and laptop. I have my multimeter ready to test the flowmeters but not even sure how to test them correctly at this point.
In index.php, I changed the following:
//echo '<td class="tap-num"><span class="tapcircle">' . $i . '</span></td>' . "\n";
echo '<td class="tap-num"><span><img class="billball" src="img/' . $i . '-tap.png"></span></td>' . "\n";
Then in styles.css, I added this at the bottom:
.billball {
position: relative;
top: 5px;
width: 50px;
height: 50px;
}
Good luck.
Dave
Absolutely, kudos to all those running any version of Raspberry Pints and to all those attempting to help.
if you are using my version check /var/log/rpints.log it will give some hints as to what is going on. You can turn on more loggin through python/Config.py changesR+R install script
In my opinion John guest fittings are junk. I also try to minimize the amount of plastic parts I use in my brewery. I just hooked up my Swissies and used these parts instead:
US $6.90 | 2Pcs 6mm Hose Barb Tail To 3/8" Inch BSP Female Thread Connector Joint Pipe Fitting SS 304 Stainless Steel Coupler Adapter
https://s.click.aliexpress.com/e/c8H5NUN2
6PCS Rubber/silicone washer G3/8" Connector Water pipe Seal Ring Gasket 3 Point
https://rover.ebay.com/rover/0/0/0?mpre=https://www.ebay.com/ulk/itm/332860374076
The silicone washer fits perfectly into the 6mm stainless barb fitting. No thread tape needed. My liquid lines are all 3/16 ID. I have no issues with foamView attachment 640334.
RandR+, Tobor_8thMan and other fork developers, is there any thoughts on maintaining a sticky when there are changes to your work? I have read and re-read and wrote emails to myself with lots of links and notes to do my due diligence and not bother you but I apologize forums can be troublesome to follow the current state of the projects. Sorry, I am a noob and about to try my first install. I have reviewed my notes again and need to continue reading. It would be helpful to list the pros/cons of each development/branch. It would also be helpful to have a tutorial/instruction set for each branch (or highlight changes from a baseline set of instructions). I know you are developing this of your own good will and time, it is much appreciated. I returned a Kegtron I bought on the Amazon Day deal as I felt this would be a better project for my 6 tap keezer.
Is skemp45 the Original Poster (OP) of this thread still active? If so, could we ask if he would be willing to edit that #1 OP of this thread with links to Google Docs or alternatively would the branch creators want to create new threads where they are able to update the #1 OP of those threads with the current state of their development (then if skemp45 desired he could update the #1 OP of this thread pointing to those threads).You cannot create a sticky within the thread. What I've done (and still not posted because I suck) for the BrewPi variants is a shared Google doc.
Raspberry pints uses Arduino to count the pulses from the meters. Originally it used the Alamode board but many just use a Uno.
You can use either Tobor's version (much like the original)
https://www.homebrewtalk.com/forum/attachments/raspberrypints-2-1-0-000-zip.629862/
or my version (much different then the original but easier to use imo)
https://github.com/rtlindne/RaspberryPints
or edost also has a version he is trying to get back into the original
https://github.com/ericdost/RaspberryPints
on a side note you can run the following command to run my install script which will install all packages you need, prompt you what version you want to run, and setup the database for you.
curl -L https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints | sudo bash
if you do run my script let me know if you have any errors
Files go into /var/www/phpliteadmin (phpliteadmin.php and phpliteadmin.config.php)
Edit phpliteadmin.config.php
//password to gain access
$password = 'password';
//directory relative to this file to search for databases (if false, manually list databases in the $databases variable)
$directory = '/var/www';
//whether or not to scan the subdirectories of the above directory infinitely deep
$subdirectories = true;
for K in $(apt-key list | grep expired | cut -d'/' -f2 | cut -d' ' -f1); do sudo apt-key adv --recv-keys --keyserver keys.gnupg.net $K; done
Official RPints pros are that its the best documented and the official release. Cons are that it doesn't work on php 7.0 (default in Stretch) because its MySQL calls were removed and requires Arduino modification to get flow meters to work. It also seems that the original creators are no long active in maintaining it.What are the pros/cons of each of these versions? (official RPints, Tobor's, RandR+'s, and edost's)
I can’t reproduce your error. Can’t say I’ve ever had to worry about keys when installing standard software on an up to date system.
This should update all out of date keys:
Code:for K in $(apt-key list | grep expired | cut -d'/' -f2 | cut -d' ' -f1); do sudo apt-key adv --recv-keys --keyserver keys.gnupg.net $K; done