dahlseid
Well-Known Member
You have to enable the "Keg Column" and turn on "Use Flow Monitoring".
Not sure why you weren't getting any pour packets displayed in the terminal window, unless the flowmon service was still running the whole time.
Which OS are you running?
Cheers!
Ah! It was the keg column selection that was NOT done. Now it is showing, and responding to the flow monitor when I blow through it by updating a loss of volume and a corresponding new balance.
Curiously, the updating of the RP page while running "sudo python /var/ etc." was because the flowmon was still running. When I convincingly stopped it, the RP display did not update.
Then, when I ran the script "sudo python /var/www/python/flow_monitor.py" or "sudo python /var/www/html/python/flow_monitor.py" and blew through the flow meter, again there were no pour packets displayed in the terminal window.
After exiting, I did see these things, respectively:
pi@raspberrypi:~ $ sudo python /var/www/html/python/flow_monitor.py
Exiting
Traceback (most recent call last):
File "/var/www/html/python/flow_monitor.py", line 36, in <module>
POUR_COUNT = str(reading[3])
IndexError: list index out of range
pi@raspberrypi:~ $ sudo python /var/www/html/python/flow_monitor.py
Exiting
Traceback (most recent call last):
File "/var/www/html/python/flow_monitor.py", line 35, in <module>
MCP_PIN = str(reading[2])
IndexError: list index out of range
Exiting
Traceback (most recent call last):
File "/var/www/html/python/flow_monitor.py", line 36, in <module>
POUR_COUNT = str(reading[3])
IndexError: list index out of range
pi@raspberrypi:~ $ sudo python /var/www/html/python/flow_monitor.py
Exiting
Traceback (most recent call last):
File "/var/www/html/python/flow_monitor.py", line 35, in <module>
MCP_PIN = str(reading[2])
IndexError: list index out of range