/Owntracks-to-db

Super simple - an express server to receive locations from OwnTracks and log them in mongodb. No need for MQTT!

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

owntracks to db

Super simple - an express server to receive locations from OwnTracks and log them in mongodb. No need for MQTT!

This was originally created to work with instagay.

Setup

Deployment

Use with PM2.

  • npm install pm2 -g
  • pm2 startup then run the code that results
  • pm2 start app/app.js --name owntracks_to_db
  • pm2 save