{"repo":"bencevans/tracksix","free":true,"listed":false,"github":"https://github.com/bencevans/tracksix","clone":"git clone https://github.com/bencevans/tracksix.git","description":"Track your [⛵|🚂|🚙|🚜|🛵|🛷|🚶] with a Raspberry Pi and a GPS.","language":"JavaScript","stars":17,"topics":["iot","owntracks","location","raspberry-pi"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Tracksix Track your [⛵ 🚂 🚙 🚜 🛵 🛷 🚶] with a Raspberry Pi and a GPS. Features OwnTracks Compatable Config & Reporting Format MQTT(S) Reporting MQTT over WebSocket Reporting Programmatic usage or executable use Compatable with a huge array of GPS devices through GPSd Replays reports when an internet connection arrises Install To communicate with your GPS device, tracksix utilises GPSd (Global Positioning System daemon) which standardises the format from different GPS devices. On OSX: $ brew install gpsd On Debian/Ubuntu: $ sudo apt install gpsd Ensure you have Node.js installed on your device, then install tracksix : $ npm install --global tracksix Usage $ tracksix [path to config file] Tracksix uses the same configuration format as OwnTracks, this can be exported from your OwnTracks mobile app or copy the config.example.json and edit the contents appropriately. Programmatic Usage First follow the above steps for installing GPSd. Then install the tracksix library into your nodejs project: $ npm install tracksix Import the library: Load your configuration file: Start tracking: To listen for errors, tracksix() returns an EventEmitter which emits 'error' events. To listen for updates sent to the MQTT server, subscribe to 'location' events. A location event contains the same elements as specified in the OwnTracks location object. Run as a service Write the following to /etc/systemd/system/tracksix.service and update the path to node which node and tracksix which tracksix . Aft","default_branch":null,"files":null,"tree":[],"storefront":"/r/bencevans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bencevans/tracksix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}