get_distance
Calculate straight-line distance from latest OwnTracks positions to a target point or configured home. Answer how far a user or device is from a place.
Instructions
Straight-line distance from the latest position(s) to a point (or to the configured home).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Target latitude. Omit both to use home. | |
| lon | No | Target longitude. Omit both to use home. | |
| user | No | OwnTracks user name. "me" = configured default user. Omit for everyone (where supported). | |
| device | No | Device name of that user. Omit if the user has only one device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||