Automated provisioning of generic MIFARE Classic 1K cards for Lockly smart locks. Reduces per-card cost from ~$8 to $0.30-$0.50 by writing the required sector keys to blank cards.
Processing time: ~8-10 seconds per card.
Technical details: https://highzmash.com/posts/lockly-generic-mifare-cards/
- Proxmark3 with Iceman firmware
- Generic MIFARE Classic 1K cards
- Original Lockly card (for key recovery)
-
Recover your Lockly card's Sector 0 Key A:
pm3 -c "hf mf autopwn" -
Update
LOCKLY_KEY_Ain the script with your recovered key -
Configure the
pm3client path in the script if needed
# Single card
./lockly_card_writer.sh
# Batch processing
./lockly_card_writer.sh 10After programming, enroll cards through the Lockly Home app.
- The included key (
FB5F52DEB87A) may not match your lock - Script skips cards with non-default Sector 0 keys (prevents overwriting originals)
- For personal use only