Dawarich add-on: self-hosted location history running on HA OS

Dawarich is a self-hosted alternative to Google Timeline. I wanted it on my Home Assistant box rather than on a separate machine, so I packaged it as an add-on. It has been running on my own Pi 5 for months and I keep it up to date with upstream.

There is already a HACS integration called dawarich-home-assistant that pulls stats out of a Dawarich server into sensors. This is the other half: it runs the server itself. The app, PostgreSQL with PostGIS, Redis and the background workers all live in one add-on container, and it opens from the sidebar through ingress.

What it does

  • Your whole location history on a map. Import Google Takeout, GPX, KML, GeoJSON or OwnTracks, or track live with the Dawarich phone apps
  • Tracks straight from Home Assistant device trackers, so a phone that already reports to HA feeds Dawarich without installing anything else. Multi-user works too, one HA person per Dawarich account
  • Trips, visits, monthly and yearly stats, heatmap, Fog of War, and reverse geocoding through Photon or Geoapify if you want place names

Install

Settings → Apps → Install Apps → ⋮ → Repositories, then add:

Worth knowing before you install

  • 64 bit only, aarch64 or amd64
  • The image is around 1 GB, so the first install takes a while
  • Your history lives in PostgreSQL inside the add-on and is included in Home Assistant backups. After a big import the first boot can be slow while it builds tracks and stats
  • It is linked from Dawarich’s own docs: Home Assistant | Dawarich

Happy to answer questions in this thread. Bug reports and feature requests are better on GitHub so they do not get lost.

2 Likes