OwnTracks Payload Builder

Construct OwnTracks JSON messages · publish via MQTT · inspect retained state

your-broker.example.com:1883

_type=location

Reports the current GPS position of the device, including optional metadata like battery, speed, and trigger source.

Required Fields
Optional — Device
Optional — GPS
Optional — Trigger & Context

_type=waypoint

Define a geofence region or BLE beacon that the app will monitor for enter/leave events.

Required Fields
Geographical Region (optional)
BLE Beacon (optional)

_type=transition

Sent when the device enters or leaves a previously configured region or BLE beacon.

Required Fields
Optional Fields

_type=lwt

Last Will and Testament — sent by the broker when the device disconnects ungracefully.

Fields

_type=card

Publishes the user's display name and avatar image (Base64 JPEG). Retained on the broker.

Fields

_type=cmd

Remote command sent to the device via its /cmd topic. Use setConfiguration to push full config objects.

Action
Connection
Topics & QoS
Tracking
App Behaviour
Security / Encryption
Map / Geocoding (iOS)

_type=steps

Step counter report — iOS only. Returns -1 if step counting is not available.

Fields

_type=encrypted

Wrapper for an encrypted, Base64-encoded JSON payload. The encryption key is never exported with configurations.

Required Fields
← select a device to publish
Retained Messages

Select a device in the sidebar to see retained messages.