[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.
First, thank you everyone for posting on this forum and thread. Very helpful information to someone trying to figure it all out.

Second, my question. I have installed Adafruit's flow meters on my lines and have discovered that there is a tremendous amount of foaming being generated as a result. Does anyone have any suggestions about how to make adjustments to minimize the foaming?

Here's the line setup. 3/16" ID beer line to 3/16 barbed x 1/4" Male to 1/4" female x 1/2" male to 1/2" female coupler to 1/2" male Adafruit flow meter (and then reverse on the other end).

I tried adjusting the PSI +/- 2 psi, but no noticeable impact.

Any ideas?

Thanks,

Goran
 
Or you can add a password to MySQL (MariaDB) like this:
PHP:
sudo mysql -u root
update mysql.user set plugin = '' where user='root' and host='localhost';
set password = password('enter_your_password_here');
flush privileges;
quit

I did the password setting as shown but now I am gertting this error.
Validating Entries...Success!
Checking DB connectivity...Success!
Checking config folder permissions...Success!
Update config files...Success!
Update admin config files...Success!
Creating RPints database user...Success!
Running Database Script...
Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/install/includes/configprocessor.php on line 186

Warning: mysql_query(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/html/install/includes/configprocessor.php on line 186

Warning: mysql_query(): A link to the server could not be established in /var/www/html/install/includes/configprocessor.php on line 186
error in query

this is what is in my configprocessor.php file. What changes do i need to make. I am sorry for the long post but this stuff stumps the hell out of me.. As me to rewire or fix old school electronics but programming is not my specialty
<head></head>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Installation Processor</title>
</head>
<body>
<?php
ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);

require_once __DIR__.'/sql_parse.php';

//Process and load form data
$servername = $_POST["servername"];
$rootpass = $_POST["rootpass"];
$dbuser = $_POST["dbuser"];
$dbpass1 = $_POST["dbpass1"];
$dbpass2 = $_POST["dbpass2"];
$adminuser = $_POST["adminuser"];
$adminpass1 = $_POST["adminpass1"];
$adminpass2 = $_POST["adminpass2"];
$action = $_POST["selectaction"];
$adminname = $_POST["adminname"];
$adminemail = $_POST["adminemail"];

//Create the MD5 hash value for the admin password
$adminhash = md5($adminpass1);

//-----------------Do some validation---------
$validerror ='';
//Validate DB password
echo "Validating Entries...";
flush();

if ($dbpass1 != $dbpass2)
{
$validerror .= "<br><strong>Your Database passwords do not match.</strong>";
}

//Validate admin password
if ($adminpass1 != $adminpass2) {
$validerror .= "<br><strong>Your Administrator account passwords do not match.</strong>";
}

echo "Success!<br>";
flush();

//Validate DB connectivity
echo "Checking DB connectivity...";
flush();
$con=mysqli_connect($servername,"root",$rootpass);

if (mysqli_connect_errno())
{
$validerror .= "<br><strong>Cannot connect the the database using the supplied information.</strong>";
}
echo "Success!<br>";
flush();

//Validate that the config directories are writable
echo "Checking config folder permissions...";
flush();
if (!is_writable(dirname('../../includes/functions.php')))
{
$validerror .= "<br><strong>Cannot write the configuration files. Please check the /includes/ folder permissions. See the RPints Installation page on www.raspberrypints.com.</strong>";
}

if (!is_writable(dirname('../../admin/includes/checklogin.php')))
{
$validerror .= "<br><strong>Cannot write the configuration files. Please check the /admin/includes/ folder permissions. See the RPints Installation page on www.raspberrypints.com.</strong>";
}
echo "Success!<br>";
flush();

//##TODO## Check if administrator account already exists



//Display errors and die
if ($validerror !='')
{
echo "<html><body>";
echo $validerror;
echo "<br /><br />Please press the back button on your browser to fix these errors";
echo "</body></html>";
die();
}
// CLEAR INSTALLATION DATA ROUTINES
if ($action == 'remove')
{
echo "Deleting raspberrypints database...";
flush();
$con=mysqli_connect($servername,"root",$rootpass);
// Check connection

if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

$sql = "DROP database raspberrypints;";
$result = mysqli_query($con,$sql);
mysqli_close($con);
echo "Success!<br>";
flush();

echo "Removing configuration files...";
flush();
try {
unlink('../../includes/config.php');
unlink('../../admin/includes/conn.php');
unlink('../../admin/includes/configp.php');
} catch (Exception $e) {
echo 'Caught exception: ', $e->getMessage(), "\n";
}

//unlink('../../includes/config.php');
//unlink('../../admin/includes/conn.php');
//unlink('../../admin/includes/configp.php');

echo "Success!<br>";
flush();
}

if ($action == 'install')
{

require_once __DIR__.'/config_files.php';

//-----------------Create the main config file-----------------
echo "Update config files...";
flush();

file_put_contents('../../includes/config.php', $mainconfigstring);

echo "Success!<br>";
flush();
// -----------------Create the admin files----------------------
echo "Update admin config files...";
flush();

file_put_contents('../../admin/includes/conn.php', $adminconfig1);
file_put_contents('../../admin/includes/configp.php', $adminconfig2);

echo "Success!<br>";
flush();
//-----------------Create RPints User--------------------------
echo "Creating RPints database user...";
flush();
$con=mysqli_connect($servername,"root",$rootpass);
// Check connection

if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

$sql = "GRANT ALL ON *.* TO '" . $dbuser . "'@'" . $servername . "' IDENTIFIED BY '" . $dbpass1 . "' WITH GRANT OPTION;";
$result = mysqli_query($con,$sql);
mysqli_close($con);
echo "Success!<br>";
flush();

//-----------------Run The Schema File-------------------------
echo "Running Database Script...";
flush();
$dbms_schema = "../../sql/schema.sql";


$sql_query = @fread(@fopen($dbms_schema, 'r'), @filesize($dbms_schema)) or die('Cannot find SQL schema file. ');

$sql_query = remove_remarks($sql_query);
$sql_query = remove_comments($sql_query);
$sql_query = split_sql_file($sql_query, ';');


mysqli_connect($servername,'root',$rootpass) or die('error connection');

$i=1;
foreach($sql_query as $sql){
//echo $i++;
//echo " ";
//echo $sql;
//echo "<br>";
mysql_query($sql) or die('error in query');
}

echo "Success!<br>";
flush();

//-----------------Add the admin user to the Users DB----------
echo "Adding new admin user...";
flush();
$con=mysqli_connect($servername,"root",$rootpass,"raspberrypints");
// Check connection

if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$currentdate = Date('Y-m-d H:i:s');
$sql = "INSERT INTO users (username, password, name, email, createdDate, modifiedDate) VALUES ('" . $adminuser . "','" . $adminhash . "','" . $adminname . "','" . $adminemail . "','" . $currentdate . "','" . $currentdate . "');";
$result = mysqli_query($con,$sql);
mysqli_close($con);
echo "Success!<br>";
flush();

//-----------------Delete the index.html page-----------------
echo "Deleting default index.html page...";
flush();
if (!unlink("../../index.html"))
{
echo ("File already deleted");
}
else
{
echo ("Success!");
}
flush();

//-----------------Load the sample data if requested-----------

if(!empty($_POST['sampledata']))
{
echo "Adding sample data...";
flush();

$dbms_schema = "../../sql/test_data.sql";


$sql_query = @fread(@fopen($dbms_schema, 'r'), @filesize($dbms_schema)) or die('Cannot find SQL schema file. ');

$sql_query = remove_remarks($sql_query);
$sql_query = remove_comments($sql_query);
$sql_query = split_sql_file($sql_query, ';');


mysql_connect($servername,'root',$rootpass) or die('error connection');

$i=1;
foreach($sql_query as $sql){
//echo $i++;
//echo " ";
mysql_query($sql) or die('error in query');
}


echo "Success!<br>";
flush();
}
}


if ($action != 'remove')
{
##TODO## Add better error handling before showing the Success message
echo '<br /><br /><br /><h3> Congratulations! Your Raspberry Pints has been setup successfully.<br />';
echo 'Click for - <a href="../../index.php">Tap List</a><br />';
echo 'Click for - <a href="../../admin/index.php">Administration </a><br />';
}

?>
</body>
</html>
 
First, thank you everyone for posting on this forum and thread. Very helpful information to someone trying to figure it all out.

Second, my question. I have installed Adafruit's flow meters on my lines and have discovered that there is a tremendous amount of foaming being generated as a result. Does anyone have any suggestions about how to make adjustments to minimize the foaming?

Here's the line setup. 3/16" ID beer line to 3/16 barbed x 1/4" Male to 1/4" female x 1/2" male to 1/2" female coupler to 1/2" male Adafruit flow meter (and then reverse on the other end).

I tried adjusting the PSI +/- 2 psi, but no noticeable impact.

Any ideas?

Thanks,

Goran

I have an almost identical setup and also getting lots of foaming. Adjusting the psi has also not helped me.
How close to the tap is your flow meter?

My next try is to move the flow meters closer to the tap. Right now I have the flow meters about 18 inches from the taps and I can see air bubble accumulate quite a bit after exiting the flow meter. Hoping that moving to 4 inches from the tap will reduce the length of time for the air bubbles to form.
 
I have an almost identical setup and also getting lots of foaming. Adjusting the psi has also not helped me.
How close to the tap is your flow meter?

My next try is to move the flow meters closer to the tap. Right now I have the flow meters about 18 inches from the taps and I can see air bubble accumulate quite a bit after exiting the flow meter. Hoping that moving to 4 inches from the tap will reduce the length of time for the air bubbles to form.
I recall some of the adafruit users had success drilling out the inlet to match the size of the outlet, @jbadd99, @wbarber69?
 
fwiw, I have my SF800 meters a scant foot of 3/16" ID pvc tubing from the keg connectors.
They are followed by another 12 feet of the same tubing on 5 faucets, 15 on the sixth (I run my higher carbed beers on that one).
CO2 pressure is 11 psi and 15 psi, and I don't get foaming at all, while acknowledging I also don't have the transitions in and out.

Short of modifying the meters, I'd locate them close to the top of the kegs and use one foot of 3/16" tubing per PSI after the meters and see how that works.
And make sure to have a fan keeping everything inside the system at the same temperature...

Cheers!
 
Hello All,
I have a problem that I was hoping someone could help me with. I've had my RPints up and running since 20 October. I've updated it to the 2015 BJCP styles, and I've added some custom Tap Handle images thanks to kaljade. I just went into the admin portion and went to add a new beer to my 4th tap. It lets me select the beer I want to add to the TAP, but it won't auto populate the SRM, IBU, OG, FG fields the way it used to. I can manually populate the fields and it works ok, but I'd like to have it auto populate again. Any idea where to look to see why it won't auto populate those fields anymore? I've already tried rebooting RPINTS, but that didn't work.

Thanks.
GMan-62
 
I'm guessing that you have a non-supported character in the name of the beer. R'pints does not like carriage returns or other characters. Change the name of your beer to a simple test name and try it again.
 
I'm guessing that you have a non-supported character in the name of the beer. R'pints does not like carriage returns or other characters. Change the name of your beer to a simple test name and try it again.
CadiBrewer.
I've checked that as well, but not the issue. It's not even auto populating when I choose a beer it previously auto populated with.
 
CadiBrewer.
I've checked that as well, but not the issue. It's not even auto populating when I choose a beer it previously auto populated with.
Has it autopopulated at all since you updated it to the 2015 BJCP styles? Perhaps there's a non-ANSI character in there that's preventing it?

Cheers,

Kal
 
That was going to be my question.
I'm pretty sure I've read of folks who croaked their entire beers table with an errant entry.
I wonder if the same thing could happen to the beerStyles table...

Cheers!
 
You know I’m not sure. I just noticed it today. Would I have to look in the styles file, or am I going to have to reinstall raspberry pints?
 
You know I’m not sure. I just noticed it today. Would I have to look in the styles file, or am I going to have to reinstall raspberry pints?
Pretty sure we can get you back up and running without having to do a fresh install, worse case scenario someone with an unmolested beerStyles table (counts me out) could do an export that you could simply import over the corrupted one, best case scenario someone with a working 2015 BJCP beerStyles table could do the same...

Any takers?
 
day_trippr,
Can you provide the correct file(s), and the location of the files they need to replace? I think you mentioned a while back you got the 2015 BJCP working on yours.
 
Well, I thought I had successfully replaced the stock beerStyle list with the 2015 BJCP, but now when I look at it, it's the original table!
There's 106 entries and I'm pretty sure the newer table had at least another 20.
Not sure what the heck happened here.

Anyway, I exported my working/stock beerStyles table in SQL format and put a copy of it on my GoogleDrive here.
With phpmyadmin you should be able to replace your existing table - though tbh this now has me wondering...

Cheers!
 
That wasn't it. I imported the beer styles and it replaced the 2015 BJCP back to the old one, but it still doesn't auto populate. Not sure what it could be then. I don't want to do too much because I have 3 kegs that are 1/2 to 3/4 full and I don't want to lose the beer levels. If you are out of ideas as well, I may have to reimage my rpints card and make the edits again.
Thanks!
 
That wasn't it. I imported the beer styles and it replaced the 2015 BJCP back to the old one, but it still doesn't auto populate. Not sure what it could be then. I don't want to do too much because I have 3 kegs that are 1/2 to 3/4 full and I don't want to lose the beer levels. If you are out of ideas as well, I may have to reimage my rpints card and make the edits again.
Thanks!
Did you reboot RPints after you imported the beerStyles table?
 
I had forgot to reboot, so I just did that but still no luck. I do remember when I updated to the 2015 BJCP guide, I had some foreign key constraints so I had to remove the table associations and then once the new guide was imported I had to recreate the foreign key constraints. I took pics of the associations so I could reset them correctly. I'm wondering if the associations just didn't take so now the databases aren't populating. I have no idea how to rectify that because I reset everything to the way it was.
 
Last edited:
Sorry, I don't have a solution at this point. I would export all of the tables from your existing installation, blow R'Pints away and reinstall it.
Get it running, export the default tables, then try importing your saved tables and see if you can cobble things back together.
Worst case you have to start with a fresh R'Pints again...

Cheers!
 
I'm sure I'm just an idiot... but I'm sooooo close. Here is my error message on the install (see image).

Did I just not input my password correctly (I've tried 1,000 times). if so how would I reset the root password?
 

Attachments

  • IMG_2377.JPG
    IMG_2377.JPG
    717.5 KB · Views: 73
  • IMG_2377.JPG
    IMG_2377.JPG
    717.5 KB · Views: 86
I'm sure I'm just an idiot... but I'm sooooo close. Here is my error message on the install (see image).

Did I just not input my password correctly (I've tried 1,000 times). if so how would I reset the root password?

Did you follow Step 7 in the updated instructions (second post in this enormous thread)?
Gotta love it when a plan comes together so quickly :D

Now I gotta find time between hop harvest and flow meter installation!

Cheers! ("Hash-brown 'First World Brewer Problems'" ;) )

[edit]
7/27/2017: Please see post https://www.homebrewtalk.com/showpost.php?p=8040187&postcount=2643 for the most current installation notes.

Alternatively, if you incorrectly entered your password in the initial mysql setup, you can follow these instructions to reset it:
Or you can add a password to MySQL (MariaDB) like this:
PHP:
sudo mysql -u root
update mysql.user set plugin = '' where user='root' and host='localhost';
set password = password('enter_your_password_here');
flush privileges;
quit

Cheers,

Kal
 
Last edited:
I had forgot to reboot, so I just did that but still no luck. I do remember when I updated to the 2015 BJCP guide, I had some foreign key constraints so I had to remove the table associations and then once the new guide was imported I had to recreate the foreign key constraints. I took pics of the associations so I could reset them correctly. I'm wondering if the associations just didn't take so now the databases aren't populating. I have no idea how to rectify that because I reset everything to the way it was.
Hey GMAN,

I vaguely remember having to fix the styles column in the vwGetActiveTaps "view" in phpMyAdmin when I edited my beerStyles table to get it working again. Sorry I can't be of more assistance, it was a loooooong time ago...

Cheers,

Kal
 
Hey all,

This is probably not much use to most, as I have a very bespoke setup, but if you have a multi-pi setup and you'd like to sync database tables across them (in my case I sync the beers table), let me know and I'll post the instructables.

Cheers,

Kal

screen_20171231-134500.png screen_20171231-134518.png screen_20171231-134611.png screen_20171231-134621.png
 
Last edited:
Kai - Thanks - that got me closer, but I'm now getting a different error message... Fatal error on line 178...any ideas?

Tom (confirmed idiot :) )
 

Attachments

  • IMG_2380.JPG
    IMG_2380.JPG
    246.5 KB · Views: 43
Kai - Thanks - that got me closer, but I'm now getting a different error message... Fatal error on line 178...any ideas?

Tom (confirmed idiot :) )
Looks like the old PHP version error, which version of NOOBS did you use? The latest version uses PHP7 but RPints was built on PHP5, here's a link to a post, with a link to the previous version of NOOBS: https://www.homebrewtalk.com/forum/index.php?posts/8148897

After that follow the updated instructions @day_trippr posted (link can be found in the second post at the beginning of this thread: https://www.homebrewtalk.com/forum/index.php?posts/6321459).

Cheers,

Kal
 
Last edited:
Looks like the old PHP version error, which version of NOOBS did you use? The latest version uses PHP7 but RPints was built on PHP5, here's a link to a post, with a link to the previous version of NOOBS: https://www.homebrewtalk.com/forum/index.php?posts/8148897

After that follow the updated instructions @day_trippr posted (link can be found in the second post at the beginning of this thread: https://www.homebrewtalk.com/forum/index.php?posts/6321459).

Cheers,

Kal


Kal - We're in Business!!!!! Thanks so much for your help with this!!! How can I buy you a beer??
-Tom
 

Attachments

  • IMG_2382.JPG
    IMG_2382.JPG
    385.7 KB · Views: 68
Kal - We're in Business!!!!! Thanks so much for your help with this!!! How can I buy you a beer??
-Tom
Awesome, gotta love seeing another RPints come to life! The whole reason we do this is so that we don't ever have to buy beer [emoji1]

Cheers,

Kal
 
Thanks to everyone who has contributed to this thread. I'm very new to all of this so this thread has has played a large role in getting my RaspberryPints up and running! Is there currently a way to delete the "Calories" column altogether? Also, I would like to center the text in the "Tasting Notes" column. Possible? Thanks in advance!
 
Thanks to everyone who has contributed to this thread. I'm very new to all of this so this thread has has played a large role in getting my RaspberryPints up and running! Is there currently a way to delete the "Calories" column altogether? Also, I would like to center the text in the "Tasting Notes" column. Possible? Thanks in advance!
Hi there, welcome to our little corner of the interwebs!

To answer both questions, the short answer is: yes you can, the long answer is: you'll need to provide more information to get the desired changes implemented.

For the first question, if you want to hide the calories column completely (including ABV), then this can be done in the admin panel: {your_rpints_ip_address}/admin/personalize.php#columns then just change ABV column from show to hide. If you only want to hide calories and not ABV you'll need to edit your index.php files.

Now for your second question, this can be achieved by editing your style.css file, but do you want to centre all of the text (beer name, beer style, and tasting notes), or just the tasting notes text?

Happy to help, just want to ensure it's the right help.

Cheers,

Kal
 
Hi there, welcome to our little corner of the interwebs!

To answer both questions, the short answer is: yes you can, the long answer is: you'll need to provide more information to get the desired changes implemented.

For the first question, if you want to hide the calories column completely (including ABV), then this can be done in the admin panel: {your_rpints_ip_address}/admin/personalize.php#columns then just change ABV column from show to hide. If you only want to hide calories and not ABV you'll need to edit your index.php files.

Now for your second question, this can be achieved by editing your style.css file, but do you want to centre all of the text (beer name, beer style, and tasting notes), or just the tasting notes text?

Happy to help, just want to ensure it's the right help.

Cheers,

Kal
Thanks for your reply! I should have been more specific, but I would like to retain the ABV information, but delete the calories information. As for question #2, I would like to center all of it.
 
Thanks for your reply! I should have been more specific, but I would like to retain the ABV information, but delete the calories information. As for question #2, I would like to center all of it.
Okay then, here's the first answer:
If you simply remove Calories it will raise the ABV image to fill the space and will be out of alignment with the other images:
screen_20180103-095826.png

What I did instead on my RPints was put Standard Drinks there instead:
screen_20180103-094222.png

The code for this differs from country to country (as we all have different interpretations of what a standard drink is), but I could definitely assist with setting it up on your country specific drinks if that's something you'd be interested in?

Otherwise you'd need to tweak your style.css to bring it back into alignment with the other images.

As for centring your text, that's a bit easier, open your style.css file and find the following lines:
PHP:
table td.name{
    text-align: left;
    padding: 5px;
}
Change to:
PHP:
table td.name{
    text-align: center;
    padding: 5px;
}
Then find:
PHP:
table .subhead{
    width:100%;
    font-size: .9em;
    text-align:left;
}
Change to:
PHP:
table .subhead{
    width:100%;
    font-size: .9em;
    text-align:center;
}
Then do a hard refresh (CTRL+F5) to see your changes.

Cheers,

Kal
 
First, thank you everyone for posting on this forum and thread. Very helpful information to someone trying to figure it all out.

Second, my question. I have installed Adafruit's flow meters on my lines and have discovered that there is a tremendous amount of foaming being generated as a result. Does anyone have any suggestions about how to make adjustments to minimize the foaming?

Here's the line setup. 3/16" ID beer line to 3/16 barbed x 1/4" Male to 1/4" female x 1/2" male to 1/2" female coupler to 1/2" male Adafruit flow meter (and then reverse on the other end).

I tried adjusting the PSI +/- 2 psi, but no noticeable impact.

Any ideas?

Thanks,

Goran

Hey Goran,
I did not get to moving the flow meter closer to the tab, however I do want to note that the foaming has stopped for me. It took a while, like more than 20 pours. Left it idle for 4 days and now it pours perfectly with the adafruit flowmeters.

Maybe there was still a big air pocket in the flow meter that had to work it's way out? Just guessing. I wish I had a better answer or solution, but my foaming problem has corrected itself
 
Since I had difficulty getting my RPints build correctly on the newer Raspbian OS, I took detailed notes on the commands and modifications needed to get RPints running on a Raspberry Pi 2 Model B using the Jessie version of Raspbian OS.

I found most all of the alternate instructions on this forum. They do differ from the original instructions found on http://raspberrypints.com/byo/.

I hope these attached instructions will help someone avoid some of the headaches I had. (Sorry but the site will not allow me to upload a .docx, .doc, or .rtf file to the site. PDF was my best option.)

I've found that the site will accept .zip. I have zipped a Word Document for reference.
 

Attachments

  • RPints-Jessie-FlowMeters-Installation-Instructions.pdf
    762 KB · Views: 359
  • RPints-Jessie-FlowMeters-Installation-Instructions.zip
    3 MB · Views: 123
Last edited:
Okay then, here's the first answer:
If you simply remove Calories it will raise the ABV image to fill the space and will be out of alignment with the other images:
View attachment 552161
What I did instead on my RPints was put Standard Drinks there instead:
View attachment 552162
The code for this differs from country to country (as we all have different interpretations of what a standard drink is), but I could definitely assist with setting it up on your country specific drinks if that's something you'd be interested in?

Otherwise you'd need to tweak your style.css to bring it back into alignment with the other images.

As for centring your text, that's a bit easier, open your style.css file and find the following lines:
PHP:
table td.name{
    text-align: left;
    padding: 5px;
}
Change to:
PHP:
table td.name{
    text-align: center;
    padding: 5px;
}
Then find:
PHP:
table .subhead{
    width:100%;
    font-size: .9em;
    text-align:left;
}
Change to:
PHP:
table .subhead{
    width:100%;
    font-size: .9em;
    text-align:center;
}
Then do a hard refresh (CTRL+F5) to see your changes.

Cheers,

Kal

That is a clever idea, but I would rather just post the %ABV in the center of that column. Is there a way to make the text size of the %ABV bigger as well?

Is the style.css file found in /home/pi/phpmyadmin? Otherwise, how do I alter the style.css file? By the way, I may have generated a copy of that phpmyadmin folder using terminal.
 
That is a clever idea, but I would rather just post the %ABV in the center of that column. Is there a way to make the text size of the %ABV bigger as well?

You could by simply changing the tags from <h3></h3> to <h2></h2> or even <h1></h1> in the index.php file around the ABV line.
Is the style.css file found in /home/pi/phpmyadmin? Otherwise, how do I alter the style.css file? By the way, I may have generated a copy of that phpmyadmin folder using terminal.

Actually both the index.php file mentioned above and the style.php file are located in the /var/www/ or /var/www/html/ directory depending on which step you used to get to the finish line.

My recommendation if you are not confident with editing via command line is to install an SFTP client like Filezilla or WinSCP and download a local copy of your /var/www/ directory (or /var/www/html/ if you installed RPints there), and edit your files locally with your favourite text editor (Notepad++ is great for Windows, Text Wrangler used to be great on Mac but it's been a few years since I used one, on Linux you won't need to be told as you'll already have one (my fave is Komodo)), then just upload them back to your Pi when you are done.

Cheers,

Kal
 
Since I had difficulty getting my RPints build correctly on the newer Raspbian OS, I took detailed notes on the commands and modifications needed to get RPints running on a Raspberry Pi 2 Model B using the Jessie version of Raspbian OS.

I found most all of the alternate instructions on this forum. They do differ from the original instructions found on http://raspberrypints.com/byo/.

I hope these attached instructions will help someone avoid some of the headaches I had.
**** hot instuctables @atariplayr, kudos to you my friend!
 
Since I had difficulty getting my RPints build correctly on the newer Raspbian OS, I took detailed notes on the commands and modifications needed to get RPints running on a Raspberry Pi 2 Model B using the Jessie version of Raspbian OS.

I found most all of the alternate instructions on this forum. They do differ from the original instructions found on http://raspberrypints.com/byo/.

I hope these attached instructions will help someone avoid some of the headaches I had.

Oh - Very nice job! I think this should be a gold standard going forward and added to this site as a sticky.

I had just recently got the non flow version to work on RPi 3 and Raspian Stretch (OCt 2017). I am about to try to tackle the Flow Meters, but your instructions can't be beat. So thank you for the excellent timing. The challenge I came across under Rasperian Stretch is that some libraries were deprecated and so to get it to work I had to reference the mysql_ calls with the newer mysqli_ calls. This did also require a change in all PHP code functions in that the mysql connection string is now required for all db calls and had to be passed. My next goal is to redo the RPints installer so others can use the latest OS if desired.

(Would it be possible to get your instruction file in some other format other than PDF? I tried converting to MS Word and it isn't the prettiest.)

Thanks again for the great work!
 
Thoughts on installation on Raspbian Stretch

So the main source of issue is that Raspbian Stretch makes use of php7, while the RPINTS software was designed in php5.
Unless someone performs a deep dive into the RPINTS source code to update for usage within php7, we simply need to bypass using php7.

It should be possible to complete the RPINTS installation on Stretch if you modify the Source List for Apt-Get so that you do not use the most current version of phpMyAdmin, which is the point where the php7 utilities get installed and mucks up RPINTS.

One should be able to follow my install instructions in this thread with minor changes:
https://www.homebrewtalk.com/forum/...-taplist-solution.487694/page-79#post-8184819

Changes to the instructions:
1) Use the current version of Raspbian OS. Do not download the Jessie version.
2) Directly BEFORE the installation of phpMyAdmin, insert the following instructions:

sudo nano /etc/apt/sources.list

add these 2 lines to the end of the file:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://archive.raspian.org/raspbian/ jessie main contrib non-free rpi

Comment out this line in the file: (Add a hash-tag (#) to the beginning of the line to comment out)
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

Save and exit editing sources.list
Essentially, we have now directed Raspian to only look at the Raspbian Jessie source for new package installations. Apt-Get will no longer query the Stretch source files and thus will no longer update phpMyAdmin or any PHP utilities to PHP7.​

Then you can proceed with the phpmyadmin installation:
sudo apt-get install phpmyadmin
It would be important to never revert the SOURCE.LIST to the original and then perform an update/upgrade of the Raspberry Pi.
 
Back
Top