26 lines
585 B
Markdown
26 lines
585 B
Markdown
# 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](https://github.com/Freika/dawarich).
|
|
|
|
## Install
|
|
|
|
```shell
|
|
sudo apt-get install mariadb-client libmariadb-dev pkg-config
|
|
```
|
|
|
|
```shell
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
```shell
|
|
cp config.sample.yml config.yml
|
|
```
|
|
|
|
Then, edit `config.yml`.
|
|
|
|
There is a sample systemd service provided as `ha-location-export.service`. |