Description
HomeKey-ESP32 is open-source firmware that turns an ESP32 board and an NFC reader into a HomeKit lock that works with Apple Home Key. It is a do-it-yourself option for people who want to unlock a door or other device by tapping an iPhone or Apple Watch, without buying a compatible commercial smart lock. The Home Key support is based on reverse engineering. You need an ESP32 development board, a supported NFC module (PN532 over SPI, with PN7161 and ST25R3916 in the development release), a USB cable and a computer running Windows, macOS or Linux. Several Ethernet chips are supported as well. Some release builds enable flash encryption, which disables UART and USB/JTAG flashing and limits later updates to the project's OTA mechanism. A wiki documents setup.…
Highlights
- Apple Home Key NFC unlocking on an ESP32
- Works with PN532 NFC readers, with more modules in development builds
- Ethernet support for chips such as W5500 and LAN8720
- Over-the-air updates
- Optional flash-encrypted firmware builds
Ratings & Reviews
No ratings yet
Be the first to rate HomeKey-ESP32.
People also visit
HomeKey-ESP32 FAQ
What does HomeKey-ESP32 do?
It runs on an ESP32 with an NFC reader and acts as a HomeKit lock, so you can unlock something by tapping an iPhone or Apple Watch using Apple Home Key.
What hardware do I need?
An ESP32 development board, a supported NFC reader (PN532 over SPI; PN7161 and ST25R3916 are in the dev release), a USB cable for flashing and power, and a Windows, Mac or Linux computer.
What should I know about the encrypted firmware builds?
The enc.firmware builds enable flash encryption, which disables UART and USB/JTAG flashing, so tools like esptool stop working and updates only arrive over OTA. You should not update to them from an unencrypted version. The project also notes the encryption is not a guarantee against attacks.
Where is the documentation?
A project wiki is published at rednblkx.github.io/HomeKey-ESP32.
What are the best HomeKey-ESP32 alternatives?
Popular alternatives to HomeKey-ESP32 include Nuki Hub, HAP-ESPHome and Esp Homekit Devices. See all HomeKey-ESP32 alternatives

