Closed MaximeSharp closed 6 months ago
Hey @MaximeSharp thanks for the issue! I think it wasn't intended to keep the door open for 10 seconds, it looks like a bug to me.
Have a look at this code if you can: https://github.com/esprfid/esp-rfid/pull/633 it should fix the issue. Let me know if that works, thanks!
Hi, I can confirm that does fix the issue !
Using the lastest dev version,
When scanning an "Admin" access tag while the device isn't connected to the Wi-Fi network in Client mode, the device switch on the relay then try to connect to the Wi-Fi network before turning it off. If it failed to connect, the relay is triggered for ~10 seconds instead of the configured Activate Time (i.e 400ms).
No doubt it's a useful feature if you use the device in Access Point mode, but in Client mode it might not be necessary since it automaticaly reconnect when the Wi-Fi network is available again.