Lyr3x / Roode

A reliable smart home people counter based on VL53L1X and ESPHome
The Unlicense
149 stars 41 forks source link

Adaptive threshold #58

Open Lyr3x opened 2 years ago

Lyr3x commented 2 years ago

Because the sensor is kind of sensible to temperature and sunlight (940nm) it makes sense to implement an adaptive threshold mechanism.

That mechanism should adapt the current thresholds by continuously calculating the SD on sample data. That way the threshold should be mirror the current situation more reliable