[BUG] Threshold reverts during reflash/reboot, requires re-calibrate to reset
Author: HACS-bankCreated Sep 27, 2026Updated Sep 27, 2026
Labelsbug
Before you start
- I searched existing issues for similar reports.
- I tested against the current website or a recent release or development build. If I could not, I explained why below.
Area affected
Detector or on-device runtime
Firmware
ESPHome
Installation or connection
ESPHome local build
ESPectre version or commit
3.0.0 rc3
Board and chip
NSPanel
Website page or origin
No response
Browser and version
No response
Host OS
No response
Controller or integration
No response
What happened?
After flashing, Threshold reverts to 0.66.... instead of the 0.5 it was set to before flashing the update in a diffrent component
Pressing re-calibrate sets it back to 0.5
What did you expect to happen?
0.5 should be re-instated.
Steps to reproduce
- flash
- observe
Relevant config or command
Relevant logs
[14:51:17.800][C][espectre:1035]: _____ ____ ____ __
[14:51:17.800][C][espectre:1035]: | ____/ ___|| _ \ ___ ___| |_ _ __ ___
[14:51:17.800][C][espectre:1035]: | _| \___ \| |_) / _ \/ __| __| '__/ _ \
[14:51:17.800][C][espectre:1035]: | |___ ___) | __/ __/ (__| |_| | | __/
[14:51:17.817][C][espectre:1035]: |_____|____/|_| \___|\___|\__|_| \___|
[14:51:17.817][C][espectre:1035]:
[14:51:17.817][C][espectre:1038]: MOTION DETECTION
[14:51:17.817][C][espectre:1039]: ├─ Wi-Fi band ......... 2g
[14:51:17.822][C][espectre:1040]: ├─ Detector ........... high_accuracy
[14:51:17.822][C][espectre:1041]: ├─ Threshold .......... 0.662185
[14:51:17.822][C][espectre:1042]: ├─ Window ............. 1000 ms
[14:51:17.822][C][espectre:1044]: └─ Startup threshold .. 0.000000
[14:51:17.843][C][espectre:1045]:
[14:51:17.843][C][espectre:1047]: SUBCARRIERS [04,08,13,18,23,28,36,41,46,51,56,60]
[14:51:17.843][C][espectre:1054]:
[14:51:17.844][C][espectre:1055]: TRAFFIC GENERATOR
[14:51:17.861][C][espectre:1056]: ├─ Mode ............... external
[14:51:17.861][C][espectre:1057]: ├─ Target IP .......... 192.168.1.2
[14:51:17.861][C][espectre:1060]: ├─ CSI target ......... 100 pps
[14:51:17.861][C][espectre:1062]: ├─ Multicast join ..... 239.255.0.1
[14:51:17.885][C][espectre:1065]: └─ Status ............. [IDLE]
[14:51:17.885][C][espectre:1066]:
[14:51:17.886][C][espectre:1067]: EVALUATION
[14:51:17.886][C][espectre:1068]: ├─ Interval ........... 250 ms
[14:51:17.899][C][espectre:1070]: └─ Hits on/off ........ 1 / 20
[14:51:17.899][C][espectre:1073]:
[14:51:17.899][C][espectre:1074]: LOW-PASS FILTER
[14:51:17.899][C][espectre:1075]: ├─ Status ............. [DISABLED]
[14:51:17.927][C][espectre:1079]:
[14:51:17.927][C][espectre:1080]: HAMPEL FILTER
[14:51:17.927][C][espectre:1081]: ├─ Status ............. [ENABLED]
[14:51:17.927][C][espectre:1083]: ├─ Window ............. 7 pkts
[14:51:17.941][C][espectre:1084]: └─ Threshold .......... 5.0 MAD
[14:51:17.941][C][espectre:1086]:
[14:51:17.941][C][espectre:1087]: SENSORS
[14:51:17.941][C][espectre:1088]: ├─ Movement ........... [OK]
[14:51:17.947][C][espectre:1090]: └─ Motion Binary ...... [OK]
[14:51:17.948][C][espectre:1092]:
[14:51:17.948][C][espectre:1093]: DIRECT API ............ [ENABLED]
....
[14:55:51.284][I][espectre.runtime:333]: Sensing ready (70/100 valid slots)
[14:55:51.468][S][sensor]: 'Movement Score' >> 0.00
[14:55:51.704][S][sensor]: 'Movement Score' >> 0.00
[14:55:51.807][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:6.9 rx:110.6 cb:109.6 accepted:102.7 hwerr:0.0 occ:72% | ch:4 rssi:-58
[14:55:51.817][D][espectre.threshold:045]: Threshold re-published to HA: 0.66
[14:55:51.817][D][espectre.motion_hits:046]: Motion on hits re-published to HA: 1
[14:55:51.817][D][espectre.motion_hits:046]: Motion off hits re-published to HA: 20
[14:55:51.923][S][number]: 'Motion Threshold' >> 0.66
[14:55:51.924][S][select]: 'Detection Profile' >> high_accuracy
[14:55:51.925][S][number]: 'Motion On Hits' >> 1.00
[14:55:51.928][S][number]: 'Motion Off Hits' >> 20.00
[14:55:51.928][S][select]: 'CSI Traffic Source' >> external
[14:55:51.929][S][sensor]: 'Movement Score' >> 0.00
[14:55:52.241][S][sensor]: 'Movement Score' >> 0.00
[14:55:52.508][S][sensor]: 'Movement Score' >> 0.00
[14:55:52.817][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:9.0 rx:109.6 cb:110.6 accepted:101.6 hwerr:0.0 occ:67% | ch:4 rssi:-57
[14:55:53.669][I][espectre.runtime:336]: Sensing not ready: low_coverage (58/100 valid slots)
[14:55:53.843][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:3.0 rx:108.7 cb:104.7 accepted:101.7 hwerr:0.0 occ:58% | ch:4 rssi:-58
[14:55:54.837][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:2.9 rx:74.4 cb:72.5 accepted:66.6 hwerr:0.0 occ:29% | ch:4 rssi:-58
[14:55:55.861][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:2.0 rx:141.5 cb:134.6 accepted:125.7 hwerr:0.0 occ:60% | ch:4 rssi:-57
[14:55:56.502][I][espectre.runtime:333]: Sensing ready (70/100 valid slots)
[14:55:56.720][D][espectre.runtime:341]: Held readiness through a 175 ms coverage dip
[14:55:56.894][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:3.9 rx:106.3 cb:106.3 accepted:100.4 hwerr:0.0 occ:62% | ch:4 rssi:-58
[14:55:56.912][D][espectre.threshold:045]: Threshold re-published to HA: 0.66
...
[14:59:12.456][I][espectre.runtime:063]: [-------------|------] | mvmt:0.000000 thr:0.662185 | IDLE | gen:0.0 tx:2.0 rx:4.0 cb:2.0 accepted:0.0 hwerr:0.0 occ:0% | ch:4 rssi:-56
[14:59:12.726][I][espectre.runtime:584]: Manual recalibration triggered
[14:59:12.734][I][HighAccuracyDetector:172]: Threshold updated: 0.500000
[14:59:12.813][S][number]: 'Motion Threshold' >> 0.50
[14:59:12.813][S][select]: 'Detection Profile' >> high_accuracy
[14:59:12.813][S][number]: 'Motion On Hits' >> 1.00
[14:59:12.813][S][number]: 'Motion Off Hits' >> 20.00
[14:59:12.814][S][select]: 'CSI Traffic Source' >> external
[14:59:13.457][I][espectre.runtime:063]: [----------|---------] | mvmt:0.000000 thr:0.500000 | IDLE | gen:0.0 tx:6.0 rx:28.0 cb:6.0 accepted:0.0 hwerr:0.0 occ:0% | ch:4 rssi:-56
[14:59:14.480][I][espectre.runtime:063]: [----------|---------] | mvmt:0.000000 thr:0.500000 | IDLE | gen:0.0 tx:3.0 rx:5.0 cb:3.0 accepted:0.0 hwerr:0.0 occ:0% | ch:4 rssi:-56
[14:59:15.470][I][espectre.runtime:063]: [----------|---------] | mvmt:0.000000 thr:0.500000 | IDLE | gen:0.0 tx:3.0 rx:11.9 cb:3.0 accepted:0.0 hwerr:0.0 occ:0% | ch:4 rssi:-56Crash debug artifacts
No response
Additional context
No response
Source: francescopace/espectre