šŸš˜ Garage Fingerprint Sensor

Lol, it was a simple solution Iā€™m a total idiot :expressionless:
add another template publish with ā€œscan your fingerā€ solved my problem.

 on_finger_scan_matched:
    - text_sensor.template.publish:
        id: fingerprint_state
        state: "Authorized"
    - fingerprint_grow.aura_led_control:
        state: BREATHING
        speed: 200
        color: BLUE
        count: 2        
    - delay: 10s
    - text_sensor.template.publish:
        id: fingerprint_state
        state: "Scan your finger"    


  on_finger_scan_unmatched:
    - text_sensor.template.publish:
        id: fingerprint_state
        state: "Unauthorized"
    - fingerprint_grow.aura_led_control:
        state: FLASHING
        speed: 25
        color: RED
        count: 3          
    - delay: 10s
    - text_sensor.template.publish:
        id: fingerprint_state
        state: "Scan your finger"
2 Likes

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 :slight_smile:

Yes, Iā€™m using ESPHome and 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.

Thanks for your help!

1 Like

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.

1 Like

Cool project, i added one to my 3 car garage and can control all doors using different fingers and works great

6 Likes

Looks good! I like the different finger idea!

@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?

Hi, you can directly connect the R503 to the ESP8266. The K202 module is not needed. Everything is done from the ESP.

If the component is not found, you probably have to update your ESPHome version, as it was recently added.

Wonderful!!!
Thanks for sharing! I like it!

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?

Thanks!

Thanks! :slight_smile:

The config is all for ESPHome.

1 Like

It works! Thanks!

1 Like

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!

Really? You canā€™t be bothered reading the thread? šŸš˜ Garage Fingerprint Sensor - #19 by macguy81

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?

:slight_smile: Yes, I saw this, but I was wondering about automation behind itā€¦
I was asking for some help with it.

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: ''

2 Likes

Thanks again @parrel! Couldnā€™t figure out which sensor is trigger :blush:

1 Like

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.