Colota - Android GPS Location tracker
Add Home Assistant integration docs and update privacy policy
Max Dietrich95452053e2e4
diff --git a/apps/docs/docs/integrations/home-assistant.md b/apps/docs/docs/integrations/home-assistant.mdnew file mode 100644index 00000000..53ffab2a--- /dev/null+++ b/apps/docs/docs/integrations/home-assistant.md@@ -0,0 +1,52 @@+---+sidebar_position: 3+---++# Home Assistant++[Home Assistant](https://www.home-assistant.io/) is an open-source home automation platform.++Colota integrates with Home Assistant via the built-in [OwnTracks integration](https://www.home-assistant.io/integrations/owntracks/), which accepts location updates over HTTP.++## Setup++1. **Add the OwnTracks integration** in Home Assistant:+ - Go to **Settings > Devices & Services > Add Integration**+ - Search for **OwnTracks** and add it+ - Note the webhook URL shown after setup (e.g. `https://your-ha-instance/api/webhook/abc123`)+2. **Configure Colota**:+ - Go to **Settings > API Settings**+ - Select the **OwnTracks** template+ - Set the endpoint to your Home Assistant webhook URL:+ ```+ https://your-ha-instance/api/webhook/abc123+ ```+ - No authentication is needed - the webhook ID acts as the secret++Your device will appear as a `device_tracker` entity in Home Assistant that you can use for automations, zones, and the map.++## Payload Format++The OwnTracks template auto-configures the following payload:++```json+{+ "_type": "location",+ "tid": "AA",+ "lat": 51.495065,+ "lon": -0.043945,+ "acc": 12,+ "alt": 519,+ "vel": 0,+ "batt": 85,+ "bs": 2,+ "tst": 1704067200,+ "cog": 180.5+}+```++## Notes++- You can customize the tracker ID (`tid`) in the custom fields settings to distinguish multiple devices+- If you use Nabu Casa, use the `cloudhook_url` or `remote_ui_url` provided during setup for external access+- Home Assistant does not require a Bearer token or Basic Auth for webhook endpointsdiff --git a/apps/docs/sidebars.ts b/apps/docs/sidebars.tsindex 4bde08b2..50f62db9 100644--- a/apps/docs/sidebars.ts+++ b/apps/docs/sidebars.ts@@ -29,6 +29,7 @@ const sidebars: SidebarsConfig = {items: ["integrations/api-templates","integrations/dawarich",+ "integrations/home-assistant","integrations/owntracks","integrations/reitti","integrations/phonetrack",diff --git a/apps/docs/src/pages/privacy-policy.md b/apps/docs/src/pages/privacy-policy.mdindex 3282107b..10ed76ff 100644--- a/apps/docs/src/pages/privacy-policy.md+++ b/apps/docs/src/pages/privacy-policy.md@@ -4,7 +4,7 @@ title: Privacy Policy# Privacy Policy-**Last updated: February 14, 2026**+**Last updated: February 18, 2026**Colota ("the App") is a self-hosted GPS tracking application for Android, developed by Max Dietrich. This privacy policy explains what data the App collects, how it is used, and your rights regarding that data.@@ -25,9 +25,17 @@ The App collects the following location-related data when tracking is active:The App also collects:-- Battery level (0–100%)+- Battery level (0-100%)- Battery status (charging, unplugged, full)+### Geofence Data++If you create pause zones (geofences), the App stores zone names, coordinates, and radii in the local database. This data is used only on-device to determine when to pause tracking and is never transmitted to any server.++### Condition Monitoring++When tracking profiles are enabled, the App monitors charging state, car mode (Android Auto), and GPS speed to automatically switch tracking configurations. These condition states are transient and are not stored in the database.+All data is stored **locally on your device** and is never sent anywhere unless you configure a server. The App does not collect personal identifiers, advertising IDs, device identifiers (IMEI, serial number), usage analytics, telemetry, or crash reports.## Data Storage@@ -36,6 +44,8 @@ Collected data is stored in a local SQLite database on your device. The data isAuthentication credentials (if configured) are encrypted using **AES-256-GCM** via Android's `EncryptedSharedPreferences`.+The App supports configuration via `colota://setup` deep links. These links can include server endpoints and authentication credentials. You must explicitly confirm before any configuration is applied. Only open setup links from sources you trust.+## Data TransmissionThe App **only transmits data to a server endpoint that you configure**. No data is sent anywhere by default.@@ -79,12 +89,16 @@ Since all data is stored locally on your device, you have full control:## Permissions-| Permission | Purpose |-| ------------------ | ---------------------------------------- |-| Location (Precise) | GPS tracking |-| Foreground Service | Background tracking with notification |-| Boot Completed | Auto-start tracking after device reboot |-| Internet | Server sync (not needed for offline use) |+| Permission | Purpose |+| --------------------------------- | -------------------------------------------------- |+| Location (Precise) | GPS tracking |+| Background Location (Android 10+) | Tracking while the app is not in the foreground |+| Foreground Service | Background tracking with notification |+| Notification (Android 13+) | Foreground service notification |+| Boot Completed | Auto-start tracking after device reboot |+| Internet | Server sync (not needed for offline use) |+| Network State | Wi-Fi only sync detection |+| Battery Optimization Exemption | Optional, prevents system from restricting the app |## Children's Privacy