Trying not to get too excited here, but I think it's all working! Seems the problem was I needed to "Relax and drink a home brew," while I was working on it...and maybe a reboot, or,something. More testing, then installation and calibration to come!
:mug:
So I reinstalled from the beginning and followed the instructions and additions from the rollup post. I decided to keep the install dir as /var/www and changed the Apache2 config file. I get all the way to Step 9.
I copied flowmon to /etc/init.d and modified the permissions as stated. Then when...
So I re-checked the permissions and the path as stated, and they seemed correct. As I looked at the other code for flow_monitor.py (and I am MOST DEFINATELY not a coder) I found this on lines 45-46
#The following 2 lines passes the PIN and PULSE COUNT t$
path = '/var/www/includes/pours.php'
I...
Very interesting, but I don't know the reason, maybe a permissions thing...
Could not open input file: /var/www/includes/pours.php
I get this when I ran the listener AND then each time after I blew in the meter.
Tried both of these and still doesn't seem to be seeing pours. Don't know if this would help anyone help me sort this out, but when I query the status of flowmon here is the output. Looks ok to my untrained eye.flowmon.service - LSB: Put a short description of the service here
Loaded...
That makes sense. Now I see the $.
Now entering ps aux | grep flow_monitor.py
I getpi 1830 0.0 0.2 4272 1916 pts/0 S+ 20:55 0:00 grep --color=auto flow_monitor.py
I can turn on, check status, and turn off flowmon. Serial monitor still sees data from both sensors but no...
Got RPints running a few weeks ago w/o the flow meters, although I followed w/ Flow meter instructions as I knew I would be adding them. Now I am back tracking since the hardware has arrived and I had some time.
I can see data from the meters on the Arduino Serial Monitor screen using the...
Success! Working with sample data. A few more tweaks to get the display correct on RPi lcd screen, then just waiting for flow meters and board.
Thx day_trippr! :mug:
Tried above with no joy, but I think I have located the problem. Seems that Raspbian Jessie was replaced my Raspbian Stretch 3 days ago in NOOBS 2.4.3. Database handling is apparently different in Stretch. I am going back now to install Jessie.
Am also going to follow install for flow...
Thanks for your kind welcome and reply. I am not not new to home brewing, but quite new to the electrical/automation side of things. I guess two hobbies are coming together. I've also been playing with CraftBrewPi.
I will try that and report back.