#fingerprint

41 messages · Page 1 of 1 (latest)

bleak radish
#

Hi guys.
I have some problems with fingerprint and MQTT. I followed this article:
https://everythingsmarthome.co.uk/how-to-build-a-wifi-connected-fingerprint-sensor-with-home-assistant/
I set it and make it work but I found out that after some time, it is not reading any fingerprint
In mqtt it is not reading every 5 seconds as it sould but it is stuck at one reading....
This is the correct reading (mqtt_after_restart.png) and is working fine after a fingerprint sensor restart up to some unexpected error,
and this is what I find after the error (mqtt_before_restart.png).
Yesterday I found a record in logs that fingerprint ID is waiting an int and received "unknown".
I deleted all the fingerprint records and learned only 1 finger. It worked for about 1 hour and stoped with no errors in logs.
I reset it and it worked but today, in the morning, when I wanted to open the gate it didn't work. No errors in logs.
Any iddeas?

Everything Smart Home

When I posted some update videos on Reddit
[https://www.reddit.com/r/homeautomation/comments/gquzmc/quick_update_on_the_fingerprint_sensor_remotely/]
and Twitter [https://twitter.com/EverySmartHome] (make sure to follow me there
for more updates!) earlier this week about the Fingerprint Sensor update, the
reaction was so

balmy crypt
#

Hi, which version of the fingerprint sensor do you have?

tough dirge
#

Did you solve your issue?

bleak radish
bleak radish
balmy crypt
tough dirge
# balmy crypt Depending on the version of the sensor, you could use ESPHome instead. That’s wh...

@balmy crypt, that's what I asked Lewis yesterday! I decided to go forward myself with integrating a Fingerprint Sensor following his tutorial and I am wondering if going through the Arduino IDE route is still the recommended way to go. I've seen there is a Grow Fingerprint Reader component on ESPHome. Could this allow us to mount the required libraries on a WeMos D1 Mini without using Arduino IDE??

https://esphome.io/components/fingerprint_grow.html

balmy crypt
tough dirge
#

I think I have the same model as Lewis used:

#

@balmy crypt, in 8 hours, let me know if your config can work with this finger model eshnoice

bleak radish
#

What I notices is that after reading a fingerprint, the "waiting" status keeps showing "confidence" and "match"...

#

mine got stuck again today, after a few working days...

#

that yellow line is like this since noon today

#

and it started to read after I pressed "Enter"

olive canyonBOT
bleak radish
tough dirge
#

@balmy crypt, you wanted a reminder? Here it is!

balmy crypt
#

Have a sec 🙂

tough dirge
#

Take your time

olive canyonBOT
balmy crypt
#

I almost forgot haha

#

Sorry for the bad wiring scheme! Lol

tough dirge
bleak radish
#

When I left home this morning it worked... I wonder for how long...😆

tough dirge
bleak radish
tough dirge
#

Probably an FPM10A like mine. Take your time and let us know 🙂

tough dirge
#

@bleak radish Still stable?

bleak radish
#

Hi. No. Needs restart of the fingerprint once or twice a day

#

Strange is that there's no errors in the log

tough dirge
#

I hope I don't run into the same issues... I'll keep you updated. Thanks @bleak radish

bleak radish
#

I don't know by what miracle, I didn't restart the fingerprint for about a week and still works. It takes 5-7 seconds to read my fingerprint but it works. I recorded same finger twice but with different name and seems that it works. It reads the first one recorded but is seems that takes 2-3 second to read. I'll check again tomorrow.

#

This is my setup:

#

I also have a Sonoff Zigbee button that works way faster but I want to use this since is right next to exit...

#

Outside I have a Dahua VTO2211G-WP video doorbell with RFID keys and I tried to use face recognition (Frigate, Double-take and Deep Stack) but I had a lot of false positive faces that would open the gate and I gave up. Dahua doorbell has face recognition but I did not find how to integrate that in Home Assistant. Maybe in the future...

bleak radish
#

Hello again!

#

Regarding fingerprint error I wrote above, it still not working but I found in logs something about fingerprint_id that is expecting an 'int' and receiving 'unknown'.
I checked the sensor.yaml code and changed the following:

#

from (int):
value_template: >-
{% if states('sensor.fingerprint_id') | int >= 1 %}
{%- set printid = states('sensor.fingerprint_id') | int -%}
{%- set prints = states("input_text.fingerprint_data") | from_json if states("input_text.fingerprint_data") else [] -%}
{%- set fingerprint = prints|selectattr('id', 'eq', states('sensor.fingerprint_id') | int(0)) | first -%}
{{fingerprint["name"]}}
to int(0):
value_template: >-
{% if states('sensor.fingerprint_id') | int(0) >= 1 %}
{%- set printid = states('sensor.fingerprint_id') | int(0) -%}
{%- set prints = states("input_text.fingerprint_data") | from_json if states("input_text.fingerprint_data") else [] -%}
{%- set fingerprint = prints|selectattr('id', 'eq', states('sensor.fingerprint_id') | int(0)) | first -%}
{{fingerprint["name"]}}

Now I have to get home to restart the fingerprint module and, maybe, by a miracle.... 😀

bleak radish
#

It worked one day and now everithing is back to "normal"