• 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.
If you select your text for SRM etc and right click the highlighted text and choose inspect element from the drop down menu the inspector will open up to thee right of your window. It will show you what line of the css file you need to edit. Then you just open the css file in Geany and edit that line. It will be similar to my examples shown in my post but may be different line numbers to you.

Thanks for the help Troyp42. I did as you suggested and highlighted my Tap handle picture for example and right clicked and clicked inspect. The windowed opened to what I want to adjust. However, i don't see anywhere where it gives me the line number. When I tried to copy and paste in the search field in geany locate it. Geany comes up file not found. HMMM??
I edited it in the inspector window by changing the height and width px to what I wanted, but I can't find a way for me to save it. Am I just blind or is it not possible to edit and save in the inspector window? I have also attached screen shots and a copy of my style.css file If you or someone has a chance maybe you can find where i can edit my pictures for my taps, beers, etc. Like I said maybe I'm blind since I so new to this. I can't thank all of you enough for all the help so far, I have learned so much really appreciate all your help!
 

Attachments

  • Capture 1.JPG
    Capture 1.JPG
    243.3 KB
  • Capture 2.JPG
    Capture 2.JPG
    252.1 KB
  • Capture 3.JPG
    Capture 3.JPG
    117.8 KB
  • GBPD80 style.zip
    2 KB
Thanks for the help Troyp42. I did as you suggested and highlighted my Tap handle picture for example and right clicked and clicked inspect. The windowed opened to what I want to adjust. However, i don't see anywhere where it gives me the line number. When I tried to copy and paste in the search field in geany locate it. Geany comes up file not found. HMMM??
I edited it in the inspector window by changing the height and width px to what I wanted, but I can't find a way for me to save it. Am I just blind or is it not possible to edit and save in the inspector window? I have also attached screen shots and a copy of my style.css file If you or someone has a chance maybe you can find where i can edit my pictures for my taps, beers, etc. Like I said maybe I'm blind since I so new to this. I can't thank all of you enough for all the help so far, I have learned so much really appreciate all your help!
inspect in the browser is just to preview changes and figure out what need to be changed.

Once you find what you like, then you have to open up file and make changes. Now go into your style.css and make those same changes: changing height and width to 180 and 75. One of the editors has line numbers displayed. looks like these values should be around line 190 based on inspect window.
 
The only remaining issue is that the temp reading is not displaying in the upper right corner like it should, even though "Show Avg Temperature on home screen" is set to "on".
This is because of the change I made to show temp from plaato, I miswrote an if statement so no matter what the temp probes wont show.

To fix you get can the latest from GitHub by rerunning the install script and it will prompt if you want to update, or just simply update index.php line 208
from
if(!isset($plaatoTemps) && count($plaatoTemps) > 0)
to
if(!isset($plaatoTemps) || count($plaatoTemps) == 0)
 
This is because of the change I made to show temp from plaato, I miswrote an if statement so no matter what the temp probes wont show.

To fix you get can the latest from GitHub by rerunning the install script and it will prompt if you want to update, or just simply update index.php line 208
from
if(!isset($plaatoTemps) && count($plaatoTemps) > 0)
to
if(!isset($plaatoTemps) || count($plaatoTemps) == 0)

That fixed it ... thanks!
 
Does this give any clues? It still doesn't work after a reboot.
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
 
Thanks for the help Troyp42. I did as you suggested and highlighted my Tap handle picture for example and right clicked and clicked inspect. The windowed opened to what I want to adjust. However, i don't see anywhere where it gives me the line number. When I tried to copy and paste in the search field in geany locate it. Geany comes up file not found. HMMM??
I edited it in the inspector window by changing the height and width px to what I wanted, but I can't find a way for me to save it. Am I just blind or is it not possible to edit and save in the inspector window? I have also attached screen shots and a copy of my style.css file If you or someone has a chance maybe you can find where i can edit my pictures for my taps, beers, etc. Like I said maybe I'm blind since I so new to this. I can't thank all of you enough for all the help so far, I have learned so much really appreciate all your help!

See to the right it says style.css 198? Open your css file in geany and go to line 198. That where you edit the text. You can make changes in the inspector but it wont save, but at least you can see what the changes will do.

Try selecting some text like your beer name and changing the colour or font size in the inspector and it will change on the fly. But you will have to do it in Geany and save the file.
 
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
How do I "verify the sketch in the Arduino editor?


Ive never edited the sketch but have manually uploaded it a few times as that seems to fix the issue.

Thanks once again for all your help.

EDIT- Okay worked out how to verify thee sketch. I followed everything else you said and the raspberry pints.cpp.hex was already in the /var/ww/html/Arduino/raspberrypints folder. I copied it anyway and overwrote the existing file.
 
Last edited:
Temperature sensors still working since you simplified the connections?

Cheers!
Yes, they certainly are ... 4,610 data points without a hitch. On that subject, is there a way to delete old readings so the database does not grow in size out of control?

Now to figure out "plan b" on the best way to get the data cables from inside the freezer to outside the keezer while still making it "somewhat" easy to remove the RPi and Arduino if the need arises. I had used a 8 pin DIN connector (with soldered connections), but that turned out to be the most likely problem in my data cabling. I'll probably just pass the cabling through the collar and use Dupont connectors to the boards so they can be unplugged if needed.
 
See to the right it says style.css 198? Open your css file in geany and go to line 198. That where you edit the text. You can make changes in the inspector but it wont save, but at least you can see what the changes will do.

Try selecting some text like your beer name and changing the colour or font size in the inspector and it will change on the fly. But you will have to do it in Geany and save the file.


I'm able to make changes to the beer names, column widths/heights, etc just fine in style.css. There is no place in style.css that I can increase the height and width of my picture. The issue I'm having is changing the size of the picture of the beer handle I added i.e. (Tap 3). When I look at it in inspector it is listed under elements.style. I can increase the height and width like I said to what I would like it to be in inspector. However like you mentioned you can't save it. So I believe I need to edit it in the elements.style Do you know where elements.style is? I can't seem to find it anywhere. I attached a picture so you can see what I'm talking about.
 

Attachments

  • Capture.JPG
    Capture.JPG
    305 KB
inspect in the browser is just to preview changes and figure out what need to be changed.

Once you find what you like, then you have to open up file and make changes. Now go into your style.css and make those same changes: changing height and width to 180 and 75. One of the editors has line numbers displayed. looks like these values should be around line 190 based on inspect window.

I've looked at other editors and unfortunately there is no place to change the height and width of the picture of my tap handle. It appears that the location might be in elements.style. At least, that is what it shows in inspector. Do you know where elements.style is located, i'm having trouble finding it. Maybe that is where I can increase the size of the pictures I add. If you look at the picture I attached you can see elements.style appears to be where height and width of the picture can be changed. When you make changes in style to height and width it only changes the margins.
 

Attachments

  • Capture.JPG
    Capture.JPG
    305 KB
delete old readings so the database does not grow in size out of control
Temperature readings are reduced at the start of each month to an average of the month for historical purposes so that will keep the database from growing excessively
 
Do you know where elements.style is located
that is not a file, but inline styling in the HTML.

You can modify that in includes/beerListTable.php ~line 126 and includes/beerListTableVerticle.php ~line 50
if(count($imgs) > 0) $style .= ($style != ""?";":"").'background:url('.$imgs[0].') no-repeat bottom left; background-size:cover; -webkit-border-radius:0px; -mox-border-radius:0px; width:100%; height:100px';
 
that is not a file, but inline styling in the HTML.

You can modify that in includes/beerListTable.php ~line 126 and includes/beerListTableVerticle.php ~line 50
if(count($imgs) > 0) $style .= ($style != ""?";":"").'background:url('.$imgs[0].') no-repeat bottom left; background-size:cover; -webkit-border-radius:0px; -mox-border-radius:0px; width:100%; height:100px';


Thanks for replying! I went to line 126 and this is not there. I scrolled down and no luck. I also copied and pasted in the search bar and comes up not found. here is a screen shot of line 126 to 168. I'm probably blind. Like I have told everyone I'm totally new to this and apologize for my lack of experience. I really appreciate everyone help. In a previous post I uploaded a copy of my style.css file (GBPD80 style.css) if you would like to take a look at that. Thank you!
 

Attachments

  • Capture.JPG
    Capture.JPG
    383.2 KB
The screen shot is of the wrong file, that file is beer_list.php but you need to look at beerListTable.php


AWESOME!!!! THANK YOU so much!!!! The tap handles are now set to the size I like. Could I trouble you to point me in the direction for my beer images i.e. Lemon, seltzer glass see attached picture.
 

Attachments

  • Capture.JPG
    Capture.JPG
    142.7 KB
Yes, they certainly are ... 4,610 data points without a hitch. On that subject, is there a way to delete old readings so the database does not grow in size out of control?

Now to figure out "plan b" on the best way to get the data cables from inside the freezer to outside the keezer while still making it "somewhat" easy to remove the RPi and Arduino if the need arises. I had used a 8 pin DIN connector (with soldered connections), but that turned out to be the most likely problem in my data cabling. I'll probably just pass the cabling through the collar and use Dupont connectors to the boards so they can be unplugged if needed.

Dang it! (I'd use stronger language if this wasn't a public forum). The temperature has stopped updating again. When I run ls /sys/bus/w1/devices/ the probe shows up and does not go away (I have queried it occasionally for 30 minutes now), yet the temperature display and the temperature history are not updating. Nothing has changed in my wiring, the only thing I did was move the probe from outside the keezer to inside the keezer through a hole drilled in the collar. The system has simply stopped updating. I have stopped and started the flowmon service (both using the restart button in admin, and manually through the terminal). Nothing I do makes the temperatures update.
 
Dang it! (I'd use stronger language if this wasn't a public forum). The temperature has stopped updating again. When I run ls /sys/bus/w1/devices/ the probe shows up and does not go away (I have queried it occasionally for 30 minutes now), yet the temperature display and the temperature history are not updating. Nothing has changed in my wiring, the only thing I did was move the probe from outside the keezer to inside the keezer through a hole drilled in the collar. The system has simply stopped updating. I have stopped and started the flowmon service (both using the restart button in admin, and manually through the terminal). Nothing I do makes the temperatures update.
Disregard ... the lowest temp was set to "20" in the admin screen, apparently that's C and not F, and since the temp in the keezer is less than 20 C ... setting it to "0" started the readings again.
 
The screen shot is of the wrong file, that file is beer_list.php but you need to look at beerListTable.php

RandR+ Thank you so much!!!!! Please disregard my previous reply.
After some digging around for the better part of today I finally found where I can make my images like my Lemon larger.
includes/functions.php Line 120 $imgs = "<img src=".$imgFiles[0]." style=\"border:0;width:170px\">";

Now The only things I'm waiting for are my flow meters and motion sensor.

Thanks again it is much appreciated!!!!!
 
This is so very very frustrating. Works for a few days and then stops again. Im back to getting this error message and don't know why.

2020-05-20 18:46:57 RPINTS: No such device - Sleeping to try again
2020-05-20 18:47:07 RPINTS: valve update: RPU:VALVE:0=0
2020-05-20 18:47:07 RPINTS: valve update: RPU:VALVE:1=0
2020-05-20 18:47:07 RPINTS: valve update: RPU:VALVE:2=0
2020-05-20 18:47:07 RPINTS: valve update: RPU:VALVE:3=0
2020-05-20 18:47:07 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
2020-05-20 18:47:09 RPINTS: starting setup...
2020-05-20 18:47:09 RPINTS: resetting alamode to try to force it to listen to us...
2020-05-20 18:47:11 RPINTS: giving it a short break to wake up again...
2020-05-20 18:47:13 RPINTS: reflashing Arduino via:
/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
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
2020-05-20 18:47:13 RPINTS:
2020-05-20 18:47:13 RPINTS: starting WS server
2020-05-20 18:47:13 RPINTS: starting device monitors...
2020-05-20 18:47:13 RPINTS: starting command server
2020-05-20 18:47:13 RPINTS: resetting Arduino
2020-05-20 18:47:13 RPINTS: starting fan control
2020-05-20 18:47:13 RPINTS: Fan Control fanControl1 is Running
2020-05-20 18:47:14 RPINTS: Not Configured to run Fan
2020-05-20 18:47:15 RPINTS: serial connection stopped...
2020-05-20 18:47:15 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 18:47:16 RPINTS: flowmonitor aborted, restarting...
2020-05-20 18:47:16 RPINTS: resetting Arduino
2020-05-20 18:47:17 RPINTS: serial connection stopped...
2020-05-20 18:47:17 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 18:47:31 RPINTS: flowmonitor aborted, restarting...
2020-05-20 18:47:31 RPINTS: resetting Arduino
2020-05-20 18:47:32 RPINTS: serial connection stopped...
2020-05-20 18:47:32 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 18:47:33 RPINTS: flowmonitor aborted, restarting...
2020-05-20 18:47:34 RPINTS: resetting Arduino
2020-05-20 18:47:36 RPINTS: serial connection stopped...
2020-05-20 18:47:36 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 18:47:37 RPINTS: flowmonitor aborted, restarting...
2020-05-20 18:47:37 RPINTS: resetting Arduino
2020-05-20 18:47:38 RPINTS: serial connection stopped...
2020-05-20 18:47:38 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 18:47:39 RPINTS: flowmonitor aborted, restarting...
2020-05-20 18:47:39 RPINTS: resetting Arduino

EDIT- So I shut everything down for a few minutes. Rebooted the pi and Arduino and then it works and this is the log file.

2020-05-20 18:52:55 RPINTS: No such device - Sleeping to try again
2020-05-20 18:53:02 RPINTS: valve update: RPU:VALVE:0=0
2020-05-20 18:53:02 RPINTS: valve update: RPU:VALVE:1=0
2020-05-20 18:53:02 RPINTS: valve update: RPU:VALVE:2=0
2020-05-20 18:53:02 RPINTS: valve update: RPU:VALVE:3=0
2020-05-20 18:53:02 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
2020-05-20 18:53:04 RPINTS: starting setup...
2020-05-20 18:53:04 RPINTS: resetting alamode to try to force it to listen to us...
2020-05-20 18:53:06 RPINTS: giving it a short break to wake up again...
2020-05-20 18:53:08 RPINTS: reflashing Arduino via:
/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
2020-05-20 18:53:13 RPINTS:
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: reading input file "/var/www/html//arduino/raspberrypints/raspberrypints.cpp.hex"
avrdude: writing flash (11866 bytes):

Writing | ################################################## | 100% 2.29s

avrdude: 11866 bytes of flash written
avrdude: verifying flash memory against /var/www/html//arduino/raspberrypints/raspberrypints.cpp.hex:
avrdude: load data flash data from input file /var/www/html//arduino/raspberrypints/raspberrypints.cpp.hex:
avrdude: input file /var/www/html//arduino/raspberrypints/raspberrypints.cpp.hex contains 11866 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.74s

avrdude: verifying ...
avrdude: 11866 bytes of flash verified

avrdude done. Thank you.


2020-05-20 18:53:13 RPINTS: starting WS server
2020-05-20 18:53:13 RPINTS: starting device monitors...
2020-05-20 18:53:13 RPINTS: starting command server
2020-05-20 18:53:13 RPINTS: resetting Arduino
2020-05-20 18:53:13 RPINTS: starting fan control
2020-05-20 18:53:13 RPINTS: Fan Control fanControl1 is Running
2020-05-20 18:53:13 RPINTS: Not Configured to run Fan
2020-05-20 18:53:14 RPINTS: 1Wire Temperature Thread 1 is Running
2020-05-20 18:53:14 RPINTS: waiting for Arduino to come alive
2020-05-20 18:53:16 RPINTS: Arduino alive...
2020-05-20 18:53:16 RPINTS: getting config data for Arduino
2020-05-20 18:53:16 RPINTS: Arduino config, about to send: C:4:3:4:5:6:0:200:25:25:50:0:0:1|
2020-05-20 18:53:16 RPINTS: Waiting for Config Response
2020-05-20 18:53:16 RPINTS: Arduino says: C:4:3:4:5:6:0:200:25:25:50:0:0:1|

2020-05-20 18:53:16 RPINTS: listening to Arduino
2020-05-20 18:53:16 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-05-20 19:46:22 RPINTS: got a update: U;-1;3;51
2020-05-20 19:46:22 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|
2020-05-20 19:46:25 RPINTS: got a pour: P;-1;3;88
Pourpour on pin: 3, count: 88, conversion: 575, amount: 0.15304347826087, amountUnit: ml, user: N/A
2020-05-20 19:46:25 RPINTS: restarting fan timer after pour
2020-05-20 19:46:25 RPINTS: count update: RPU:FLOW:3=88:-1
2020-05-20 19:46:25 RPINTS: Reset Tap during loop Pin 3 0
2020-05-20 19:46:26 RPINTS: Sending Status;NOTOK;-1;0;0;0;0;0;|

EDIT-2. So 24 hrs later stopped working and this was the log lines straight after the ones above

('Unexpected error:', <class 'serial.serialutil.SerialException'>)
Traceback (most recent call last):
File "/var/www/html/python/FlowMonitor.py", line 269, in monitor
msg = self.readline_notimeout()
File "/var/www/html/python/FlowMonitor.py", line 74, in readline_notimeout
c = self.arduino.read(1)
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
'device reports readiness to read but returned no data '
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2020-05-20 20:11:44 RPINTS: flowmonitor aborted, restarting...
2020-05-20 20:11:44 RPINTS: NOT resetting Arduino
2020-05-20 20:11:45 RPINTS: waiting for Arduino to come alive
2020-05-20 20:11:45 RPINTS: serial connection stopped...
2020-05-20 20:11:45 RPINTS: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2020-05-20 20:11:46 RPINTS: flowmonitor aborted, restarting...
2020-05-20 20:11:46 RPINTS: resetting Arduino
2020-05-20 20:11:47 RPINTS: serial connection stopped...
2020-05-20 20:11:47 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-20 20:11:48 RPINTS: flowmonitor aborted, restarting...
2020-05-20 20:11:48 RPINTS: resetting Arduino

Then every now and again this...

2020-05-21 17:47:29 RPINTS: resetting Arduino
[2020-05-21 17:47:29,808] [ERROR] mod_pywebsocket.standalone.WebSocketServer: Exception in processing request from: ('::1', 55246, 0, 0)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 293, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 610, in process_request
t.start()
File "/usr/lib/python2.7/threading.py", line 736, in start
_start_new_thread(self.__bootstrap, ())
error: can't start new thread

2020-05-21 17:47:31 RPINTS: serial connection stopped...
2020-05-21 17:47:31 RPINTS: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
2020-05-21 17:47:32 RPINTS: flowmonitor aborted, restarting...
2020-05-21 17:47:32 RPINTS: resetting Arduino

Surely this is enough to tell what the hell is going on here??
 
Last edited:
Hello! I am a 19 year old brewer from Norway. Last week I got my hands on a custom built kegerator, which are going right in my apartment for when I start college in the autumn.

There are flowmeters mounted on the taplines and I have a raspberry pi with connected screen ready to set up. My programming capabilities are limited but still I want to get raspberrypints up and running on this kegerator, I have been trying to follow the tutorial on raspberrypints website (outdated, I know), and also trying to look after some tutorials on this forum, which I struggle to find.

I would greatly appreciate any kind of help regarding this issue.
Cheers from Norway :)
 

Attachments

  • 061_483293916.jpg
    061_483293916.jpg
    151.4 KB
Hello! I am a 19 year old brewer from Norway. Last week I got my hands on a custom built kegerator, which are going right in my apartment for when I start college in the autumn.

There are flowmeters mounted on the taplines and I have a raspberry pi with connected screen ready to set up. My programming capabilities are limited but still I want to get raspberrypints up and running on this kegerator, I have been trying to follow the tutorial on raspberrypints website (outdated, I know), and also trying to look after some tutorials on this forum, which I struggle to find.

I would greatly appreciate any kind of help regarding this issue.
Cheers from Norway :)
Follow this link here.. Also read this thread from about 100 pages onwards. Lot of reading I know but you will learn heaps.

Nice kegerator..

https://www.rpints.com/
 
Hello! I am a 19 year old brewer from Norway. Last week I got my hands on a custom built kegerator, which are going right in my apartment for when I start college in the autumn.

There are flowmeters mounted on the taplines and I have a raspberry pi with connected screen ready to set up. My programming capabilities are limited but still I want to get raspberrypints up and running on this kegerator, I have been trying to follow the tutorial on raspberrypints website (outdated, I know), and also trying to look after some tutorials on this forum, which I struggle to find.

I would greatly appreciate any kind of help regarding this issue.
Cheers from Norway :)
Last night I formatted the SD card and did a clean install of Raspbian lite & after all the updates I visited “rpints.com” using chromium and then ran the script from that web page and everything worked a treat... only problem I have now is that I don’t have any response from my flow meter? I have stopped & started the flowmon service but still no luck? Do any of you in the “brains trust“ have any ideas? Tap one shows flow pin 8 & count per L = 5880? 5V is on on the alamode board (& the breadboard is getting 5v? Pours are working with mouse click but nothing for flow meter?
 
that don't warrant a sendPulseCount() gets one of those?
no small pours don't even get those. They really are just for debugging, I picked that up from a different branch and it seemed like a good way to know that you are getting something from the flowmeters
 
response from my flow meter
If using my version, Check /var/log/rpints.log or in the admin section under install there is a log page.
That might give you a hint as to why its not working
 
what the hell is going on here??

The main problem is this
could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

I will do some research to see if why that can happen, it could be something else is taking over the usb connection and kicking flowmon out
 
no small pours don't even get those. They really are just for debugging, I picked that up from a different branch and it seemed like a good way to know that you are getting something from the flowmeters
I think I see now - so any flowmeter pulses get reported before filtering via that method? I would expect to see both on a valid pour?

All of my Unos are "otherwise disposed" (you should see my bench) so I can't really visualize.
 
I would expect to see both on a valid pour?
Yep the logs would look like this (newsest on top):
5/14/2020 10:20:14 PM got a pour: P;-1;3;585
5/14/2020 10:20:11 PM got a update: U;-1;3;502
5/14/2020 10:20:03 PM got a update: U;-1;3;251
 
Thank you for your help, i have now installed the software (Randr+) version. However i am struggeling to get my flowmeters hooked up. As i mentioned i purchased the kegerator already built. The issue with this is that i havent been involved in the building process, and therefore dont know much about his wiring. I have a usb thats hooked up to the flowmeters and have no idea what to do with it. Sorry for my limited knowledge :p
 
Thank you for your help, i have now installed the software (Randr+) version. However i am struggeling to get my flowmeters hooked up. As i mentioned i purchased the kegerator already built. The issue with this is that i havent been involved in the building process, and therefore dont know much about his wiring. I have a usb thats hooked up to the flowmeters and have no idea what to do with it. Sorry for my limited knowledge :p
The usb comes from an arduino hooked up to two 3pinconnected swiss flowmeters, in arduino there are 3 devices showing; /dev/ttys0 /dev/ttys1 and /dev/ttyACM0.

If i pull out the arduino from the raspberry only /dev/ttys0 is showing.

The board and the connected wires were according to the previous owner compatible with the original raspberry pints.
 
The main problem is this
could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

I will do some research to see if why that can happen, it could be something else is taking over the usb connection and kicking flowmon out
Thanks mate. This is driving me nuts. Anything I can do at my end let me know.
 
The board and the connected wires were according to the previous owner compatible with the original raspberry pints.
The wires from the flowmeters should go to the Arduino board, the Arduino board should connect to the pi using a USB (it sound like it is)

During installation did you hit Y to install Flowmeters? What port did you pick when it asked (Serial/USB/Bluetooth).

Did you configure the admin tap list page with the pins the wires are connected to on the Arduino (probably the yellow one, should be connected next to each) post a picture of it will help us verify
 
Ok, i will add some more photos of how he have wired things up. It looks like a mess to be honest and i dont know if its even possible to see how its drawn. I installed flowmeters and i picked usb. I can see on the breadboard that the resistors are very close to another, maybe even touching?

Is this how its supposed to be with two swiss valves? Or is it how it is showcased in the link? How to wire Water Flow Sensor G1/2'', Water Flow Sensor G1/2'' to Arduino Uno
IMG_20200522_001816.jpgIMG_20200522_002450.jpgIMG_20200522_002509.jpgIMG_20200522_002518.jpgIMG_20200522_002546.jpgIMG_20200522_002551.jpg
 
Last edited:

Latest posts

Back
Top