I didnt get any exception messages when I compiled my Alamode. I did a clean install though because my 1.0.3 lost power quite often and I felt like a clean install is always best.
ps: One thing I did notice was about four lines of exception messages when compiling and uploading the sketch to the AlaMode. Does anyone know if the Arduino IDE writes log files?
There have been no changes to the arduino or flow_monitor.py code in at least a week.
.If you pushed the sketch to the alamode with the python script running it will not work. You have to kill the python script first to free up the serial port.
I can't tell you what's wrong unless I know the exception messages.
digital.write (13, HIGH);
delay(3 * 1000);
digital.write (13, LOW);
I haven't noticed it generating log file anywhere (and I've seen the orange bar a lot in the past month). And Google isn't much help there either.
It's easy to add the led
In the sketch, in the checkpours function... find the line where it's writing to the sendserial function.
After that add:
Code:digital.write (13, HIGH); delay(3 * 1000); digital.write (13, LOW);
Save it. Verify it. Then upload it to the alamode.
That will turn the led on for 3 seconds after it sends the pour info to the serial port.
Also change the digital.write to digitalWrite[...]
[...]Edit again: ok, saw that you updated earlier.
What about strictly doing apt-get install arduino?
Pretty certain that's been done already. Look for it...
Cheers!
I hate to double post but I just found an error message...
Error when running python flow_monitor.py
When in the terminal and I change the directory to /var/www/python and then run python flow_monitor.py
I pull the tap and get the following error. (FYI I get the same error not matter which tap I pull).
error:
'There are no windows in the stack'
'Invalid window '%1'
useage=windows activate [options][window=%1]
if no window is given, %1 is used. See window stack in xdotool(1) ^ [[15;5~
This is like Chinese to me. Can someone point me in the proper direction?
My system is not recognizing any pours. I get that error message even with Chromium open in the system tray and none of the taps are registering any pours.I got that too, when I didnt have a chrome window open displaying the tap list, but it still updated the database so it seemed to work
Ill keep looking. Thanks
$('#tap-form')
.on('change', '#beerId', function(){
var $this = $(this);
if( $this.val() ){
var $form = $('#tap-form'),
beer = beerList[$this.val()];
$form
.find('#srm').val(beer['srm']).end()
.find('#ibu').val(beer['ibu']).end()
.find('#og').val(beer['og']).end()
.find('#fg').val(beer['fg']).end();
}
})
.on('change', '#kegId', function(){
var $this = $(this);
if( $this.val() ){
var $form = $('#tap-form'),
keg = kegList[$this.val()];
$form
.find('#startAmount').val(keg['maxAmount']).end();
}
});
If your setup does not have a monitor on it you need to comment out the last line in includes/pours.php that calls the xdotools to refresh the page. Otherwise you'll see the error.
There should be no & in the line to start flow_monitor.py in autostart and it should be the very last line.
@reboot /usr/bin/python /var/www/python/flow_monitor.py &
Anybody get this working from a straight website install?
I couldn't get the system to recognize any pours even after reinstalling. So this afternoon I bought a new SD card, reformatted it and did a clean new install (not an upgrade). I installed the default beers, kegs, etc.
It still does not recognize any pours and when I run python flow_monitor.py I still receive the the same error as I did with the 'upgrade' install. See my prior message for the specific error message.
Has anyone installed this with no modifications straight from the website and have it work? I know glacious has his working but it's from a non standard (headless) installation.
I'm trying to figure out my next troubleshooting step here.
[...]Has anyone installed this with no modifications straight from the website and have it work? I know glacious has his working but it's from a non standard (headless) installation.
I'm trying to figure out my next troubleshooting step here.
So hopefully you guys get all the technical software issues figured out... I'm utterly useless there. On the hardware side - how are most people opting to link the Alamode to the meters? Obviously they can't just plug directly into the board (now there's your opportunity for growth and profit from this - custom boards ready to rock!) and I've seen a few examples on here of people using breadboards and jumpers and the likes.
I'm thinking if the meters (I'm running 3) can share the same power, then I only need to run 5 lines between my Alamode and my kegerator, and can come up with an easy way to plug the meters in to some board inside the kegerator. But if anyone else has a better way, it'd be cool to see. I know day_trippr is working up something nifty - anyone else?
-Kevin
So hopefully you guys get all the technical software issues figured out... I'm utterly useless there. On the hardware side - how are most people opting to link the Alamode to the meters? Obviously they can't just plug directly into the board (now there's your opportunity for growth and profit from this - custom boards ready to rock!) and I've seen a few examples on here of people using breadboards and jumpers and the likes.
I'm thinking if the meters (I'm running 3) can share the same power, then I only need to run 5 lines between my Alamode and my kegerator, and can come up with an easy way to plug the meters in to some board inside the kegerator. But if anyone else has a better way, it'd be cool to see. I know day_trippr is working up something nifty - anyone else?
-Kevin
1 - 5v - WhiteOrange
2 - Ground - Orange
3 - Flow1 - WhiteGreen
4 - 12v- - Blue
5 - 12v+ - WhiteBlue
6 - Flow2 - Green
7 - Flow3 - WhiteBrown
8 - 1wire bus - Brown (DS18B20 temp probes data pin)