Skip to content

Latest commit

 

History

History

logger

Basic back-end logging system for OpenTracker by github.com/m4rkw

Features:

  • logs to a mysql database
  • also stores events such as "engine started", "engine stopped", etc
  • can send alerts to ios devices using Prowl
  • detects engine-off movement and alerts [1]
  • detects engine starts when at home [2]
  • detects engine starts overnight

[1] This is not currently very reliable as the gps coords can wander by several meters in areas of poor signal / sky visibility. Geolink will soon be releasing an accelerometer module so my hope is that this will work much better with the new device.

[2] For at-home engine-start detection to work you need to set the contents of a file to "1" when you are at home and "0" when you are not. An easy way to do this is to detect the presence of say, your mobile phone, on the home wifi network and log this accordingly.