github Freika/dawarich 1.7.1

6 hours ago

Added

  • API endpoints for mobile authentication.

  • New ingest endpoint POST /api/v1/traccar/points for the Dawarich mobile client and any compatible Traccar-style tracker. Accepts a single nested-JSON location payload, upserts the point, refreshes the points counter, and triggers anomaly filtering, realtime track regeneration, and the live broadcaster — exactly like the OwnTracks and Overland endpoints.

    Configuration

    Setting Value
    URL https://<your-host>/api/v1/traccar/points?api_key=<API_KEY>
    Method POST
    Content-Type application/json

    Find your API key under Settings → Account.

    Payload

    {
      "device_id": "iphone-jane",
      "location": {
        "timestamp": "2026-04-23T12:34:56Z",
        "latitude": 52.52,
        "longitude": 13.405,
        "accuracy": 5,
        "speed": 1.4,
        "heading": 90,
        "altitude": 42,
        "is_moving": true,
        "odometer": 1200,
        "event": "motionchange"
      },
      "battery": { "level": 0.85, "is_charging": true },
      "activity": { "type": "walking" }
    }

    Required fields: location.latitude, location.longitude, location.timestamp (ISO 8601). Everything else is optional. Speed is expected in m/s. Battery level is expected as a 0-1 fraction (Dawarich stores it as 0-100).

    Response: 200 OK with empty array on success. Malformed payloads (missing required fields, unparseable timestamp) return 200 and are silently dropped — same behavior as the OwnTracks and Overland endpoints. Authentication failures return 401. Unexpected server errors return 500. Full schema available at /api-docs.

Fixed

  • The 2FA env vars are optional now

💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, derpderpington, Chippie, dint, jhalpern, Lex Fradski, Schlufo, cyberswan.at, craftyklaus, Andre, hogenf, naraxius, Embrace, martin4861, Alex, evetters, GregF, Jon Coffee, Lukas, Robbie G, Kilian, Hans G, Chris, tabaha, Andre, Michael C, Chris, Jonah B., Dante, daallex, Tanner A., Matthias B., Milien M., Mathias, Travis S., Michael J., Matthew F., Johnathan D., bleibdirtroy, no1etal, dixet, Bailey J., Alex D., Benjamin M., Daniel A., Florian, BeeHappy, ChemistryDachshund, OrangeWindies, Michelangelo V., Edward, Erazem Z., Denis Abt, Tony G., Andrew D., Lomky, Osamu Y., Simon van B., Linus T., Christian C., Sebastian, Jan K., Nathan T., Max G., Lars N., Karol B., Konstantin, Johannes H., t3hero, g3lin, Tim, Philipp M., Brand K., Pablo F. M., Jon H., fkB, Mikael, Dániel A., Hai_Tsung, ShooTex, GreenTentacle, PinkahPandah, David, Ken, Denna G., Andre, Hendl91, Jon H., MrRed, Arkadiusz Z., Jake, Bator T., Alex J. H., eps-dev, twiggu, Dragan V., Jerome G., Carsten M., Sheya B., ArnyminerZ, Gustav B., higgs01, Frank F., F. J. Kruz, Jon D., Alexander J. H., Daniel D., MrHighPing, Khorne on Patreon and KoFi 💙


What's Changed

Full Changelog: 1.7.0...1.7.1

Don't miss a new dawarich release

NewReleases is sending notifications on new releases.