This page talks to a live API (valkyrie-door-api) that implements the protocol described in Door Guardian's spec: a presence credential (fingerprint/RFID) identifies who's asking, then a one-time Secure Image challenge proves they know the PIN, without the PIN ever crossing the wire in the clear.
RELEASE signal a real maglock-controller unit would receive and act on. Demo state is public and shared per-browser (via a random id in your browser's storage) — don't use a real PIN.Everything below operates on whichever device_id is active here. Defaults to a random per-browser demo id; point it at a real reader module's own device_id (printed on its serial console at every boot) to manage that physical unit's actual credentials/PIN instead.
What the ESP32 admin screen would do locally, before anyone ever authenticates.
First factor: pick an enrolled credential. This stands in for the reader matching your finger or badge. Each credential has its own PIN now, not one shared device PIN — a copied fingerprint alone proves nothing without also knowing that specific person's PIN.
Clears every credential, the PIN and any lockouts stored against your browser's demo id.