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.

1.5 KiB

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.