Good deal! I knew there had to be a solution to allow a human to dominate the machine
Cheers!
Cheers!
And then
('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-03-03 20:27:11 RPINTS: flowmonitor aborted, restarting...
2020-03-03 20:27:11 RPINTS: serial connection stopped...
2020-03-03 20:27:12 RPINTS: flowmonitor aborted, restarting...
2020-03-03 20:27:14 RPINTS: serial connection stopped...
2020-03-03 20:27:15 RPINTS: flowmonitor aborted, restarting...
2020-03-03 20:27:16 RPINTS: serial connection stopped...
Trying to edit Style.css file to accommodate a square image for tap number (I dont know if this is even right) and I cannot chmod file permissions to write. What am I missing or better yet, how have some of you gone about making changes to RaspberryPints? Thanks!
Thanks very much for the reply. I never did that to start with and it actually worked fine for the first few weeks until my SD card got corrupted. Then when I reinstalled onto a new SD card it worked fine for a day and stopped. So then I added a 12v power supply to the Arduino and it worked for another day and stopped and hasnt worked since.Have you flashed the Arduino with legit firmware?
Seems like it's there but doesn't know how to respond...
Cheers!
Oh ok yes Ive stopped the service, uploaded the raspberrypints.ino file and then restarted the flowmon service. Ive done that many times now. At one stage I received an error message about could not find or connect to ACM1 (Cant remember exact message) but I changed it to ACM0 and it worked okay.If it was running then obviously it got a sketch loaded at some point.
Which version are you running? If it's @RandR+'s I'm pretty sure it loads the sketch during the initial installation/configuration, and there may be a mechanism for forcing a firmware upload (I imagine simply diddling the tap/pin assignments would do it).
Anyway, have you tried power-cycling just the Arduino to see if it reconnects with the host?
Cheers!
Does the brand matter? I see a CanaKit and a Vilros within about $10 of each other. The CanaKit received slightly better reviews.The 2GB RPi4 would be fine if you can find a markedly cheaper bundle with one...
Cheers!
Oh ok yes Ive stopped the service, uploaded the raspberrypints.ino file and then restarted the flowmon service. Ive done that many times now. At one stage I received an error message about could not find or connect to ACM1 (Cant remember exact message) but I changed it to ACM0 and it worked okay.
I did disconnect the arduinos power supply and pulled the usb cable so it shut down then plugged it back in. But no luck
So if I just go with the recommended device on the raspberry Pi website, I should be good.CanaKit has been around since the original Model A days and unless one is willing to wait for all the provided components to roll in from alternative, potentially cheaper sources, their kits are a decent deal. I don't know about Vilros.
Whatever source, I would want to make sure what's being sold is the updated RPi4 with the correct USB-C receptacle design. Somehow the original version left off a resistor that is critical to meeting the USB-C specification for automatic power configuration, and may not work when used with a "smart" power supply. Most kits have been dodging that by supplying dumb wall warts, which is fine as far as that goes, but I would want the updated design just on GPs...
Cheers!
No, and the USB cable was brand new and came with the Arduino, but I will try another one. So could it be a failed Arduino? Is there a way to tell?Well you've done what needed to be tried. It's all a bit curious. Have you tried a different USB cable?
Unless there's something more illuminative in a log file I'll have to leave you to @RandR+'s tender mercies
Cheers!
So if I just go with the recommended device on the raspberry Pi website, I should be good. Cheers
Ok so I know how to load the sketch but not sure how to run it?You could use the Arduino IDE to load one of the sample sketches to at least see if basic functionality is intact...
Cheers!
I tried uploading the blink sketch and this is what I got.If you have the Arduino IDE installed on either your RPi or a PC, plug the Uno in, configure the IDE for the board type and the port, then pick a sample sketch and load it by clicking the Upload (right arrow) button. If it's something more involved than the "Blink" sketch it will dialog via the session window...
Cheers!
I did unplug the usb cable at the Uno end and plugged it back in and its the first time Ive done that so not sure if that had something to do with it. When you say socketed AVR is this what you mean? This chip? Could using a 12v power supply have fried it? I dont see how the voltage reg didn't even get hot.Hmm...Not good. Seems that Uno has lost its mind somehow.
At least you know it's not an R'Pints problem, but that's likely small consolation.
In a similar situation - and an R3 Uno with a socketed AVR - I'd replace the controller chip (I have a few 328P's on hand) and hope the original was fried...
Cheers!
Anyone? I’m sure it’s easy but this is all new to me. ThanksI dunno.. just did without any action on my part...
Let me rephrase my question... how do I display my own images for each tap or bottled beer? Thanks.
That's what he's saying, yes. However I think it might be easier to get a new Uno as cheap as they are. That way you are eliminating the possibility that the (I forget what the chip is called that provides USB communucation) is bad.And now its stopped working again..So bloody frustrating.....Should I replace that chip?
Sorry bin busy with work, the beer images come from untappd (based on either the original RPints or someone elses mod)how do I display my own images for each tap or bottled beer? Thanks.
I brought mine from ebay but was possibly a Chinese cheapo version. AFter reboots it sometimes works once and thats it and other times doesnt work at all. Could the 12v power supply I hooked up to it have stuffed it? I checked it with a meter and it was only 12V? I can get one from Jaycar for $30 so might do that. Thanks for all the help gents.That's what he's saying, yes. However I think it might be easier to get a new Uno as cheap as they are. That way you are eliminating the possibility that the (I forget what the chip is called that provides USB communucation) is bad.
Ok will do thanks.Don't invest money in 12V regulators, get a 9V 1A for a couple of bucks...
Cheers!
Sorry bin busy with work, the beer images come from untappd (based on either the original RPints or someone elses mod)
it wouldn't be hard to put in the upload option and check if a beer image exists locally before checking untapped but I'm not sure when I can get to it
I dont know how to change tap numbers but this is how you change the size of the images that will fit.Ok... Fair enough... would be a great feature addition though
How would I then change the tap list #'s or possibly use my own images in that column like I have seen many do?
Thanks for your patience with all my questions
Are there any tricks to using the "Show Tap List Direction" = Vertical mode in the RandR+ version? In my new install from a couple of days ago, when I try this option I get a mostly blank page (just the header and body, no tables whatsoever). I tried changing a couple of other settings that I thought could be conflicting (like "Number Of horizontal tap List Beer Column") but never get more than the page header and body sections (32 lines of code) when the direction is set to Vertical.
Are there any tricks to using the "Show Tap List Direction" = Vertical mode in the RandR+ version? In my new install from a couple of days ago, when I try this option I get a mostly blank page (just the header and body, no tables whatsoever). I tried changing a couple of other settings that I thought could be conflicting (like "Number Of horizontal tap List Beer Column") but never get more than the page header and body sections (32 lines of code) when the direction is set to Vertical.
I'll have my 21.5" monitor attached to the kegerator right above the taps that have almost identical spacing, so it would be fantastic to have the display as six columns!
Once again proving myself incapable of letting go of a puzzling challenge, I've now WinSCP'd in and found my way to /var/log/apache2/error.log - which is showing me that beerListTableVerticle.php is trying to redeclare DisplayEditShowColumn() which had already been declared in common.php - and so is throwing a PHP Fatal error. So yes, appears to be a bug. Let's see if I can do something about it...Just for the record.... I tried "Show Tap List Direction" = Vertical mode (also RandR+ version) and get same results..... bug?
Whoo-hoo! Commented out that function declaration in beerListTableVerticle.php and it's working!!Once again proving myself incapable of letting go of a puzzling challenge, I've now WinSCP'd in and found my way to /var/log/apache2/error.log - which is showing me that beerListTableVerticle.php is trying to redeclare DisplayEditShowColumn() which had already been declared in common.php - and so is throwing a PHP Fatal error. So yes, appears to be a bug. Let's see if I can do something about it...
I dont know how to change tap numbers but this is how you change the size of the images that will fit.
Try this /var/www/html/includes/beerListTable.php line 126, width is hardcoded to 50px for images. I changed mine to height 100px and width 70px and fitted in these tap images.
To change write permissions
sudo chmod +777 /var/www/html -R
Enter your email address to join: