Hey @parrel , kudos! Very nice job.
I did something similar (not so beautiful!) with esp32, esphome and R307. In my case, that fingerprint reader has an annoying issue: it seems to try to read a finger even if no fingers are there. The result is that it blinks way too often. Leds are too strong and annoying.
So Iām considering to replace R307 with the R503 you used.
Do you know whether your sensors has this issue, too?
Do you use ESPHome? And do you have a blue wire coming from the R307? If you connect the blue wire to the āsensing pinā in ESPHome, it should only start scanning when a finger is on the sensor.
Btw my sensor does not have this issue due to the sensing pin
If I donāt use the sensing pin ā the fingerprint keeps scanning in loop
If I use the sensing pin ā the fingerprint scans very often, irregularly, like itās sensing a not-existent finger.
Probably an issue with my fingerprint reader, Iām considering to buy your model.
Awesome project! I was already thinking of having some sort of automated lock for the side gate to the rear garden, adding a fingerprint sensor would really make that a nice touch.
@parrel Iāve just had mine R503 delivered. Itās not clear to me from your instructions whether you used the K202 control module at all? - whether this is needed during registering of fingerprint sensors, or if that is all done from ESPhome with the R503 connected directly to the ESP8266?
In addition, iāve copied in your config (without having the R503 connected) and itās complaining about āComponent not found: fingerprint_growā. Is this likely because ESP home hasnāt yet detected the R503? So i should connect it up and then add your code to the config?
Just one question since Iām now so keen in programming and HA (beginner) - is the quoted text (config) all for esphome code to upload to esp? Or is it part of it for configuration.yaml?
Has anyone made automation (or any other kind of logic) for opening different door with different fingers?
Iām have two doors and would like to dedicate different finger (Finger ID) to specific door. Has anyone made automation based on Finger ID?
Iām not so keen in Home Assistant (just few months) and not a programmer any kind and I could use some help or example ā¦
Thank you in advance!
Iām thinking of doing something like this in my letterbox(which currently has an ESP8266 wemo D1 hardwired to 5v powerline) to unlock the frontdoor if i dont have my phone on me (currently got a 12v doorstrike that i unlock from my phone (Lox ES10)).
How secure is a fingerprint sensor like this and where what is the source of truth in terms of storing finger prints?
Each finger you enroll, you can choose a different id and the sensor will show the finger id when it is successfully scanned.
alias: Open door with finger id 6
description: ''
mode: single
trigger:
- platform: state
entity_id: sensor.fingerprint_last_finger_id
to: '6' # replace with your id
condition: []
action: # add actions
- device_id: ''
domain: ''
entity_id: ''
Fingerprints are stored on the sensor. The communication between the ESP and the sensor can be encrypted. You should keep the ESP in a safe space. Then itās pretty safe.
Great project. I have my HA automation also check for presence before opening the door (so if my finger is scanned but Iām away the door wonāt open).
As for the password - I donāt think it protects against the described attack, but rather the opposite one (someone trying to connect to the 503 and pulling the fingerprint data from it.) AFAIk The 503 unit does not authenticate itself in any way.