HausnerR / esphome-door-lock

IoT door lock based on Wemos D1 mini and RC522 RFID module
MIT License
42 stars 18 forks source link

Feature Request: Last tag refresh if possible #5

Closed bluefoxlee closed 4 years ago

bluefoxlee commented 4 years ago

First of all, Really Thanks for the hard word. I just found this and flash it yesterday. it works so great, Thanks!

I did not use esphome-door-lock as a door lock but just a trigger for automation in Home Assistant. however, I found the last tag ID and description will remain unchanged until it read other tag or card.

So wonder is it possible to make the code to resend the id and description ever time when tag to RFID.

bluefoxlee commented 4 years ago

Please ignore. Use reset_command to solved the issue. Thanks ^^

HarryJHolmes commented 4 years ago

Would you mind sharing where you find or include this reset_command? @bluefoxlee thanks

bluefoxlee commented 4 years ago

@Harryjholmes I am using the NFC reader with Home Assistant, so I mean the rest_command from Home Assistant instead of esphome itself.