I'd love to see the latter part, the important bit is if it is sleeping/awakening the GPS or not. If something breaks that cycle, well... then the cycle is broken *duh*
2011-05-19 15:39:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 15:39:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 15:39:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 15:44:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 15:44:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 15:44:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 15:49:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 15:49:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 15:49:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 15:54:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 15:54:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 15:54:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 15:59:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 15:59:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 15:59:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 ^[[5~Starting GPS... 2011-05-19 16:04:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:04:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:04:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:09:45: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:09:45: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:09:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:14:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:14:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:14:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:19:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:19:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:19:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:24:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:24:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:24:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:29:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:29:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:29:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:34:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:34:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:34:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:39:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:39:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:39:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:44:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:44:47: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:44:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:49:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:49:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:49:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:54:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:54:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:54:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 16:59:46: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 Updates within 100 meters - not sending 2011-05-19 16:59:46: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 16:59:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 17:04:47: Got loc data 51.028131,3.770349 (acc 96.017000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 2011-05-19 17:04:47: Latitude update 51.028131,3.770349 (acc 96.017000) {'latitude': 51.028131299999998, 'kind': 'latitude#location', 'accuracy': 96, 'longitude': 3.7703494000000002, 'timestampMs': '1305817491146'} 2011-05-19 17:04:51: General location update 51.028131,3.770349 (acc 96.017000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 17:04:51: Got loc data 51.028131,3.770349 (acc 96.017000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 Starting GPS... 2011-05-19 17:09:47: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0 2011-05-19 17:09:47: Latitude update 51.029902,3.764234 (acc 206.965000) {'latitude': 51.029901500000001, 'kind': 'latitude#location', 'accuracy': 206, 'longitude': 3.7642340000000001, 'timestampMs': '1305817792390'} 2011-05-19 17:09:52: General location update 51.029902,3.764234 (acc 206.965000) Searching for closest spot: Sleeping GPS for approx. 5 minutes 2011-05-19 17:09:52: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0 ^CTraceback (most recent call last): File "/opt/zaploc/zaploc-daemon.py", line 8, in <module> if __name__ == '__main__': app.zdaemon.main(sys.argv[1:]) File "/opt/zaploc/app/zdaemon.py", line 470, in main File "/opt/zaploc/app/zdaemon.py", line 337, in init KeyboardInterrupt