Personal location tracking system - own your location data
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lance allen 3c3ec1e79b adding routes/views for status reports on devices 6 years ago
.gitignore first commit from local project 6 years ago
Pipfile first commit from local project 6 years ago
Pipfile.lock first commit from local project 6 years ago
README.md first commit from local project 6 years ago
app.py adding routes/views for status reports on devices 6 years ago
config.example.py first commit from local project 6 years ago
functions.py first commit from local project 6 years ago
prebuild.py first commit from local project 6 years ago
zappa_settings.example.json first commit from local project 6 years ago

README.md

owntracks-aws-slt

Serverless location tracking HTTP endpoints for use with Owntracks. Uses several AWS services:

  • API Gateway - Provides HTTP endpoints to point Owntracks client at
  • Lambda - Processes incoming data streams and performs queries, cleanups, notifications, etc
  • S3 - Stores incoming messages

The backend code is written in Python 3.6 and makes use of the Pyramid web framework.

Everything is deployed and managed using the Zappa serverless management framework.

Requirements

Before you can use this tool, you must have these prerequisites:

  • Amazon Web Services account
  • Administrative IAM API key pair configured on your computer
  • Pipenv installed on your computer
  • Python 3.6 installed on your computer

Setup

Assuming you have all the requirements met, the following steps will create everything needed:

$ git clone https://github.com/lalanza808/owntracks-aws-slt.git
$ cd owntracks-aws-slt
$ pipenv install --python 3.6
$ zappa init
$ zappa deploy live

The Zappa output should provide you with an endpoint for API Gateway - the HTTP endpoints with Python Lambda scripts being triggered behind them.