My flow meters are not recognizing pours!

Pull up lxterminal and run the following:

[nbox type=”notice”]cd /var/www/python
python flow_monitor.py[/nbox]

Now make a pour, on the lxterminal you should see it recording a pour. If you don’t then there is something wrong with the way you have your flow meter wiring setup, please review. If you DO see it make a pour and the screen updates then this means that when your pi restarts this script is not running automatically so please  check your /etc/xdg/lxsession/LXDE/autostart file and add the following AFTER the line for the browser
[nbox type=”notice”]@/usr/bin/python /var/www/python/flow_monitor.py &[/nbox]


Posted in