Skip to content

[Bug] False re-triggering when subject lingers in doorway #11

@Smart-real

Description

@Smart-real

Current Behavior:
The system currently uses a fixed debounce timer (e.g., 250ms) to prevent double-triggering. However, if a subject moves slowly or stands in the beam path ("lingers") for longer than the debounce window, the system re-arms and fires a second trigger event while the subject is still exiting.

Expected Behavior:
The system should utilize a "Latch/Hold" state. It should not re-arm the trigger logic until the beam has been continuously restored (HIGH) for a safe threshold (e.g., >1000ms), ensuring the doorway is fully cleared before accepting a new event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions