@parrel That sound like such a fun and interesting project. I am semi-fluent in yaml but I will confess I have never integrated ESPHome. When I started searching the internet for the parts I got so many variations that I question compatibility. Any chance I could talk you into sending me links for the required hardware? The other questionā¦ In ESPHome, how does the ESP8266 communicate to HA? I currently have WiFi and ZWave via SmartThings. Would I need a new hub?
Again, I think this is a awesome project and I am extremely interested in duplicating your achievement if your able share hardware links and you great wisdom
Thanks in advance!!
@parrel ā¦ Sorry to have troubled you. I did read your post carefully. The only link I found was Aliexpress and I selected one of the 3 sensors, mounting plate, and a flip cover weather protector. I could not find a link for ESP8266 or ESP32. As I tried to communicate, I found so many listings and brands but could not find the one you had in your image. As previously stated, I was worried about compatibility. After my complete topic re-read, I have made another assumption that is likely to send me into a tailspinā¦ is the config you listed in configuration.yaml, ESPHome Integration, etc. You stated that the device itself stores the approved fingerprints, but not how to record them. Do I assume that is supplied by mfg Aliexpress?
Again, I donāt mean to be a hassle, and I would bet I have complete understanding by the completion, but this is all new and I hesitate only because I have crashed my HA in other attempts to do really cool things, and not I am somewhat dependent on it to remain operational . BTW, I ordered the Sensor, cover, and weather coverā¦ expected mid AUG. Thanks again for taking your time to share. It IS appreciated.
Yesterday i wired this sensor myself, too. It went alive at first try, luckily (big thanks to author!!). After showing device in HA you go to developer tools and call service for enroll, select id0 and number of readings - i selected 5, so that itās more likely that finger will be recognized even if itās not exactly at the center of the reader. Run service and press finger on reader until finished.
What i donāt quite understand is why author decided to use D0, which is GPIO16 (=wakeup pin) as communicationā¦Iāve chosen GPIO4 and GPIO5 for comm, and one of GPIO12-14 for sensing pin.
But, basically, it really doesnāt matter which pins you use as long you have them available on board. Generally on ESP8266 itās best practice to use GPIO0ās 4,5, 12,13 or 14.
Personally i hate these ācustomā markings (thatās D0, D1ā¦). I rather work with GPIOās. Itās way more clear, universalā¦ you canāt go wrong by defining pin like: GPIO4, while you can with Dx, if that Dx is not pin you thought it isā¦ (different board, (too)cheap china clone,ā¦ for example) - been there, done thatā¦
One question:
when i run service to enroll finger from HA, nothing happens on the sensor to indicate itās ready for enrolling, so in real world iāll have to shout from my PC (inside a house) to a person (outside) behind sensor to start enrolling .
Is it possible to add a command which would, say turn on PURPLE flashing (or anythingā¦) right after service is triggered? Purple is shown between scans, thatās perfect, but it would be nice if it would also show status āprepared for enrollingā at the beginningā¦
Sure i haveā¦ and i bet iāll use that to prevent āshoutingā (that was kind of āintended exaggerationā from my side )
But, in any case itās nice to see if/when device is ready for learning, donāt you agree?
@parrel: how? If i add to existing service compiler say i canāt have two items thereā¦
Be mindful though that there are various types of grow fingerprint sensors available which have different availability of led colors and some even require a different service call (without aura). Mine is a 502, more info on
Ahhhā¦ now iām feeling like a total idiotā¦
I just spent 5+ minutes to figure it out why on earth it works if i copy/paste your solution (aura part) into service, while i get an error if i copy/paste part from esphpomeās yaml below āon_finger_scan_matchedā., while both āsoutionsā are exactly the same (apart from speed and count numbers)
Well, it turned out that if i copy/paste my āsolutionā indentation gets wrong, but since i did it from same yaml i really didnāt notice that, and itās because error stated ācanāt have two actions in one itemā i automatically assumed is because i have two actions but only one is allowedā¦
can someone help me with the fingerprint password?
it worked fine for couple of days , but today i tried to replace the default password, but now i am not able to connect to the device.
i have add the new_password: 0x2B5DE3DE
and then restart with only password: 0x2B5DE3DE , since then i am not able to connect to the device , in the logs i doesnāt see something related to the fingerprint device ( the log level it the higher)
there is couple of users that have the same problem like me, it look like a bug in the esphome code that save different new password
Does anyone know if its possible to reuse a fingerprint sensor from a defect tuya doorlock
it seems to have the same amount of cables but there are all the same color