check /var/log/rpints.log for errors.What is the best way to troubleshoot this?
Also make sure you have a pin number and count setup in the taps screen on the admin page
check /var/log/rpints.log for errors.What is the best way to troubleshoot this?
It looks like the Arduino might not have the sketch on it because I don't see anything that looks like its establishing connection.Attached is the log file.
It looks like the Arduino might not have the sketch on it because I don't see anything that looks like its establishing connection.
Are you using Uno or Alamode?
Check /python/Config.py config['flowmon.port'] should be '/dev/ttyS0' for alamode and '/dev/ttyACM0' for Uno.
you can also enable more logging by replacing False#True with True
Use the Arduino ide to manual upload the sketch (/Arduino/raspberypints/raspberrypints.ino) then use the serial monitor to see if you are getting alive messages from the arduino
Ok I checked the config.py and is is set for uno. Attached is another log file and it shows it is waiting for an alamode, do I still have something set wrong somewhere?I am using an Uno. I thought I checked the config.py for that but I will check again. Do you have more guidance you can point me to how to use the Arduino ide as you mentioned? I am not familiar with that process.
The text in the picture is too small for me to read.Attached is another log file and it shows it is waiting for an alamode, do I still have something set wrong somewhere?
Good, I am going to make a change like that in my branch when I'm done with some other changesChanging the delay time from 100 to 5000 seems to have done the trick
I just committed the fix for that error, try getting the latest from GitHub then run the update again.but I got this error
I will review but I'm guessing that is correct."-browser"
I will review and see if I can fix.Also there's still some wonky stuff with image sizing
I just committed the fix for that error, try getting the latest from GitHub then run the update again.
If your brewery image doesn't increase in size edit /includes/beerListTable.php
change the 100 of the following line to a number that looks good (you will probably need to edit the file as sudo or change permissions on that file)
<img style="border:0;width:100px" src="<?php echo $beer['breweryImage']; ?>" />
The text in the picture is too small for me to read.
The log defaults to say alamode so you don't need to worry about that, do you see an error in the log about uploading to the Arduino?
before using the Arduino ide stop the flowmon service using this command from the terminal
sudo /etc/init.d/flowmon stop
You can use the Arduino IDE from the start menu->programing->Arduino IDE, open <WWW_DIRECTORY>/arduino/raspberrypints/raspberrypints.ino
this is the code that run on the ardunio,
under tools check and make sure you have Uno selected as the board and make sure the serial is set to /dev/ttyACM0
then try to upload the sketch using file->upload, if that succeeds use tools->serial monitor, this should bring up a different window that should be printing alive on it, if it is not printing alive then the Arduino is not working yet
if it is printing alive then close the serial monitor and restart the flowmon service
sudo /etc/init.d/flowmon start
What options did you select during the loading? If you reinstalled or chose update raspberrypints, there is no need for you to run the update from the admin page.Once that was finished
Go back to /var/log/rpints.log to see if there is any new messages in it (feel free to post it for me to review)I am not sure what to try next. The only think I can think of is to try a different SF800 flow meter but I am not confident that is where the issue lies. Any other suggestions?
Thank you for the detailed procedure, it was very clear what to do. I followed the steps and the arduino was outputing "alive" I then restarted flowmon and tried several differing pins (1, 2, 3) and still R Pints was not showing any volume change on any of the kegs. I am not sure what to try next. The only think I can think of is to try a different SF800 flow meter but I am not confident that is where the issue lies. Any other suggestions? Thank you again for the help!
What options did you select during the loading? If you reinstalled or chose update raspberrypints, there is no need for you to run the update from the admin page.
If just update the pi or told it to do nothing then you haven't got the latest from GitHub and haven't got the fix yet
I chose update raspberry pints.
Ok, so I don't need to try the update on the Pints web interface?
Correct the installer will do the pull from GitHub then run the database update. The web interface just runs the database update for now.
hmm looks like you successfully connected to the Arduino.What is the problem here?
hmm looks like you successfully connected to the Arduino.
I suggest stopping the service (sudo /etc/init.d/flowmon stop)
then go to the Arduino IDE
reupload
open the serial monitor (under tools)
You should see a stream of alive messages coming in.
If not then Arduino is not actually running for some reason
if you do enter the following in the serial monitor and hit enter
C:2:2:7:0:300:200:30:50:250:0|
it should be echoed back to you and you should be able to try a pour and see a P: message
If it is not echoed back then there is an error what I told you to send and I will test with mine to make sure it is correct
There is a unit of measure page in the admin section. You can easily change oz to liters. I didnt do anything for SRM to EBC but it seems easy enough when I get time I will try to completeThank you so much for your help and for your script. Now It finally work!
Now I just have to find out how I can convert fl oz to liter, and SRM to EBS.
Cant remember reading about this. Any tips?
Crap, everytime I go to get back to this I realize i'm missing something....sigh
this time I discovered that the JG fittings they included with the swissflow meters do not fit my tubing which is (3/16" ID x 5/16" OD x 1/16 Wall). Do they make a simple barbed fitting that will screw onto those swissflow sensors so I can finally make some progress on this?
[...]Do they make a simple barbed fitting that will screw onto those swissflow sensors so I can finally make some progress on this?
These work without any adapters: https://www.google.com/url?sa=t&sou...FjACegQIAhAB&usg=AOvVaw3sft-tjHzlMeNGqwwYBHPuCrap, everytime I go to get back to this I realize i'm missing something....sigh
this time I discovered that the JG fittings they included with the swissflow meters do not fit my tubing which is (3/16" ID x 5/16" OD x 1/16 Wall). Do they make a simple barbed fitting that will screw onto those swissflow sensors so I can finally make some progress on this?
Does anyone have a primer or "RhaspberryPints for Dummies" post or document?
To start I would use the command from the terminalwhat I want is a basic tap list fed by flowmeters
To start I would use the command from the terminal
curl -L https://raw.githubusercontent.com/rtlindne/RaspberryPints/master/util/installRaspberryPints | sudo bash
This gives you the options of what version to install plus does all the setup needed.
My version has a lot of bells and whistles and is very different then the original, but it is also a little easier to step because you don't need to modify the Arduino logic to get it to work.
The original version (whats on the website) doesn't work on Raspbian Stretch or Buster, so you would have to use outdated Jessie. It takes some basic code changes to get it configured.
Tobor's version is the original but modified to work on Raspbian Stretch and Buster.
you will need a raspberry Pi, a power adapter for it and a sd card (https://www.amazon.com/LoveRPi-Rasp...eywords=raspberry+pi+3&qid=1570555316&sr=8-13)As in buy "this" hardware list
you will need a raspberry Pi, a power adapter for it and a sd card (https://www.amazon.com/LoveRPi-Rasp...eywords=raspberry+pi+3&qid=1570555316&sr=8-13)
you will need to either buy an SD card with Raspbian on it or use a different computer to download it and install to the SD card (instruction on https://www.raspberrypi.org/downloads/raspbian/)
You will need an Arduino, the original used the Alamode, which is what I went with only to find that it is a little outdated. (https://www.amazon.com/Seeedstudio-...ds=alamode+sheild&qid=1570555452&sr=8-2-fkmr0)
or you could use the Uno (cheaper and more up to date)
(https://www.amazon.com/RoboGets-Compatible-ATmega328P-Microcontroller-Electronics/dp/B01N4LP86I/ref=sr_1_1_sspa?crid=3QZOTUAMNXWYA&keywords=arduino+uno&qid=1570555511&sprefix=ardui,aps,186&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzTlY1NjlPN0xOWUE5JmVuY3J5cHRlZElkPUEwMDMwNTk5MVY1VkhRVDdKWlVQRCZlbmNyeXB0ZWRBZElkPUEwMDQ2NzE1M0xUTDZCNE1TWjNQQSZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=)
Then you need to pick your flow meters, most use the Swissflow meters from the original, but I used slightly cheaper one from amazon (https://www.amazon.com/gp/product/B01D44N41U/ref=ppx_yo_dt_b_asin_title_o06_s01?ie=UTF8&psc=1) mine use a john guest fitting to convert to tubing (https://www.amazon.com/gp/product/B005XU0SK4/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1)
You will also need some small wire to run from the meters to the alamode I think I used 22 gauge.
You should be able to follow most of the instruction on the original website for assembly.
Only need Arduino or Alamode if using tap sensors.Perfect! Thanks much!!! I think I can take it from here.
it should work on Buster, I have yet to get a Buster VM updated to verify, but the only things others have mentioned are the settings to get the monitor to display correctly after restartI have it installed on stretch, will it work on buster?
I have not done anything with Bluetooth my self but if you have an Arduino that supports Bluetooth and get it connected to the pi you can try to change python/Config.py and add config['flowmon.port'] = '/dev/rfcomm0' to the end of the fileIs there any information on how to set them up by Bluetooth
it should work on Buster, I have yet to get a Buster VM updated to verify, but the only things others have mentioned are the settings to get the monitor to display correctly after restart
I have not done anything with Bluetooth my self but if you have an Arduino that supports Bluetooth and get it connected to the pi you can try to change python/Config.py and add config['flowmon.port'] = '/dev/rfcomm0' to the end of the file
Enter your email address to join: