Credential
A supported phone or digital credential starts the access interaction.
Aliro HomeKey is an open-source ESP32 reader exploring standards-based digital access through Aliro, NFC and Matter. It is built in public, tested on real hardware and documented around what actually works.
PN532 · Matter Door Lock · OTA validation · web authentication · Wi-Fi setup
The project separates the physical NFC transport, Aliro reader lifecycle, access policy, persistent configuration and network integrations so each layer can be understood and changed without turning the whole firmware into a black box.
A supported phone or digital credential starts the access interaction.
The PN532 frontend carries the ISO 14443-4 interaction to the reader.
The reader stack handles protocol state, authentication and credential identity.
Access policy decides whether the credential can drive the configured output.
Recent development has focused on making the reader more reliable in the real world: WebSocket liveness and reconnect handling, live metric rendering, Matter relock behavior and correcting the ESP-IDF WebSocket lifecycle documentation.
The WebSocket path now checks for pong responses, closes dead connections deliberately and keeps live device metrics synchronized instead of waiting for the device to disconnect.
View recent commits ↗Matter Door Lock handling now tracks the configured AutoRelockTime and updates the physical lock behavior from the device state.
Component boundaries, transaction flow and design constraints.
02 / HARDWAREESP32 targets, PN532, buses, lock output and security boundaries.
03 / TESTINGFlash v0.3, boot the board and understand what each test proves.
04 / ROADMAPCompleted milestones, open questions and the next engineering layer.
05 / VERSIONSv0.1, v0.2, v0.3 and reproducible firmware downloads.
06 / WEBSetup AP, configuration API, MQTT and authentication.
07 / PROJECTFoundations, attribution, Apache-2.0 and project boundaries.
Aliro HomeKey deliberately distinguishes compiled, booted, detected and end-to-end verified. A project that controls a door deserves that level of honesty.