parrel
(Parrel)
May 4, 2024, 3:43pm
386
How I think the sensor works, is that there are two metal rings in the sensor, an inner ring and an outer ring. The inner ring is powered by pin 6. The outer ring is connected to pin 5.
If you put your finger on the sensor, the two rings make contact through your finger, and power flows from pin 6 to pin 5. Pin 5 is read by the ESP and if there is power on it, it will read the fingerprint.
So bottomline, I think you need to check if pin 6 is connected properly, and if you put the finger over both rings properly.
Mikefila
(Mike Fila)
May 4, 2024, 3:52pm
387
Double check your connections are tight as well. It almost seems like the ground is bad. The voltage flows from your finger to the ground because that is the path of least resistance.
DUSAG0211
(Dusag0211)
May 4, 2024, 7:42pm
388
I soldered a micro jst connector to my esp32 breadboard. I had to solder a bigger connector to my r503 reader.
Connector to esp32 the pins checkout. I did not check on the reader side yet.
So you suggest that it might be bad soldering on either pin 5 or 6 on the reader?
Or would i have to consider the power side ground as well, here from esp32 to the 5v adapter?
Mikefila
(Mike Fila)
May 4, 2024, 8:00pm
389
Itâs something to look at. You could also check the resistance from the ring to the ground wire connection. It could also be a bad connection in the unit.
1 Like
parrel
(Parrel)
May 4, 2024, 8:12pm
390
I think itâs related to pin 6 as when youâre not âgroundedâ the signal is sent to pin 5 without any issue.
1 Like
DUSAG0211
(Dusag0211)
May 5, 2024, 4:43pm
391
So i did a full rewire including the board for the esp32. Unfortunately the problem persistsâŚ
Still, with shoes, it works perfectlyâŚ
It is not a big deal since we (and guests) usually wear shoes, but definitely seems wrong.
I measured connectivtiy on pin6. My multimeter showed 850 unpowered and 250 under power (1 = no connection) between inner ring and power 3.3v
Between pin5 and outer ring i cant seem to find a connection. Not sure if the outer ring is connected like said above.
During testing inside it does not matter apparently. It works perfectly on my lab table with shoes off, powered from usb or power bank
DaytoDt
(Dayto )
May 17, 2024, 12:11pm
392
Help please,what am i doing wrong?
Connecting to the HomeAssistsnt but the scanner doesnât work,in home assistant showing only one object (ESPHOME update)
Scanner is worked once, but after changing code it doesnât work anymore, i try to install that old code but nothing worked.
Now i have normal connection but not a working sensor
Im a new user so i cant upload more than one link so here is the pastebin with my pinout, photos, code and logs
Please help me
parrel
(Parrel)
May 17, 2024, 1:14pm
393
Could it be that you accidentally set a password on the sensor?
parrel
(Parrel)
May 17, 2024, 3:54pm
395
Nevermind, it should say that in the logs I think.
I had this a few times and in the end it was always due to the wiring. You can check if there is at least some connection by calling the service cancel_enroll in home assistant. The led should start blinking on the device.
Also double check the white and blue wires, as they make sure your finger is detected
DaytoDt
(Dayto )
May 17, 2024, 7:38pm
396
The scanner didnât work at all,now i fix that, i just use another code from youtube video. I think this code and that from youtube are the same but it works for me XD, btw thanks for advices
1 Like
pimp1310
(Pimp1310)
May 20, 2024, 10:13am
397
hello,
perhaps someone can help, the sensor worked well for over a year, yesterday i replaced the d1, and used the same esphome code and flashed the new d1, but i always get the error :
Component fingerprint_grow is marked FAILED
is this because of a password?
when, which password?
parrel
(Parrel)
May 20, 2024, 10:43am
399
According to the following, it could be related to the password, but maybe could be caused by a bad connection as well.
https://esphome.io/api/fingerprint__grow_8cpp_source
(Line 93)
I also found this
opened 07:40PM - 22 Apr 24 UTC
### The problem
I just got a R503-s Grow Fingerprint Sensor and I wired everyth⌠ing and got it working with HA very well. Suddenly, the sensor stopped working. I guess it occured right after I updated ESPHome to the latest version.
To make sure nothing changed, I looked at the wiring and did some soldering again but nothing changed. Everytime I placed my finger at the sensor, nothing happened, no led indicator, nothing.
Than, I tried to add a fingerprint by calling the enrol service and to my surprise, I got a purple LED as configured, but the service did not proceed with the enrolment and the sensor is stuck in purple.
I also was able to delete specific ids (fingerprints) as the log shows.
What I got that I couldn't find any information about is this: [component:082]: Component fingerprint_grow is marked FAILED
Any idea what might be happening?
### Which version of ESPHome has the issue?
2024.4.0
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
2024.4.3
### What platform are you using?
ESP8266
### Board
nodemcuv2
### Component causing the issue
[component:082]: Component fingerprint_grow
### Example YAML snippet
```yaml
esphome:
name: sensor-digital
friendly_name: Sensor_Digital
esp8266:
board: nodemcuv2
# Enable logging
logger:
ota:
password: "password"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Sensor-Digital Fallback Hotspot"
password: "password"
captive_portal:
api:
encryption:
key: "apikey"
services:
- service: enroll
variables:
finger_id: int
num_scans: int
then:
- fingerprint_grow.enroll:
finger_id: !lambda 'return finger_id;'
num_scans: !lambda 'return num_scans;'
- fingerprint_grow.aura_led_control:
state: ALWAYS_ON
speed: 0
color: PURPLE
count: 0
- service: cancel_enroll
then:
- fingerprint_grow.cancel_enroll:
- service: delete
variables:
finger_id: int
then:
- fingerprint_grow.delete:
finger_id: !lambda 'return finger_id;'
- service: delete_all
then:
- fingerprint_grow.delete_all:
uart:
rx_pin: D1
tx_pin: D2
baud_rate: 57600
fingerprint_grow:
password: password
sensing_pin: D6
on_finger_scan_matched:
- homeassistant.event:
event: esphome.test_node_finger_scan_matched
data:
finger_id: !lambda 'return finger_id;'
confidence: !lambda 'return confidence;'
- fingerprint_grow.aura_led_control:
state: BREATHING
speed: 200
color: BLUE
count: 1
- text_sensor.template.publish:
id: fingerprint_state
state: "Autorizado"
on_finger_scan_unmatched:
- homeassistant.event:
event: esphome.test_node_finger_scan_unmatched
- fingerprint_grow.aura_led_control:
state: FLASHING
speed: 25
color: RED
count: 2
- text_sensor.template.publish:
id: fingerprint_state
state: "Desconhecido"
on_enrollment_scan:
- homeassistant.event:
event: esphome.test_node_enrollment_scan
data:
finger_id: !lambda 'return finger_id;'
scan_num: !lambda 'return scan_num;'
- fingerprint_grow.aura_led_control:
state: FLASHING
speed: 25
color: BLUE
count: 2
- fingerprint_grow.aura_led_control:
state: ALWAYS_ON
speed: 0
color: PURPLE
count: 0
- text_sensor.template.publish:
id: fingerprint_state
state: "Aprendendo"
on_enrollment_done:
- homeassistant.event:
event: esphome.test_node_enrollment_done
data:
finger_id: !lambda 'return finger_id;'
- fingerprint_grow.aura_led_control:
state: BREATHING
speed: 100
color: BLUE
count: 2
- text_sensor.template.publish:
id: fingerprint_state
state: "Registrada"
on_enrollment_failed:
- homeassistant.event:
event: esphome.test_node_enrollment_failed
data:
finger_id: !lambda 'return finger_id;'
- fingerprint_grow.aura_led_control:
state: FLASHING
speed: 25
color: RED
count: 4
- text_sensor.template.publish:
id: fingerprint_state
state: "Falha"
# Optional template text sensor for visual feedback
text_sensor:
- platform: template
id: fingerprint_state
name: "Fingerprint State"
lambda: |-
return {"-"};
update_interval: 6s
# Optional sensors
binary_sensor:
- platform: fingerprint_grow
id: fingerprint_enrolling
name: "Fingerprint Enrolling"
sensor:
- platform: fingerprint_grow
fingerprint_count:
name: "Fingerprint Count"
last_finger_id:
name: "Fingerprint Last Finger ID"
last_confidence:
name: "Fingerprint Last Confidence"
status:
name: "Fingerprint Status"
capacity:
name: "Fingerprint Capacity"
security_level:
name: "Fingerprint Security Level"
```
### Anything in the logs that might be useful for us?
```txt
INFO ESPHome 2024.4.0
INFO Reading configuration /config/esphome/sensor-fingerprint.yaml...
INFO Starting log output from 192.168.15.74 using esphome API
INFO Successfully connected to sensor-digital @ 192.168.15.74 in 0.018s
INFO Successful handshake with sensor-digital @ 192.168.15.74 in 2.665s
[13:28:56][I][app:100]: ESPHome version 2024.4.0 compiled on Apr 22 2024, 13:23:39
[13:28:56][C][wifi:580]: WiFi:
[13:28:56][C][wifi:408]: Local MAC: 48:5E:DA:44:5C:3D
[13:28:56][C][wifi:413]: SSID: [redacted]
[13:28:56][C][wifi:416]: IP Address: 192.168.15.74
[13:28:56][C][wifi:419]: BSSID: [redacted]
[13:28:56][C][wifi:421]: Hostname: 'sensor-digital'
[13:28:56][C][wifi:423]: Signal strength: -78 dB ââââ
[13:28:56][C][wifi:427]: Channel: 11
[13:28:56][C][wifi:428]: Subnet: 255.255.255.0
[13:28:56][C][wifi:429]: Gateway: 192.168.15.1
[13:28:56][C][wifi:430]: DNS1: 192.168.15.34
[13:28:56][C][wifi:431]: DNS2: 8.8.4.4
[13:28:56][C][logger:166]: Logger:
[13:28:56][C][logger:167]: Level: DEBUG
[13:28:56][C][logger:169]: Log Baud Rate: 115200
[13:28:56][C][logger:170]: Hardware UART: UART0
[13:28:56][C][uart.arduino_esp8266:118]: UART Bus:
[13:28:56][C][uart.arduino_esp8266:119]: TX Pin: GPIO4
[13:28:56][C][uart.arduino_esp8266:120]: RX Pin: GPIO5
[13:28:56][C][uart.arduino_esp8266:122]: RX Buffer Size: 256
[13:28:56][C][uart.arduino_esp8266:124]: Baud Rate: 57600 baud
[13:28:56][C][uart.arduino_esp8266:125]: Data Bits: 8
[13:28:56][C][uart.arduino_esp8266:126]: Parity: NONE
[13:28:56][C][uart.arduino_esp8266:127]: Stop bits: 1
[13:28:56][C][uart.arduino_esp8266:131]: Using software serial
[13:28:56][C][template.text_sensor:020]: Template Sensor 'Fingerprint State'
[13:28:56][C][fingerprint_grow:537]: GROW_FINGERPRINT_READER:
[13:28:56][C][fingerprint_grow:538]: System Identifier Code: 0x0000
[13:28:56][C][fingerprint_grow:539]: Touch Sensing Pin: GPIO12
[13:28:56][C][fingerprint_grow:541]: Sensor Power Pin: None
[13:28:56][C][fingerprint_grow:546]: Idle Period to Sleep: Never
[13:28:56][C][fingerprint_grow:548]: Update Interval: 0.5s
[13:28:56][C][fingerprint_grow:550]: Fingerprint Count 'Fingerprint Count'
[13:28:56][C][fingerprint_grow:550]: State Class: ''
[13:28:56][C][fingerprint_grow:550]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:550]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:550]: Icon: 'mdi:fingerprint'
[13:28:56][C][fingerprint_grow:551]: Current Value: 65535
[13:28:56][C][fingerprint_grow:554]: Status 'Fingerprint Status'
[13:28:56][C][fingerprint_grow:554]: State Class: ''
[13:28:56][C][fingerprint_grow:554]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:554]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:555]: Current Value: 255
[13:28:56][C][fingerprint_grow:558]: Capacity 'Fingerprint Capacity'
[13:28:56][C][fingerprint_grow:558]: State Class: ''
[13:28:56][C][fingerprint_grow:558]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:558]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:558]: Icon: 'mdi:database'
[13:28:56][C][fingerprint_grow:559]: Current Value: 65535
[13:28:56][C][fingerprint_grow:562]: Security Level 'Fingerprint Security Level'
[13:28:56][C][fingerprint_grow:562]: State Class: ''
[13:28:56][C][fingerprint_grow:562]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:562]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:562]: Icon: 'mdi:security'
[13:28:56][C][fingerprint_grow:563]: Current Value: 255
[13:28:56][C][fingerprint_grow:566]: Last Finger ID 'Fingerprint Last Finger ID'
[13:28:56][C][fingerprint_grow:566]: State Class: ''
[13:28:56][C][fingerprint_grow:566]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:566]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:566]: Icon: 'mdi:account'
[13:28:56][C][fingerprint_grow:567]: Current Value: -1
[13:28:56][C][fingerprint_grow:570]: Last Confidence 'Fingerprint Last Confidence'
[13:28:56][C][fingerprint_grow:570]: State Class: ''
[13:28:56][C][fingerprint_grow:570]: Unit of Measurement: ''
[13:28:56][C][fingerprint_grow:570]: Accuracy Decimals: 0
[13:28:56][C][fingerprint_grow:570]: Icon: 'mdi:account-check'
[13:28:56][C][fingerprint_grow:571]: Current Value: -1
[13:28:56][E][component:082]: Component fingerprint_grow is marked FAILED
[13:28:56][C][captive_portal:088]: Captive Portal:
[13:28:56][C][mdns:115]: mDNS:
[13:28:56][C][mdns:116]: Hostname: sensor-digital
[13:28:56][C][ota:096]: Over-The-Air Updates:
[13:28:56][C][ota:097]: Address: sensor-digital.local:8266
[13:28:56][C][ota:100]: Using Password.
[13:28:56][C][ota:103]: OTA version: 2.
[13:28:56][C][api:139]: API Server:
[13:28:56][C][api:140]: Address: sensor-digital.local:6053
[13:28:56][C][api:142]: Using noise encryption: YES
[13:28:58][I][fingerprint_grow:097]: Starting enrollment in slot 4
[13:28:58][D][binary_sensor:036]: 'Fingerprint Enrolling': Sending state ON
[13:28:58][D][fingerprint_grow:348]: Setting Aura LED
[13:28:58][D][fingerprint_grow:352]: Aura LED set
[13:28:58][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:04][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:07][I][fingerprint_grow:295]: Deleting fingerprint in slot 4
[13:29:07][I][fingerprint_grow:299]: Deleted fingerprint
[13:29:07][D][fingerprint_grow:285]: Getting fingerprint count
[13:29:07][D][fingerprint_grow:288]: Got fingerprint count
[13:29:07][D][sensor:093]: 'Fingerprint Count': Sending state 7.00000 with 0 decimals of accuracy
[13:29:10][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:16][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:17][I][ota:117]: Boot seems successful, resetting boot loop counter.
[13:29:22][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:28][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:34][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:40][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:40][I][fingerprint_grow:097]: Starting enrollment in slot 4
[13:29:40][D][fingerprint_grow:348]: Setting Aura LED
[13:29:40][E][fingerprint_grow:457]: Unknown response received from reader: 0x80
[13:29:40][E][fingerprint_grow:360]: Try led_control instead
[13:29:46][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:50][I][fingerprint_grow:097]: Starting enrollment in slot 4
[13:29:50][D][fingerprint_grow:348]: Setting Aura LED
[13:29:50][D][fingerprint_grow:352]: Aura LED set
[13:29:52][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:29:58][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:04][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:10][I][fingerprint_grow:295]: Deleting fingerprint in slot 4
[13:30:10][I][fingerprint_grow:299]: Deleted fingerprint
[13:30:10][D][fingerprint_grow:285]: Getting fingerprint count
[13:30:10][D][fingerprint_grow:288]: Got fingerprint count
[13:30:10][D][sensor:093]: 'Fingerprint Count': Sending state 7.00000 with 0 decimals of accuracy
[13:30:10][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:16][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:22][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:27][I][fingerprint_grow:295]: Deleting fingerprint in slot 3
[13:30:27][I][fingerprint_grow:299]: Deleted fingerprint
[13:30:27][D][fingerprint_grow:285]: Getting fingerprint count
[13:30:27][D][fingerprint_grow:288]: Got fingerprint count
[13:30:27][D][sensor:093]: 'Fingerprint Count': Sending state 7.00000 with 0 decimals of accuracy
[13:30:28][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:33][I][fingerprint_grow:097]: Starting enrollment in slot 3
[13:30:33][D][fingerprint_grow:348]: Setting Aura LED
[13:30:33][D][fingerprint_grow:352]: Aura LED set
[13:30:34][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:40][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:46][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:52][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:30:58][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:02][I][fingerprint_grow:295]: Deleting fingerprint in slot 3
[13:31:02][I][fingerprint_grow:299]: Deleted fingerprint
[13:31:02][D][fingerprint_grow:285]: Getting fingerprint count
[13:31:02][D][fingerprint_grow:288]: Got fingerprint count
[13:31:02][D][sensor:093]: 'Fingerprint Count': Sending state 7.00000 with 0 decimals of accuracy
[13:31:04][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:10][I][fingerprint_grow:295]: Deleting fingerprint in slot 2
[13:31:10][I][fingerprint_grow:299]: Deleted fingerprint
[13:31:10][D][fingerprint_grow:285]: Getting fingerprint count
[13:31:10][D][fingerprint_grow:288]: Got fingerprint count
[13:31:10][D][sensor:093]: 'Fingerprint Count': Sending state 6.00000 with 0 decimals of accuracy
[13:31:10][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:16][I][fingerprint_grow:097]: Starting enrollment in slot 2
[13:31:16][D][fingerprint_grow:348]: Setting Aura LED
[13:31:16][D][fingerprint_grow:352]: Aura LED set
[13:31:16][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:22][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:28][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:34][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:40][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[13:31:46][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
```
### Additional information
_No response_
Why did you replace esp board in the first place would be a good start for suggestions⌠if board died, perhaps sensor died with it?
pimp1310
(Pimp1310)
May 20, 2024, 11:41am
401
i have 2024.5.1 installed
pimp1310
(Pimp1310)
May 20, 2024, 11:42am
402
no the sensor was not connected when i replaced the d1, the d1 is died on my table while resoldering.
and the sensor is glowing light red
1 Like
pimp1310
(Pimp1310)
May 20, 2024, 11:44am
403
yeah but there is not much useful information or ?
pepe59
(Pepe59)
May 20, 2024, 12:33pm
404
Try compiling on version 2024.4.2.
ESPHome 2024.5 versions have a problem with D1 8266 boards
pimp1310
(Pimp1310)
May 20, 2024, 1:03pm
405
Is it possible to downgrade the addon version of esphome ?