Skip to content

Watch tracks and detections

Use this workflow to receive track or detection events from an integration you are authorized to observe. After completing the observer quickstart, choose the runnable track watcher or detection watcher. Both open a lazy bounded stream and close it in finally.

Terminal window
python examples/watch_tracks.py --check
export ECN_OBSERVED_INTEGRATION=authorized-source
export ECN_MAX_EVENTS=10
python examples/watch_tracks.py
Terminal window
python examples/watch_detections.py --check
export ECN_OBSERVED_INTEGRATION=authorized-source
export ECN_MAX_EVENTS=10
python examples/watch_detections.py

Category filters are fixed in each script. Add the exact integration whenever it is known, keep event counts bounded for validation, and use DeliveryPolicy.LATEST for rendering consumers that prefer current state over backlog.

For the supported sensor publication pattern, continue with Sensor integration.

Version 0.2.0 · branch main