DETECTION PROFILES · 4 MIN READ

Choose your detection profile

ESPectre has two motion detectors: Lightweight Detection and High-Accuracy Detection. Both read the same Wi-Fi CSI and report the same motion state. Lightweight is the default and uses less CPU and memory. High Accuracy uses a small pretrained model to detect better, and works better in rooms it was not tuned for.

An ESP32 branching one Wi-Fi signal into short and deep processing paths
One CSI stream, two detectors. Native, ESPHome, and Matter can switch between them while running.
Sections

Two built-in detectors

PUBLISHED DEFAULT

Lightweight Detection

Leaves more CPU and memory for the rest of the firmware. It adapts its threshold to the room during a short calibration at startup, while the room is quiet.

lightweight

DETECTION QUALITY

High-Accuracy Detection

Uses more signal features and a small neural network. It is more accurate in our tests, including in rooms it has never seen, and needs no calibration.

high_accuracy

Choose in thirty seconds

What changes

Runtime cost

Lightweight

Less CPU and memory.

High Accuracy

More CPU and memory for the extra features and the neural network.

Detection quality

Lightweight

Good baseline; lower accuracy, and less consistent from room to room.

High Accuracy

Higher accuracy, and more consistent from room to room in our tests.

Startup

Lightweight

Calibrates from about ten seconds of clean data. A burst in that window can extend it, up to about thirty seconds.

High Accuracy

No calibration; it starts as soon as it has collected enough CSI.

Training required from you

Lightweight

None.

High Accuracy

None; the model is included in the firmware.

Best fit

Lightweight

Small chips, or products that need resources for other features.

High Accuracy

Products where detection quality comes first and there is room for the extra cost.

At startup: keep the room still while Lightweight calibrates. A brief movement extends that calibration, up to about thirty seconds. After moving the sensor, restart it so Lightweight calibrates in its new position. High Accuracy needs no calibration, but it still needs a few seconds of CSI before it starts.

These are detector choices, not power modes. We measure each detector's CPU and memory use, but make no claim about the device's total power use.

How to select it

Pick your firmware type. You can change the profile while the device runs, and the choice is saved. On Matter, this setting is available over Direct HTTP, not through the standard Matter controls.

Native MQTT shell

Connect to the broker and select the device. The change applies at once and survives reboots:

./espectre mqtt --broker 192.168.1.20
espectre> update_sensing detector=high_accuracy

Check that the shell reports an accepted result, then open Live motion on the same device and verify Detection mode. MQTT clients can also read detector from the retained sensing topic. Use update_sensing detector=lightweight to switch back.

Evidence and deeper reference

The SDK detector reference explains how each detector works, step by step, and shows the measured performance of both.