OzWrapper.OzAnomaly.detector

Orchestrator for the on-device anomaly detector.

Exposes AnomalyDetector (the public entry point) and AnomalyResult (the structured return value).

The detector pulls 24 h + 48 h windows from the injected DataProvider, runs all checks, merges their outputs, and returns a single AnomalyResult. It does not publish — the caller is responsible for sending the result to MQTT, InfluxDB, or anywhere else.

Attributes

Classes

AnomalyDetector

Runs the full anomaly-check pipeline for a single device.

AnomalyResult

Structured output of a single detector run.

Module Contents

OzWrapper.OzAnomaly.detector._E3_EARLY_EXIT = 80
OzWrapper.OzAnomaly.detector.logger