[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.
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.
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).
 
One may not edit posts after a certain amount of time. The moderators would need to do that.

If I may suggest: The various people doing work on this should create the target first, then the mod could be called in to add the link to the first page.
 
I've been vacillating between letting things lay vs recommending forking this thread, particularly with the emergence of Stretch and the coincidental mysql chaos.

There's no doubt there has been some benefit to the coexistence of effectively three different packages all trying to do roughly the same thing. Problems in one have visibility across the broadened experience base. But, otoh, when newcomers arrive with questions, I'm constantly wondering "which branch is he/she using?" and usually have to ask.

If folks feel forking would be a benefit, I propose RandR+ create his thread and Tobor_8thMan create his - and I recommend the threads be of similar titles so they won't get lost (eg: "RaspberryPints - RandR+ Branch" and "RaspberryPints - Tobor_8thMan Branch").

Once established, at the very least I can have a moderator edit the second post in this thread (mine) with forward pointers accompanied by a terse explanation of what happened and why. That would relieve the mods of the issue of editing someone's post who hasn't made an appearance in a hella long time...

Cheers!
 
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

What are the pros/cons of each of these versions? (official RPints, Tobor's, RandR+'s, and edost's)
 
Trying to help a fellow HBT with displaying the temp on the Raspberry Pints screen. php to do isn't an issue. Problem I've run into is the dreaded linux.

Hoping someone with more linux knowledge than me will have a resolution to the problem I describe.

Ran into issues with expired Debian keys. I was able to install sqlite3, but not use php to query/access the db.

Using sqlite3 command line I opened the temp_data.db sent to me. I see there are plenty rows of data. Most recent is from Friday, September 6, 2019 so I know the temp probe is working and data are being logged.

I've downloaded phpliteadmin, put the 3 files (2 phpliteadmin files and the db) into the newly created database folder (var/www/html/database) with 777 permissions.

In the browser I then surf to localhost/database/phpliteadmin.php

Even through the command line sqlite3 opens the temp_data.db and I'm able to query the database, I get errors running phpliteadmin.php. I'm told PDO SQLite Driver not installed. SQLite3 not installed, SQLiteDatabase not installed.

How to resolve the needed items not being installed? I've searched online, but have run into 1 linux error after another. Mostly these errors are due to Debian key expiring in May 2019.

Any linux experts (or at least someone playing a linux expert on TV) able to profile instructions on installing the missing items in Debian running php7.2?

Thanks.
 
Looks like re-integrating my temperature logger into the tap list page, something I'm keenly interested in seeing working again. The collective had a ***** of a time getting the integration working the first time :)

I use phpliteadmin with the temperature database as well. The installation was as straightforward as you imply. From my system log:

Code:
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;

Note in this case /var/www is the default Apache2 DocumentRoot hence the location of RaspberryPints and the phpliteadmin files there.

Any package dependencies must've been resolved when installing the basic php and sqlite support because my log says after the above was done it just worked...

Cheers!

[edit] fwiw, I went back through my build log and found when we got the temperature scroller thingie integrated on the RaspberryPints tap list page I needed to install php5-sqlite. But I didn't need that just to run the logger as a standalone application.
 
Last edited:
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
 
What are the pros/cons of each of these versions? (official RPints, Tobor's, RandR+'s, and edost's)
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.

Tobor's and edost's versions; as far as I know, are the original that works on php 7.0, not sure what other features were added.

RandR+ is a rework of the original, it keeps the same feel but moves all the configuration into the web page so there is no need to modify the Arduino code. Many features that were thought of and created by others have been integrated (temp probes, motion sensor, volume estimation) Cons are that its maintained by just me and I don't have it well documented yet and may have a few bugs.
Side note: its installation script can be used to install The Original, Tobor's or RandR+ version.
 
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

in a terminal window I did sudo su then typed in the for K etc exactly as shown. I get

Warning: apt-key ouput should not be parsed (stdout is not a terminal)

"pub" not a key ID: skipping

"uid" not a key ID: skipping

tried sudo apt-get update

sudo apt-get-install php7.2-sqlite3

both result in pub key is not available, failed to fetch, etc.
 
Last edited:
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.

First off I want to say thank you SO MUCH to @LBussy for the auto-installer code!!! And thank you to RandR+ and @Tobor_8thMan for the updates to the code to keep this working.

I originally did my rasperrypints build about 5 years ago and MAN was that a pain! I was dreading having to go through the whole process again, but in going back through this forum I was able to discover the info I needed to use the new install script and that shizz is the bees knees! I have to say I am also very partial to the updates and integration available in RandR+'s version.

Do any of you guys have donation links to help say thanks for the work you guys have done?

@RandR+ I had just a couple of questions:

Can you maybe provide a little bit more info on the Untappd integration? Not sure if this is one of those features that the groundwork has been laid for, but hasn't been fully integrated yet or not, but I can't seem to find the info to fill out the form.

Where does one find their:

Untappd ClientID:
Untappd Client Secret:
Untappd Brewery ID:

Also I have previously done a Brepints build as well and finally pulled it out again and not sure if my sd is corrupted or what, but it wasn't displaying anything when I hooked it up to HDMI so I was looking at just starting from scratch again and was stoked to hear you had possibly done some work on that project as well. Where does one find the google doc for the Brewpi project?

Thanks again! You guys rock!
 
First off I want to say thank you SO MUCH to @LBussy for the auto-installer code!!! And thank you to RandR+ and @Tobor_8thMan for the updates to the code to keep this working.

I originally did my rasperrypints build about 5 years ago and MAN was that a pain! I was dreading having to go through the whole process again, but in going back through this forum I was able to discover the info I needed to use the new install script and that shizz is the bees knees! I have to say I am also very partial to the updates and integration available in RandR+'s version.

Do any of you guys have donation links to help say thanks for the work you guys have done?

@RandR+ I had just a couple of questions:

Can you maybe provide a little bit more info on the Untappd integration? Not sure if this is one of those features that the groundwork has been laid for, but hasn't been fully integrated yet or not, but I can't seem to find the info to fill out the form.

Where does one find their:

Untappd ClientID:
Untappd Client Secret:
Untappd Brewery ID:

Also I have previously done a Brepints build as well and finally pulled it out again and not sure if my sd is corrupted or what, but it wasn't displaying anything when I hooked it up to HDMI so I was looking at just starting from scratch again and was stoked to hear you had possibly done some work on that project as well. Where does one find the google doc for the Brewpi project?

Thanks again! You guys rock!

Helping others is enough for me. You're welcome.
 
Can you maybe provide a little bit more info on the Untappd integration?
That is more of the ground work. I need to create a developer account with them which requires a website to get the last bit of coding done to get the user id into RPints. Since I don't have a website for a product that can integrate with them, I don't think they would be willing to give me the developer access I need.

Where does one find the google doc for the Brewpi project?
I haven't really done anything with BrewPi. I remember something about different open source project that couldn't run side by side with RPints because it uses a different server than Apache. For the life of my I cant remember what that was now...
 
That is more of the ground work. I need to create a developer account with them which requires a website to get the last bit of coding done to get the user id into RPints. Since I don't have a website for a product that can integrate with them, I don't think they would be willing to give me the developer access I need.
I haven't really done anything with BrewPi. I remember something about different open source project that couldn't run side by side with RPints because it uses a different server than Apache. For the life of my I cant remember what that was now...

Ahh OK well I look forward to you being able to set that stuff up!

There are a few problems I have encountered:

  • Getting the taplist to display the beer rating
  • Having the dotted line separating the bitterness column from the beer name/tasting notes column when displaying beer or Brewery images
  • Brewery images are tiny when display is in rotated orientation
  • When I do a test pour (My flow meters are in the mail) it goes from 0 gallons poured 5 gallons left to 0 gallons poured 0 gallons left
  • Is there any way to handle screen orientation within the interface later on rather than having to edit config.txt?
  • Not sure if I missed something during install, but I had to manually add and edit /home/pi/.config/lxsession/LXDE-pi/autostart in order to get it to boot into chromium in kiosk mode otherwise it was just booting to regular desktop
  • It seems that when importing beer info from a beer xml generated from Beersmith that it won't import beers with names past a certain length and same thing with malt or other ingredients that have longer names.
  • Is there any way to adjust the font size for the beer names, style, and tasting notes? They are a bit hard to read at the current font size on the 32" screen I am using.

Thanks again for all the work you've done and continue to do. It's an awesome time to be alive with all of these open source DIY projects with such amazing capabilities.
 

Attachments

  • rpints issue 3.JPG
    rpints issue 3.JPG
    130.7 KB · Views: 45
  • rpints issue 2.JPG
    rpints issue 2.JPG
    253.9 KB · Views: 34
thanks to help from @Tobor_8thMan i was able to resurrect an old diddy from @day_trippr and get a current fridge temp readout on tobor's version of rpints.

instructions are here: https://www.homebrewtalk.com/forum/...e-temperature-logger-for-raspberry-pi.469523/

and here: https://www.homebrewtalk.com/forum/index.php?posts/6422470/

with the following modifications from @Tobor_8thMan:

He's telling us to modify the Raspberry Pints logo to use the temp display. For my version this means changing the following

echo '<div class="HeaderRight" style="padding-top:1cm;">' . "\n";
$output = '<a href="http://www.raspberrypints.com"><img src="img/';
$output .= ($config[ConfigNames::UseHighResolution]) ? 'RaspberryPints-4k.png" height="200"' : 'RaspberryPints.png" height="32"';
$output .= ' alt=""></a>' . "\n";
echo $output;

to

echo '<div class="HeaderRight" style="padding-top:1cm;">' . "\n";
include ''temp_insert.php'; <-- of course MUST be able to find. This expects temp_insert.php in the same location as index.php
echo "\n";


oh. and one very important command i stumbled upon. one must run "sudo a2enmod cgi" to enable apache2 to run cgi scripts

Screen Shot 2019-09-10 at 4.53.59 PM.png
 
So I’ve had a couple of things on the back burner that I need to get to. I’ve had a broken flow sensor for a bit that I need to replace. I have a three tap setup with swissflow sensors. One sensor had the wires get brittle and snap right up against the sensor body so I’m pretty sure I’m SOL as far as repairs. Which brings me to an impass as far as re ordering maybe another swissflow sensor and possibly a spare but as we know super expensive and waiting forever for shipping. I’m considering just going with an adafruiton the bum tap. Has anyone mixed the sensors with any success and it have modifications required to the code before I possibly attempt something making my life more difficult and reinventing the wheel?
Secondly the sensors breaking cause they are just kinda dangling inline has anyone designed any sort of mount that would work well for containing the sensors to protect them. Possibly some sort of 3d printed bracket with a safe way to mount inside a fridge.
Thirdly while I’m at it definitely seems like a lot of progress has been made on the system now post Jessie. Seems like a viable time to upgrade my system as it’s never ran like I’d hoped WiFi wise. What are the install instructions for this script to auto install. I’ve found the fork on raspberry pints github but I don’t know how to use it.
 
One more random thought or add on idea. Since I’ve never been happy with this pis network performance as it’s always dropping off etc I’ve tried coding changes external usb WiFi antanae etc. maybe it’s just a bum pi and I’ve been battling it to no avail. My thought is this. I have other single board computers with a low workload that are reliably hard wired for other projects in the house. What if I were to scrap the complicated pi and uno on the back of the fridge and just do a simple esp 8266 particle photon or some other simple WiFi microcontroller to wirelessly send pours to my pints server in another room of the house installed on one of the reliably hard wired single board computers. This could maybe be super simply communicated by sending the data using mosquito to a subscribed topic. Currently I have an odoroid xu4 and a pi3b+ with a pretty low workload that could run the pints server. I think this would simplify the hardware setup on the back of the fridge as well.
 
It would not be too hard to change the Arduino code to work with multiple sensor types. If you could live with certain type of sensors on specific pins that would make it easier. Leave the Pi code alone and make the Arduino adjust the values sent.

RandR's version looks to support a mix of sensor types.
 
It would not be too hard to change the Arduino code to work with multiple sensor types. If you could live with certain type of sensors on specific pins that would make it easier. Leave the Pi code alone and make the Arduino adjust the values sent.

RandR's version looks to support a mix of sensor types.

Oh even better. Perhaps I just need to install that version and see what functionality has been added then go from there with modifications. I’m definitely not afraid to alter the arduino code. It seems like the cheapest most practical option moving forward. It doesn’t seem there’s enough of a benefit to having the swissflow and it just makes instances like this more difficult it would seem.
 
Ahh OK well I look forward to you being able to set that stuff up!

There are a few problems I have encountered:

  • Getting the taplist to display the beer rating
  • Having the dotted line separating the bitterness column from the beer name/tasting notes column when displaying beer or Brewery images
  • Brewery images are tiny when display is in rotated orientation
  • When I do a test pour (My flow meters are in the mail) it goes from 0 gallons poured 5 gallons left to 0 gallons poured 0 gallons left
  • Is there any way to handle screen orientation within the interface later on rather than having to edit config.txt?
  • Not sure if I missed something during install, but I had to manually add and edit /home/pi/.config/lxsession/LXDE-pi/autostart in order to get it to boot into chromium in kiosk mode otherwise it was just booting to regular desktop
  • It seems that when importing beer info from a beer xml generated from Beersmith that it won't import beers with names past a certain length and same thing with malt or other ingredients that have longer names.
  • Is there any way to adjust the font size for the beer names, style, and tasting notes? They are a bit hard to read at the current font size on the 32" screen I am using.

Thanks again for all the work you've done and continue to do. It's an awesome time to be alive with all of these open source DIY projects with such amazing capabilities.

From the attached photos, IMO, the html is not well formed. This caused the screwed up columns. What version of Raspberry Pints is running?
 
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 changes

config['flowmon.debug' ] = False#True
config['dispatch.debug' ] = False#True

to
config['flowmon.debug' ] = True
config['dispatch.debug' ] = True

You also have to set a pulse count per gallon/liter. If it is 0 then pours will register but not log.
 

2019-09-10 17:03:02 RPINTS: No such device - Sleeping to try again
2019-09-10 17:03:07 RPINTS: No such device - Sleeping to try again
2019-09-10 17:03:12 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
RPINTS: reflashing alamode 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
2019-09-10 17:03:17 RPINTS: starting WS server
2019-09-10 17:03:17 RPINTS: starting tap flow meters...
2019-09-10 17:03:17 RPINTS: starting command server
2019-09-10 17:03:17 RPINTS: starting fan control
2019-09-10 17:03:17 RPINTS: Fan Control fanControl1 is Running
2019-09-10 17:03:17 RPINTS: Not Configured to run Fan
2019-09-10 17:03:18 RPINTS: serial connection stopped...
2019-09-10 17:03:19 RPINTS: flowmonitor aborted, restarting...
2019-09-10 17:03:20 RPINTS: serial connection stopped...
2019-09-10 17:03:21 RPINTS: flowmonitor aborted, restarting...
2019-09-10 17:03:22 RPINTS: serial connection stopped...
2019-09-10 17:03:23 RPINTS: flowmonitor aborted, restarting...
2019-09-10 17:03:24 RPINTS: serial connection stopped...
2019-09-10 17:03:25 RPINTS: flowmonitor aborted, restarting...
2019-09-11 09:47:38 RPINTS: serial connection stopped...
2019-09-11 09:47:39 RPINTS: flowmonitor aborted, restarting...
2019-09-11 09:47:40 RPINTS: serial connection stopped...
2019-09-11 09:47:41 RPINTS: flowmonitor aborted, restarting...
2019-09-11 09:47:42 RPINTS: serial connection stopped...
2019-09-11 09:47:43 RPINTS: flowmonitor aborted, restarting...

I haven't been able to successfully flash the arduino so maybe that is the issue? I've set a counts per gallon value and assigned a pin in the GUI interface.
 
okay so I was bored and tinkering around with my ideas as far as testing the feesibility of using a small wifi microcontroller like an esp8266 connected to my fridge for remote sensors with a remote server for the pints database. Before I get to porting over a new .ino code I wanted to get the logistics figures out on the pints end first. I checked into Randr+'s version and wholly crap he has added alot of functionality in there. Good work however so much so I think it would be difficult for me to modify to create what I'm envisioning.. I went with tobors as it is seeming to be simplified like I remember which will make it easier for me to hack around. I have modified my flow monitor.py to subscribe to an mqtt topic and when that topic is published it parses it and attempts to send off to the pours.php, I didnt change the code at all for sending the pin and pulse count off just how it receives the data and when attempting to send some test mosquitto messages my flow_monitor.py recieves and parses the message fine but i get this error when it sends the data off as well as the pour not actually registering.

PHP Warning: mysqli_query() expects at least 2 parameters, 1 given in /var/www/ html/includes/pours.php on line 76

this is the code in that area of pours.php with line numbers added

line73 $qry = "INSERT INTO pours(tapId, pinId, amountPoured, pulses) values ('".$taps[0]."','".$PIN."','".$amount."','".$PULSE_COUNT."')";
line74
line75// OLD CODE mysql_query($qry);
line76 mysqli_query($qry);
}
any ideas @Tobor_8thMan @kaljade
 
I haven't been able to successfully flash the arduino so maybe that is the issue
I'm guessing you are using a Uno version? since in the log you posted it said it was using /dev/ttyACM0 which is the USB port.

If you are not using USB to connect to the Arduino that is your issue,
if you are using USB, I would stop the Flowmon service then try to upload the ino manually through the Arduino IDE
 
@RandR+ I followed your instructions and enabled logging. I am now getting pour information. Next thing is to set up users and try to show pours in Liters vs gallons. Thank you so much for your assistance and everyone else who gave me guidance.
 
Last edited:
pours in Liters vs gallons
Did you see on the Admin screen in the menu under personalize there is a units of measure link?
it gives you the option to change the volume to liters.
If you change it, going forwarded any configuration changes will have to be in liters as well
 
Did you see on the Admin screen in the menu under personalize there is a units of measure link?
it gives you the option to change the volume to liters.
If you change it, going forwarded any configuration changes will have to be in liters as well

Yes I found it and changed it. One thing i did notice is I create a user account. Log in as that user and pour a beer, it shows that the beer was poured but the user is blank and on the logs shows N/A.
 
okay so I was bored and tinkering around with my ideas as far as testing the feesibility of using a small wifi microcontroller like an esp8266 connected to my fridge for remote sensors with a remote server for the pints database. Before I get to porting over a new .ino code I wanted to get the logistics figures out on the pints end first. I checked into Randr+'s version and wholly crap he has added alot of functionality in there. Good work however so much so I think it would be difficult for me to modify to create what I'm envisioning.. I went with tobors as it is seeming to be simplified like I remember which will make it easier for me to hack around. I have modified my flow monitor.py to subscribe to an mqtt topic and when that topic is published it parses it and attempts to send off to the pours.php, I didnt change the code at all for sending the pin and pulse count off just how it receives the data and when attempting to send some test mosquitto messages my flow_monitor.py recieves and parses the message fine but i get this error when it sends the data off as well as the pour not actually registering.

PHP Warning: mysqli_query() expects at least 2 parameters, 1 given in /var/www/ html/includes/pours.php on line 76

this is the code in that area of pours.php with line numbers added

line73 $qry = "INSERT INTO pours(tapId, pinId, amountPoured, pulses) values ('".$taps[0]."','".$PIN."','".$amount."','".$PULSE_COUNT."')";
line74
line75// OLD CODE mysql_query($qry);
line76 mysqli_query($qry);
}
any ideas @Tobor_8thMan @kaljade
update i managed to fix it and its registering pours from my mqtt messages now by editing line 76 to this
mysqli_query($link, $qry);
 
I'm guessing you are using a Uno version? since in the log you posted it said it was using /dev/ttyACM0 which is the USB port.

If you are not using USB to connect to the Arduino that is your issue,
if you are using USB, I would stop the Flowmon service then try to upload the ino manually through the Arduino IDE


I'm using USB to connect it to the Rpi and it is indeed an Arduino Uno R3. I'll try finding and uploading using the .ino, but is there anywhere I can just get the .hex from and then flash it using that on my computer using xloader/avrdude?
 
I believe pours.php was fixed a few weeks ago and the new version was posted in this forum.

You wouldn’t happen to have a link or a GitHub would you? I’m just curious if anything else changes besides what I did so I don’t run into more issues.. I think I have it working with my changes but I’m sure you guys found more errors I have t encountered yet. I. Making progress I used a particle photon to send pour messages to pints via Mqtt so now I’m just working on getting some flow sensor code in there and I should be in business. I’ll post here my work when I’m done of course. :)
 
OK I enabled more logging and was also able to find and flash using the .hex file


2019-09-11 13:03:33 RPINTS: No such device - Sleeping to try again
2019-09-11 13:03:38 RPINTS: No such device - Sleeping to try again
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:0=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:1=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:2=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:3=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:4=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:5=0
2019-09-11 13:03:43 RPINTS: valve update: RPU:VALVE:6=0
2019-09-11 13:03:43 RPINTS: Could not import RFID Reader, RFID disabled. Assuming SPI not installed/configured
2019-09-11 13:03:45 RPINTS: starting setup...
2019-09-11 13:03:45 RPINTS: resetting alamode to try to force it to listen to us...
2019-09-11 13:03:46 RPINTS: giving it a short break to wake up again...
2019-09-11 13:03:48 RPINTS: reflashing alamode 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 alamode 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
2019-09-11 13:03:48 RPINTS:
2019-09-11 13:03:48 RPINTS: starting WS server
2019-09-11 13:03:48 RPINTS: starting tap flow meters...
2019-09-11 13:03:48 RPINTS: resetting alamode
2019-09-11 13:03:48 RPINTS: starting command server
2019-09-11 13:03:48 RPINTS: starting fan control
2019-09-11 13:03:48 RPINTS: Fan Control fanControl1 is Running
2019-09-11 13:03:48 RPINTS: Not Configured to run Fan
2019-09-11 13:03:49 RPINTS: waiting for alamode to come alive
2019-09-11 13:05:52 RPINTS: got WS connection from ('::1', 42378, 0, 0)
2019-09-11 13:05:58 RPINTS: got WS connection from ('::1', 42382, 0, 0)
 
Finally getting back to this after waiting for the flow sensors to arrive and being tied up with life.

I've got the arduino setup with the raspberrypints.ino sketch, it uploads fine and I get 'alive' printed repeatedly in the serial monitor on my PC so that's all good. But when I wire up a flow sensor and pour some water thru it should I not see some output? The flow sensors I got from swissflow have a 3 wires, one of which has red on the side. Initially I thought that would be the 5v wire but from the diagram I got with it, it looks like that's how they label their ground...can anyone confirm?

I get no output from the arduino
 
Finally getting back to this after waiting for the flow sensors to arrive and being tied up with life.

I've got the arduino setup with the raspberrypints.ino sketch, it uploads fine and I get 'alive' printed repeatedly in the serial monitor on my PC so that's all good. But when I wire up a flow sensor and pour some water thru it should I not see some output? The flow sensors I got from swissflow have a 3 wires, one of which has red on the side. Initially I thought that would be the 5v wire but from the diagram I got with it, it looks like that's how they label their ground...can anyone confirm?

I get no output from the arduino
I am not using swissflow sensors but some cheap sensors I got from Amazon. Mine has red- VCC(+) Black- GND(-) and yellow output. I connected Red to 5v on uno Black to Gnd and Yellow to the sensors I set up which are 8-10 and then assigned to a tap. Also make sure that you have count per gallon or it will not show anything. I am using RandR+ install fyi.
 
Finally getting back to this after waiting for the flow sensors to arrive and being tied up with life.

I've got the arduino setup with the raspberrypints.ino sketch, it uploads fine and I get 'alive' printed repeatedly in the serial monitor on my PC so that's all good. But when I wire up a flow sensor and pour some water thru it should I not see some output? The flow sensors I got from swissflow have a 3 wires, one of which has red on the side. Initially I thought that would be the 5v wire but from the diagram I got with it, it looks like that's how they label their ground...can anyone confirm?

I get no output from the arduino
If you RandR+ version there is a bit of handshaking in the beginning before pulse information is reported
If you are using his version this post has some information on how to manually check the uno and flowmeters.
https://www.homebrewtalk.com/forum/...taplist-solution.487694/page-110#post-8541119
 
the user is blank and on the logs shows N/A.
Right now the users are only registered if RFID is used and I'm not sure that is 100% working as I am still testing it.

If you have an idea on how you want to register pours in the web ui who based on who is logged in I can try to make a change
 
I'll try finding and uploading using the .ino, but is there anywhere I can just get the .hex from and then flash it using that on my computer using xloader/avrdude?
There is a hex in the same spot as the ino (Arduino/raspberrypints in the www directory)

You can find the hex file if you compile the ino file with output set to verbose.
 
in a terminal window I did sudo su then typed in the for K etc exactly as shown. I get

Warning: apt-key ouput should not be parsed (stdout is not a terminal)

"pub" not a key ID: skipping

"uid" not a key ID: skipping

tried sudo apt-get update

sudo apt-get-install php7.2-sqlite3

both result in pub key is not available, failed to fetch, etc.
Well, I typed that from memory so not too bad. :) The problem you saw in it is that there was a change to apt-key that makes it more difficult to script. Of course, because why would a *nix developer make their CLI scriptable?

Anyway, do this:
  1. Run apt-key
  2. Search for a line saying "expired"
  3. On that line is a short key like the bold one here: pub 2048R/7BD9BF62
  4. Insert that short key into this command line: apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]
  5. Lather, rinse, repeat for any others which are expired
That should get you where apt works again.

Where does one find the google doc for the Brewpi project?
Do you mean the one I mentioned which has the comparison? I didn't post it yet, might as well start now. Here it is.
 
Back
Top