Export your device location and save it in a database.
Go to file
Cyberes a35407154f update readme 2024-09-03 14:38:43 -06:00
lib add code 2024-09-03 14:30:50 -06:00
.gitignore add code 2024-09-03 14:30:50 -06:00
LICENSE Initial commit 2024-08-31 18:51:51 -06:00
README.md update readme 2024-09-03 14:38:43 -06:00
config.sample.yml add code 2024-09-03 14:30:50 -06:00
ha-location-export.service update readme 2024-09-03 14:38:43 -06:00
main.py add code 2024-09-03 14:30:50 -06:00
requirements.txt add code 2024-09-03 14:30:50 -06:00

README.md

ha-location-exporter

Export your device location and save it in a database.

This is a service that exports your device's fine-grained location history from Home Assistant and saves it in a database indefinitely.

It also supports forwarding data to Dawarich.

Install

sudo apt-get install mariadb-client libmariadb-dev pkg-config
pip install -r requirements.txt
cp config.sample.yml config.yml

Then, edit config.yml.

There is a sample systemd service provided as ha-location-export.service.