ha-location-exporter/README.md

26 lines
585 B
Markdown
Raw Permalink Normal View History

2024-08-31 18:51:51 -06:00
# ha-location-exporter
2024-09-03 14:30:50 -06:00
*Export your device location and save it in a database.*
2024-09-03 14:38:43 -06:00
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).
2024-09-03 14:30:50 -06:00
## Install
```shell
2024-09-03 14:38:43 -06:00
sudo apt-get install mariadb-client libmariadb-dev pkg-config
2024-09-03 14:30:50 -06:00
```
```shell
pip install -r requirements.txt
```
```shell
cp config.sample.yml config.yml
```
Then, edit `config.yml`.
2024-09-03 14:38:43 -06:00
There is a sample systemd service provided as `ha-location-export.service`.