Open KCU1976 opened 11 months ago
This would be great - ideally EV2 as they're pretty widely available now & seem most future proofed. A friend of mine got EV2 reading into a Raspberry Pi which was very clever (I can probably get the source code if that helps anyone), but going directly into ESPHome and Home Assistant would be very neat.
Describe the problem you have/What new integration you would like The current PN532 implementation only supports Mifare Classic and Mifare ultralight, both of which are fundamentally insecure. A well-documented library for Desfire (EV1 at least) exists and is used in an example project: https://www.codeproject.com/Articles/1096861/DIY-electronic-RFID-Door-Lock-with-Battery-Backup Unfortunately, I lack the skill to port this to esphome.
Please describe your use case for this integration and alternatives you've tried: I plan on using esphome for access control, but I'm not confident with Mifare Classic or Ultralight as both cards can be copied easily.
Additional context The plan is to use a PN532 + antenna in the outdoor box and connect through the wall using the (low-frequency) SPI interface. A few additional signals will be used for an LED and bell button. The ESP will control a relay to switch the 24V necessary to unlock the door. The plan is to design a custom PCB that contains all required electronics such as power converters (24V -> 5V), relays, button interfaces ,... I do have the knowledge for that and I'm willing to share the results as well.