2025-02-06 14:52:22 +02:00
2025-02-04 13:38:17 +02:00
2025-02-04 13:38:17 +02:00
2025-02-04 13:38:17 +02:00
2025-02-04 13:38:17 +02:00
2025-02-04 13:38:17 +02:00
2025-02-04 13:58:47 +02:00

OwnTracks Import

Imports GeoJSON location records to OwnTracks Recorder through HTTP. Initially developed to migrate data from Dawarich to OwnTracks Recorder.

Requires Dart runtime.

Features

  • Defaults to phone for device when tracker_id is not provided
  • Removes device_tracker. prefix from tracker_id field if exists
  • By default waits for 2 seconds before each request to avoid hitting OpenCage free tire API rate limits (Used by Recorder for reverse geocoding)

Anti-features

  • Errors handling is bad
  • Can't authenticate
  • Tested only on GeoJSON exported by Dawarich

Usage

dart bin/owntracks_import.dart -s <GeoJSON file path> -d <Recorder IP address with protocol and port> -u <user name> -v

dart bin/owntracks_import.dart --help
Description
Import records to OwnTrack Recorder
Readme 45 KiB
Languages
Dart 100%