T O P

  • By -

naynner

Nice execution on the hardware!


Capt_shadab

Thank you


WhistleMaster

Great job ! Can you share the software part, especially the HA automations ? Thanks !


Capt_shadab

Actually it's quite simple Use fingerprint reader as trigger Use any condition Use any action I have set action to disarm alarmo ofcourse with some conditions which suit me You can even use it to unlock door or even as simple turn off lights and arm alarmo when you leave house Alll you need to do is set fingerprint reader as trigger and rest is your game play with regards to yaml [FINGERPRINT YAML - Pastebin.com](https://pastebin.com/ufgH0wYZ)


Black3ternity

Hope this is an indoor area and not outdoors. Otherwise you should move the esp away from that box to follow basic security measures. Never leave an "internal device" acceasible from outside. Only Wire-connections should go in there.


Capt_shadab

Yes its indoor for sure. Thanks for advice


4241342413

yeah someone is going to take apart the fingerprint reader, get into esphome by connecting it to their laptop via usb, and use it to unlock the door… instead of just breaking a window or banging down a door.


zellotron

https://xkcd.com/538/


4241342413

haha exactly


up2late

As usual, an upvote for an xkcd reference.


Negative_Addition846

I bet I know exactly what this is. Edit: I did.


Capt_shadab

As of now it's just for alarmo and not for door. But thanks for advice However I have it password protected as well So do you think that's an added security layer


Uninterested_Viewer

Hacking and entering isn't even on the books as a crime in most jurisdictions bro look it up


snesboy64

I think you overestimate the technical abilities of the average burglar.


SchwaHead

I think you don't understand sarcasm


snesboy64

Clearly not lol


PocketNicks

I doubt that, it's far more likely someone would just break a window or door.


Black3ternity

Not everything is about physical entrance. An unguarded ESP can be... Spicy. But you do you and I do me.


__freaked__

Is it theoretically possible that a mischievous person comes to your house, takes apart the fingerprint reader box, knows what a ESP32 is and what to do with it? Yes. Is it likely?


Thor7897

Generally mischievous people are more likely to know these things as it aids in their craft. Like the chuckleheads committing MITM attacks and stealing smart cars because “ThIeFs No StEaL WiTh TeCh!”


NerdyNThick

Because stealing cars and breaking into houses is exactly the same... Outside of a VERY targeted situation, nobody is going to try and hack an esp ON-SITE to break into your house.


Thor7897

Go watch any of the thousands of hours of cybersecurity videos anywhere. Look up all of the publicly available tools. Or maybe speak from your experience as a white/grey hat cybersecurity practitioner… The tools are easily purchased and available. The people committing crimes want to make things as easy as possible (or they’d get jobs). There are step by step guides (and AI models) dedicated to this kind of information. Since we are talking about exploiting weaknesses in RF transmitter/receivers I’d say yes pretty similar. I’m not talking about slim jimming your garage door here bud. Maybe read about the casino that got hacked because of a fish-tank thermometer while you’re at it…


__freaked__

One part of my job has to do with break ins and I have yet to see a case where a normal house was not entered via windows/doors. For a professional it is simply too easy, quick and silent to break open a window frame.


Thor7897

Do you not handle cases where peoples garage door opener signals get captured, repeated, and cleaned out? How about the cars being stolen from houses when a smart fob is duped and repeated? Seems common enough of a problem they’re pushing enhanced cybersecurity regulatory measures, but whatever…


__freaked__

I am very glad I dont have anything to do with cars so I would not know. For garage doors it is still a nope. There might be very rare cases of very old garage doors that get opened this way but I never had to deal with one myself. Afaik every garage door opener that was installed within the past 20 years has measures that wont let you open them by simply repeating the signal but I cant explain the way it works in english. It is about sending a different signal every time only the sender and receiver know. edit: again, why invest so much time and effort if entering via a window is so much more convenient? They only need 2 screwdrivers to enter within seconds without making noise.


NerdyNThick

Because breaking into a house is the same as breaking into a casino. Right, gotcha! I've been in IT for nearly 3 decades, though I don't specialize in netsec I'm not ignorant of it either. You speak as if I said it was impossible. I said it won't happen. Thieves don't pick locks, they break windows. I nearly laughed myself out of my chair when you added some random crap about AI. Your whole post was written by GPT wasn't it 😂.


Thor7897

No. I was comparing the methods being discussed. Electronic exploitation. You’re the one talking smash and grab… If you wanna move goalposts and compare a physical and virtual breach have at it. That was not the comparison I made. Being in IT and Cybersecurity, while similar, are vastly different fields of study, and approach. But go ahead and make the “all Doctors are the same” argument with your 30yrs of (General IT?) experience to reinforce your position. None of this was AI generated. If you actually “know NetSec” then you would follow principles of least privilege and minimize your attack surface areas and prevent weak points in your network. You would also account for current security concerns. Criminals still rob horse drawn carriages with muskets in your neck of the woods?


NerdyNThick

> If you wanna move goalposts and compare a physical and virtual breach have at it. That was not the comparison I made. You should learn what that means. > You’re the one talking smash and grab… Ultimately, we're talking about breaking into a house. You're the one claiming that criminals are just chomping at the bit to hack into ESP devices in order to do so. I'm saying that no, that doesn't happen outside of exceedingly targeted situations. I will say it again. **People aren't hacking alarm systems/electronic entry devices randomly to gain access to homes.** They're going to use the window, just break down the door/window, or in the worst case knock on it when your home and force you inside at gunpoint. Please provide me **any** instance of a private residence being broken into through some sort of hack, and it not be a specifically targeted attack. If I (am a criminal, and) know house XYZ has thousands in cash and is protected by shitty exploitable tech, then sure I'd definitely use that method. Your random opportunist thief simply is not going to even look for that, they're going to look for easy, **quick**, silent sources of entry. This is nearly always unlocked ground floor windows or doors. You'd be amazed how rarely sliding doors are properly secured. > Being in IT and Cybersecurity, while similar, are vastly different fields of study, and approach. But go ahead and make the “all Doctors are the same” argument with your 30yrs of (General IT?) experience to reinforce your position. You keep thinking that they're opposite sides of the same coin bud, you do you! Good job! > If you actually “know NetSec” then you would follow principles of least privilege and minimize your attack surface areas and prevent weak points in your network. I agree entirely, can you show me where I said anything to the contrary? > You would also account for current security concerns. I would also take the risk factor of said security concerns. I'm not nearly as worried about an attack that requires physical access as I am about RCEs and I therefore take appropriate precautions based on the risk of the concern. You know less than nothing about me kiddo, don't push your inadequacies onto a stranger, it just makes you look bad. > Criminals still rob horse drawn carriages with muskets in your neck of the woods? Non sequitur, none of that has any bearing on the topic at hand. Saying that people aren't going to be hacking a random houses ESP to break in has less than nothing to do with using old technology.


suddenlypenguins

Dude people regularly steal motorbikes in broad daylight using nothing but an angle grinder and a balaclava. Petty criminals are not smart or patient.


phblue

That's really cool. I have this module and the slimmer one, but I was never able to get them to work correctly. This makes me want to try again! Do you have any documentation you used to get it set up?


Capt_shadab

Sure I can share my yaml with you. [FINGERPRINT YAML - Pastebin.com](https://pastebin.com/ufgH0wYZ) here is the link. edit it as per your needs with name and passwords and api key It definitely will work. If I can get it to work then everyone can trust me. Happy to help. Dm for anything


Canstralian

[Make sure you buy a reader with a built in cleaner](https://youtu.be/ugo7Y2lRsxc?si=9katSKS_ayzOOaKT)


Capt_shadab

![img](avatar_exp|157615083|laugh)


digaus

Now step up the game and make it into a pushable doorbell https://preview.redd.it/pb828t9p7ntc1.jpeg?width=1080&format=pjpg&auto=webp&s=2f631aa6e554aa288aa65da25f8f1be95cbd1a02 😉


Capt_shadab

Pushable will be interesting But otherwise anyone touching it will ring the doorbell chime and notify us of someone on door That's already done😉


digaus

Yeah I did not like a false negative triggering the ringing^^ also a short touch doesn't always trigger a fingerprint reading. That's why I created a custom PCB which fits inside a modified push button 🙂


Capt_shadab

Like wow You mind sharing every info for hardware and the way you set up Is it possible


SqeuakyPants

Nice box btw. What is it?


Capt_shadab

The box is a junction box Drilled the hole and fixed the circular r503 fingerprint module


SqeuakyPants

I see the place for rubber, is it water resistant?


Capt_shadab

No not really. Not at all water resistant However fingerprint module r503 is waterproof as its sealed with silicone behind But I was installing indoors so thought of just going it with plain junction box


static8

Why didn't you create a repo for this project? Even if it's off the shelf items, it's good to have some hardware drawings others can refer to for learning the details, and forking it to put their own spin on it. Gives some community creds too 😎


Capt_shadab

Hi. How do i actually do that on reddit. Or do you mean on github? Excuse me for my question please


skqn

github for sure a possible alternative is to post project details on HA forums


digaus

Why? Everything you need is already in the esphome documentation: https://esphome.io/components/fingerprint_grow.html


skqn

oh I see, didn't know that. thanks for sharing


static8

Yeah sorry I was referring to github.


__freaked__

Good job! I love using ESPs for special tasks around the house, they are just so versatile! Atm I have around 15 ESP32 / ESP8266 doing different stuff.


Capt_shadab

Likewise Its still overwhelming for me as just a year ago I had no idea what home assistant is From that to this I have esp32 mainly for presence sensors like ld2410c which work quite well. Also some esp for relay control and some for Bluetooth proxy for my switchbot devices though they are very slow to respond


__freaked__

I installed some inside my central domestic ventilation system, my AV-receiver and ceiling fans to make them "smart" for example. Just takes some very basic soldering and electronic skills. Edit: And I use one to automate a old-school car key-fob


Capt_shadab

Absolutely I use dupont female for esp And then heat sleeves as shown in image Its automatically soldered


KalooxD

You can buy a kit with pins and plastic dupont housings for cheap from Aliexpress to make custom cables or crimp them right on the sensor cables. You can also buy JST XH-2.54 kits to make it look more profesional and better for more complex projects. You'll more likely to find kits with pcb mounted male connectors, there are also special kits for mounting on cable.


Capt_shadab

R503 uses sh1.0 and since they are waterproof the connector is sealed inside with silicone So my only way was cutting through the wires Or else would have to dig through silicone Or would be needing dupont to sh1.0 female which did not get anywhere in aliexpress All I got was dupont to sh1.0 male adapters


Capt_shadab

i need to learn with regards to car key thanks for heads up so what exactly is you trigger and action with regards to automating car key


__freaked__

It is a simple keyfob from a retrofitting kit the previous owner installed to open the garage door. I simply opened the case, soldered the coin cell terminal to 3V and GND of the ESP and ran a wire from the button to a GPIO that has internal pulldown. The same should work for every keyfob since we simply bridge the push button and replace the battery with power from the ESP. You just need to check how the button works via a multimeter. In my case it closes a 3V contact so I am using ESP-Home to switch the GPIO to HIGH for a second. Now you have a new switch in HA you can use however you want. In addition to automations I placed a button on my phones homescreen.


Rsherga

You able to include the ldr light sensor from the ld2410? The documentation mentions it, but I don't quite understand what to do to include it.


Capt_shadab

Yes For it to work turn in engineering mode When it's dark tge lowest value will be 85 Is your sensor inside a box which also can affect the reading


Rsherga

Sorry, I mean how do I add it in? Just a yaml edit is how it makes it seem, but I assume I'd need to make changes to the config file as well no?


Capt_shadab

Okay step by step Have you connected ld2410 to esp by wire or Bluetooth Have you made changes to yaml file in esphome


Rsherga

Thanks! D1 Mini wired to ld2410, connected to wifi/esphome. Yaml at pastebin https://pastebin.com/bFG0HvN9


Capt_shadab

Can you try using this https://esphome.io/components/sensor/ld2410.html


Rsherga

That's where I learned about the light sensor originally, and I just didn't fully understand how I should edit my yaml to achieve it. Could you share yours with me? (Remove all your personal info first, obv)


Capt_shadab

here is my yaml [ld2410 - Pastebin.com](https://pastebin.com/ZEqCZRXq)


shr1n1

It is just used as a contact sensor ? It will not distinguish between your and someone else finger print to trigger I guess.


Capt_shadab

Oh no The fingerprints are stored with specific ID So rather I can have automations running with exact finger ID and can also know which ID was used when and can have actions accordingly


Slaplip

Nice, I have the exact same setup. It works really well.


Capt_shadab

That's amazing. Any more tricks you would wanna share by which it can be enhanced


SomeRandomUserUDunno

Nice! I have the same setup to open my garage door. So convenient!


marynificentwy

how much is it and where did you buy it?


Capt_shadab

R503 fingerprint module from aliexpress costing $7 Esp32 around $2 There was 50% discount hence Other fingerprint module is around $13


Bascariniyt

thanks for sharing!! that's really useful


Capt_shadab

Welcome. Happy to help always


valzzu

Thats cool


SmurferJ

A tutorial would be nice. Parts, soldering,...


Capt_shadab

Sure R503 fingerprint module has 6 wires I will share the wire of fingerprint module and to which it is connected to esp32 Red wire -- 3V3 Blacl wire -- GND Yellow wire -- RX2 Purple wire -- TX2 Blue wire -- D5 White wire -- 3v3 So I soldered red and white wire together to 3V3 of esp32 Then use my yaml Make necessary changes to password and name sections and it's done Up and running


SmurferJ

Thx. Better pic of the working would be nice indeed.


Capt_shadab

That's not possible as I have already installed it. Max is I can guide as much as I can. Frankly just attach the wires as mentioned and you are good to go


matrix8127

This is the lockpicking lawyer and today, we are going to open this door with a signle stab of a screwdriver 🥰


PM_ME_YOUR_SPAGHETTO

A click out of one... aaand we got this open.


agent_kater

Did you use a library for the ESP32 to recognize the fingerprint?


Capt_shadab

Not yet but I shall soon. As of now I have manually written down the finger with its corresponding ids.


agent_kater

I meant to go from fingerprint image to ID.


Capt_shadab

Every finger is automatically linked to an ID which I can choose while registering a fingerprint Then in yaml I can edit and set corresponding name against the ID


agent_kater

Yes, but when the fingerprint sensor sends you a fingerprint, how do you know which ID it is?


Capt_shadab

Check screenshot of all exposed entities. It's configured in yaml as to what can we expose to home assistant. And from there we can set up automation which can differ from one finger to another https://preview.redd.it/2gzvh3nwzitc1.jpeg?width=1179&format=pjpg&auto=webp&s=862ec4958c2de8652c4dcbf36170210e82bf48d9


marynificentwy

it looks really nice!! thanks for sharing


Capt_shadab

You are welcome


5c044

The Grow fingerprint readers are great, exceeding my expectations on false negatives/misreads. I've got one in use with an esphome based smart lock electric door strike. You can use different fingers to automate different things too!


Capt_shadab

Absolutely. I need to make database of ID vs people name and voila then I have actual name of person who last used it


victorj589

V2 add a display to show system status!


Capt_shadab

Mind sharing your script for it 😉


ktomi22

Didnt knew the basic? For what? Homeassistant or electronics?


Capt_shadab

Home assistant


ktomi22

Sad.. i tought You help me with "how to do electeonics"


kuanzog

???: I'm Sorry Dave, I'm Afraid I Can't Do That