EverythingSmartHome / fingerprint-mqtt

Fingerprint sensor with MQTT support based on Adafruit Fingerprint Sensor Library
GNU General Public License v3.0
24 stars 13 forks source link

Communication error #23

Open idomenashko opened 1 year ago

idomenashko commented 1 year ago

Creating model for #1 Fingerprints did not match Exiting Learning mode

Image taken Image converted Unknown error Communication error Image taken Image converted Unknown error Image taken Image converted Unknown error Communication error

i flahed it on D1 board select: d1 R2&mini

unseemlycoder commented 1 year ago

Hey @idomenashko, Can you specify the fingerprint sensor used? [R50x/FPM10A]

antonbek89 commented 1 year ago

Hey @idomenashko, Can you specify the fingerprint sensor used? [R50x/FPM10A]

Hey I have the same issue I used R503

unseemlycoder commented 1 year ago

Hey @antonbek89 So the R503 has a different function to match scanned fingerprints. It was raised at #10 and a PR was made at #20, do take a look at past issues/PRs while raising a new one (#24).

https://github.com/EverythingSmartHome/fingerprint-mqtt/blob/master/fingerprint-mqtt/fingerprint-R503-mqtt-led-WDT.ino The code was adapted for R503 and an ESP32; with LED states defined for different errors, reading, learning and scanning mode.

If you need to use it with a compatible esp8266 like a wemos d1 mini, do make the necessary modifications for the wifi and other libraries. There's even a restart trigger (watchdog) if it loses connection to the wifi network, this is because a reconnection strategy is not implemented in the original code.