Skip to main content

Server Settings

SettingDescriptionDefaultRange
EndpointHTTP(S) URL of your serverEmpty (offline)--
HTTP MethodPOST (JSON body) or GET (query params)POSTPOST / GET
Sync IntervalBatch mode intervalInstant (0)0s - Custom
Retry Failed UploadsKeep retrying failed uploads indefinitelyOffOn/Off
Offline ModeDisable all network activityDisabledOn/Off

Endpoint URL

Your server endpoint must accept HTTP or HTTPS requests (POST or GET depending on your HTTP Method setting). HTTPS is required for public endpoints. HTTP is restricted to private/local addresses at the network level - public HTTP endpoints will be blocked at request time.

Self-signed certificates are supported - install your CA certificate on the device via Settings → Security → Encryption & credentials → Install a certificate.

On Android 17+, connecting to another device on the local network (everything above except localhost) requires the ACCESS_LOCAL_NETWORK permission. Colota requests this when you use Test Connection. See Permissions for details.

Use the Test Connection button in settings to verify your server is reachable.

Multiple Backends

Colota sends to a single endpoint. To forward locations to multiple services simultaneously (e.g. Dawarich + Home Assistant), use colota-forwarder - point Colota at the forwarder and configure each target in the forwarder's environment variables.

Sync Modes

  • Instant (0s): Each location is sent immediately after recording
  • Batch (1 min, 5 min, 15 min, or Custom): Locations are queued and sent in batches at the configured interval
  • Offline: No network activity - data is stored locally only. See Offline Mode below.

Offline Mode

Enable Offline Mode in Settings to use Colota as a standalone tracker without any server. Locations are recorded and stored locally on-device.

Enabling Offline Mode

When you toggle offline mode on with unsent locations still in the queue, a dialog offers several options:

  • Sync First - attempt to upload queued locations before switching (only available if an endpoint is configured)
  • Keep in Queue - preserve queued locations for later sync when you disable offline mode
  • Delete Queue - permanently delete all pending locations
  • Cancel - abort and stay in online mode

If no locations are queued, offline mode enables immediately.

What Changes in Offline Mode

The UI simplifies to remove sync-related elements that don't apply:

Hidden in offline mode:

  • Server Endpoint and Test Connection
  • Authentication & Headers
  • API Field Mapping
  • Sync Interval, Retry Failed Uploads, Wi-Fi Only Sync
  • Queue statistics (Queued / Sent counts)
  • Queue actions (Sync Now, Clear Sent History, Clear Queue)
  • Queue info in the tracking notification

Still available in offline mode:

  • All tracking parameters (interval, movement threshold, accuracy)
  • Tracking profiles and geofences
  • Data export (CSV, GeoJSON, GPX, KML) - both manual and auto-export
  • Database statistics (Total locations, Today count, Storage)
  • Data cleanup (Delete All Locations, Delete Old, Optimize Database)

Disabling Offline Mode

Toggle offline mode off in Settings to return to online mode. If you had an endpoint configured before, syncing resumes with your previous settings. Any locations that were kept in the queue will be sent on the next sync cycle.

Retry Behavior

When a sync attempt fails, Colota retries with exponential backoff:

Attempt 1: Immediate
Attempt 2: +30s
Attempt 3: +60s (1 minute)
Attempt 4: +300s (5 minutes)
Attempt 5+: +900s (15 minutes)

By default, failed uploads are permanently deleted after 5 failed send attempts. Enable Retry Failed Uploads in advanced settings to keep retrying indefinitely - failed uploads stay in the queue until they succeed. Note that this may cause queue buildup if your server is unreachable for extended periods.

The app also auto-syncs when network connectivity is restored.