I have implemented the Raspberry Pi logging and it seems to work most of the time. However sometimes the it doesn’t record the logging data. The Sprinklers.php shows a station is running but with zero time elapsed. However sometimes it does work and correctly log times.
Not very well versed in Linux, but I have changed the line in rc.local from:
python /home/pi/python_scripts/zonecheck.py
(Dan – note there is a typo in your blog: zoneckeck.py)
to
/usr/bin/python /home/pi/python_scripts/zonecheck.py
ie – a fully qualified path to python
There seems to be some suggestion that the path may (or may not) be fully initialised when rc.local is run.
(http://www.raspberrypi.org/phpBB3/viewtopic.php?f=31&t=19409
Anyway I’ll run for a while and see how it goes.