At the least, I imagine those MySQL_connect failures would need addressing - weren't those supposed to be changed to $mysqli = new mysqli($servername, "RPints",$rootpass);
Cheers!
Cheers!
I only changed the 2 I found in configprocessor.php. I will go into these other two php files and change it there too.At the least, I imagine those MySQL_connect failures would need addressing - weren't those supposed to be changed to $mysqli = new mysqli($servername, "RPints",$rootpass);
Cheers!
That sql method no longer exists so I would expect you'd have to change all instances everywhere they occur...
Cheers!
As for the Kiosk will have to do more digging, it works on my fresh VM but it doesn't seem to work on the actual Pi version. Try following the link in this post https://www.homebrewtalk.com/forum/...taplist-solution.487694/page-113#post-8581055
That sql method no longer exists so I would expect you'd have to change all instances everywhere they occur...
Cheers!
It looks like you got it solved by moving to Jessie, but I wanted to explain the error for anyone curiousCall to undefined function mysqli()
Not out of the box. The RFID is used to release the valves and associate the next pour to a user. To require an RFID without valves that would mean that if someone actually poured a Beer without RFID then the pour wouldn't register and the remaining amount wouldn't change.That will correct my 'ghost' pours, right??
It looks like you got it solved by moving to Jessie, but I wanted to explain the error for anyone curious
mysqli is a class not a function so the code should have been
$mysqli = new mysqli("$host", "$username", "$password", "$db_name")
Under configuration, there is an option to display tap list vertically. Select yes.Is it possible for this table to displayed differently? Instead of reading it left to right for each beer, I want to read top to bottom for each beer. Looks like this person figured it out but isn't active anymore.
https://www.homebrewtalk.com/forum/attachments/1422256507081-jpg.251656/
In the admin section if you click configuration and scroll to the Taplist Header section. About 6 options up, there should be Show the tap list vertically. Mine is right under the option to display the RaspberryPints logo.I don't see anything in the admin settings.
The rotate in Step 3 of RPints refers to the actual display being rotated and doesn't do anything with the way the table is displayed. I did attempt this just to make sure I understood it. I had to look sideways to navigate everything.
Wierd...I don't have those options. I am using 2.0.1.In the admin section if you click configuration and scroll to the Taplist Header section. About 6 options up, there should be Show the tap list vertically. Mine is right under the option to display the RaspberryPints logo.
top to bottom for each beer
That option is available in my branch. You can see how I did it in includes/beerListTableVerticle.phpI am using 2.0.1.
That option is available in my branch. You can see how I did it in includes/beerListTableVerticle.php
You can do this through phpmyadmin (http://127.0.0.1/phpmyadmin/) but I am going to use the terminalI left admin as default at the bottom and typed in a password. Neither one of them work.
SELECT username from users; (Should return admin if it doesn't then that might be your issue)
when you go to just localhost does it load the tap list?Table 'raspberrypints.users' doesn't exist
when you go to just localhost does it load the tap list?
I would reinstall and see if it loads the database correctly.I get this page is not working
I did. It didn't work either time. I didn't what to check the first time, but got the same "this page is not working" but i could get to admin/index.php and attempt to log in without any luck. At that time, I also tried resetting my password.I would reinstall and see if it loads the database correctly.
Let me attempt to install using the install page. I have been testing with my install script and that hasn't had any issues.It didn't work either time
Formatting the SD card is one way, but a simpler way would be to raspberrypints from /var/www/<html> and delete the databasewhat is the proper way to uninstall and start over
a simpler way would be to raspberrypints from /var/www/<html> and delete the database
sudo mysql
drop database raspberrypints;
exit
then get rpints from GitHub again
After testing I did find that I had an issue with the install file. It tried to drop the database and if it didn't exist I would error out but never output the error to the user.Every issue I have had
I just committed the fix to GitHub so if you get the latest install/includes/configprocessor.php it should work this time.
I'm sorry, I gave up on testing the installer when I created the util/installRaspberryPints script because the script was preferable as it would install and configure the software after Raspbian was installed.
A
I just committed the fix to GitHub so if you get the latest install/includes/configprocessor.php it should work this time.
@myndflyte So that took quite a bit of tinkering. You'll have to excuse my lack of or incorrect use of technical terms in some areas. Essentially, I took the "bottle" manager, model, list and form, from the admin area and copied those into their own php for on deck, brewing and aging. I replaced (literally using the find/replace function) for anything that said "bottle" to "aging" etc etc for each. The one thing I didn't replace was anything that said "bottletype" as that called onto a different table/function that I didn't want to duplicate or change. You also have to edit the header and left bar in the admin area to make them show/function. From there I went to phpmyadmin and copied the bottles list and views into the new categories. Finally, I edited the index to pull them in as well as tinkered with the beerlisttable to make them show different images or do date calculation using a bunch of if, elseif, and else for each category depending on what I wanted. That's probably not exhaustive of everything done but generally speaking how I went about it.
If anyone is curious about the labels I actually used the built in brewery image area to make that work. My significant other likes to do artsy stuff to be involved in the brewing process and does labels for each beer. She hosts them onto her website and I just linked them into brewery image and then associated that image to the beer. Due to the way the beerlisttable calls the brewery image and image sizing issues, I made it into its own column with its own header.
Hi Carlosprite,
I actually made that and added in the css and code into the beerlisttable to make it work properly. The aging, on deck and brewing are all custom from my own tinkering.
Cheers,
BDBeers
Cool!
The coding bit I can figure out with trial and error, but I’m useless at graphic work haha, what program did you make the FV picture in?
Love your idea to show what’s currently fermenting! My ultimate goal I s to have both the graphs for my fermentrack and the tap list displaying simultaneously on the 42” TV in the shed!
day_trippr is on the right path. the issue is that after the python sends the config message the Uno sends back alive but what is weird with your log is that you config ends with $ when it should end with | it may have just been cut off though.Attached is my log
day_trippr is on the right path. the issue is that after the python sends the config message the Uno sends back alive but what is weird with your log is that you config ends with $ when it should end with | it may have just been cut off though.
Try stopping the Pytho (sudo /etc/init.d/flowmon stop)
In Arduino studio open the serial monitor.
You should be seeing alive messages coming across. Input C:2:7:8:0:300:200:30:250:0:0| and hit send
You should see the line echoed back to you from the Uno then see a StatusCheck message.
Try your flow meters and you should see a message that starts with U: (update) then P: (pour)
if that works then we just need to get the Uno to sync with the python.
in /arduino/raspberrypints
change line 492 of raspberrypints.ino from delay(100); to delay(1000);
delete raspberrypints.cpp.hex and update the sketch to the Uno
then restart the python ( sudo /etc/init.d/flowmon start)
Enter your email address to join: