history_diff
Compare owned position history within a bounding box between two timestamps to identify contacts that arrived, departed, or stayed.
Instructions
What changed inside a box between two moments: arrived, departed, stayed.
Answers from OWNED history, so it works for any past window still retained
rather than only the present instant. at_a and at_b are epoch seconds
(at_b defaults to now); each is widened by window_sec because a stored
position is a sample rather than a continuous truth.
recorded: false means nothing was in the archive for that box and window -
which is NOT the same as "nothing changed". Do not report an empty archive
as a quiet period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_a | Yes | ||
| at_b | No | ||
| kind | No | ||
| lamax | Yes | ||
| lamin | Yes | ||
| lomax | Yes | ||
| lomin | Yes | ||
| window_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||