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 9864b2f02a class to better handle incoming data streams 6 years ago
.gitignore first commit from local project 6 years ago
Pipfile adding pytz to enforce utc everywhere 6 years ago
Pipfile.lock adding pytz to enforce utc everywhere 6 years ago
README.md adding links to the readme 6 years ago
app.py adding routes/views for status reports on devices 6 years ago
config.example.py changing single quotes to doubles 6 years ago
functions.py adjusting ingest to leverage new data class 6 years ago
prebuild.py commenting out glue/athena resources for now since I'm moving away from it 6 years ago
schema.py class to better handle incoming data streams 6 years ago
zappa_settings.example.json minimize logging levels from noisy, to just critical 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:

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
$ pipenv shell
$ zappa init
$ zappa deploy

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