esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
285 stars 34 forks source link

R503-s Grow Fingerprint Sensor [component:082]: Component fingerprint_grow is marked FAILED #5724

Open Marcos-kp opened 3 weeks ago

Marcos-kp commented 3 weeks ago

The problem

I just got a R503-s Grow Fingerprint Sensor and I wired everything 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

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?

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

ssieb commented 3 weeks ago

serial logs from boot might provide more info.

Marcos-kp commented 3 weeks ago

I updated it with VERY_VERBOSE log level and here it is the logs. I tried to delete and add another fingerprint just to generate some more information.

I guess this is the boot you mentioned, right @ssieb?

Uploading: [============================================================] 100% Done...

INFO Upload took 4.25 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.15.74 using esphome API
INFO Successfully connected to sensor-digital @ 192.168.15.74 in 19.557s
INFO Successful handshake with sensor-digital @ 192.168.15.74 in 2.927s
[19:30:12][I][app:100]: ESPHome version 2024.4.0 compiled on Apr 22 2024, 19:28:23
[19:30:12][C][wifi:580]: WiFi:
[19:30:12][C][wifi:408]:   Local MAC: 48:5E:DA:44:5C:3D
[19:30:12][C][wifi:413]:   SSID: ''[redacted]
[19:30:12][C][wifi:416]:   IP Address: 192.168.15.74
[19:30:12][C][wifi:419]:   BSSID: ""[redacted]
[19:30:12][C][wifi:421]:   Hostname: 'sensor-digital'
[19:30:12][C][wifi:423]:   Signal strength: -76 dB ▂▄▆█
[19:30:12][V][wifi:425]:   Priority: 0.0
[19:30:12][C][wifi:427]:   Channel: 11
[19:30:12][C][wifi:428]:   Subnet: 255.255.255.0
[19:30:12][C][wifi:429]:   Gateway: 192.168.15.1
[19:30:12][C][wifi:430]:   DNS1: 192.168.15.34
[19:30:12][C][wifi:431]:   DNS2: 8.8.4.4
[19:30:12][C][logger:166]: Logger:
[19:30:12][C][logger:167]:   Level: VERY_VERBOSE
[19:30:12][C][logger:169]:   Log Baud Rate: 115200
[19:30:12][C][logger:170]:   Hardware UART: UART0
[19:30:12][C][uart.arduino_esp8266:118]: UART Bus:
[19:30:12][C][uart.arduino_esp8266:119]:   TX Pin: GPIO4
[19:30:12][C][uart.arduino_esp8266:120]:   RX Pin: GPIO5
[19:30:12][C][uart.arduino_esp8266:122]:   RX Buffer Size: 256
[19:30:12][C][uart.arduino_esp8266:124]:   Baud Rate: 57600 baud
[19:30:12][C][uart.arduino_esp8266:125]:   Data Bits: 8
[19:30:12][C][uart.arduino_esp8266:126]:   Parity: NONE
[19:30:12][C][uart.arduino_esp8266:127]:   Stop bits: 1
[19:30:12][C][uart.arduino_esp8266:131]:   Using software serial
[19:30:12][C][template.text_sensor:020]: Template Sensor 'Fingerprint State'
[19:30:12][C][fingerprint_grow:537]: GROW_FINGERPRINT_READER:
[19:30:12][C][fingerprint_grow:538]:   System Identifier Code: 0x0000
[19:30:12][C][fingerprint_grow:539]:   Touch Sensing Pin: GPIO12
[19:30:12][C][fingerprint_grow:541]:   Sensor Power Pin: None
[19:30:12][C][fingerprint_grow:546]:   Idle Period to Sleep: Never
[19:30:12][C][fingerprint_grow:548]:   Update Interval: 0.5s
[19:30:12][C][fingerprint_grow:550]:   Fingerprint Count 'Fingerprint Count'
[19:30:12][C][fingerprint_grow:550]:     State Class: ''
[19:30:12][C][fingerprint_grow:550]:     Unit of Measurement: ''
[19:30:12][C][fingerprint_grow:550]:     Accuracy Decimals: 0
[19:30:12][C][fingerprint_grow:550]:     Icon: 'mdi:fingerprint'
[19:30:12][C][fingerprint_grow:551]:     Current Value: 65535
[19:30:12][C][fingerprint_grow:554]:   Status 'Fingerprint Status'
[19:30:12][C][fingerprint_grow:554]:     State Class: ''
[19:30:12][C][fingerprint_grow:554]:     Unit of Measurement: ''
[19:30:12][C][fingerprint_grow:554]:     Accuracy Decimals: 0
[19:30:12][C][fingerprint_grow:555]:     Current Value: 255
[19:30:13][C][fingerprint_grow:558]:   Capacity 'Fingerprint Capacity'
[19:30:13][C][fingerprint_grow:558]:     State Class: ''
[19:30:13][C][fingerprint_grow:558]:     Unit of Measurement: ''
[19:30:13][C][fingerprint_grow:558]:     Accuracy Decimals: 0
[19:30:13][C][fingerprint_grow:558]:     Icon: 'mdi:database'
[19:30:13][C][fingerprint_grow:559]:     Current Value: 65535
[19:30:13][C][fingerprint_grow:562]:   Security Level 'Fingerprint Security Level'
[19:30:13][C][fingerprint_grow:562]:     State Class: ''
[19:30:13][C][fingerprint_grow:562]:     Unit of Measurement: ''
[19:30:13][C][fingerprint_grow:562]:     Accuracy Decimals: 0
[19:30:13][C][fingerprint_grow:562]:     Icon: 'mdi:security'
[19:30:13][C][fingerprint_grow:563]:     Current Value: 255
[19:30:13][C][fingerprint_grow:566]:   Last Finger ID 'Fingerprint Last Finger ID'
[19:30:13][C][fingerprint_grow:566]:     State Class: ''
[19:30:13][C][fingerprint_grow:566]:     Unit of Measurement: ''
[19:30:13][C][fingerprint_grow:566]:     Accuracy Decimals: 0
[19:30:13][C][fingerprint_grow:566]:     Icon: 'mdi:account'
[19:30:13][C][fingerprint_grow:567]:     Current Value: -1
[19:30:13][C][fingerprint_grow:570]:   Last Confidence 'Fingerprint Last Confidence'
[19:30:13][C][fingerprint_grow:570]:     State Class: ''
[19:30:13][C][fingerprint_grow:570]:     Unit of Measurement: ''
[19:30:13][C][fingerprint_grow:570]:     Accuracy Decimals: 0
[19:30:13][C][fingerprint_grow:570]:     Icon: 'mdi:account-check'
[19:30:13][C][fingerprint_grow:571]:     Current Value: -1
[19:30:13][E][component:082]:   Component fingerprint_grow is marked FAILED
[19:30:13][C][captive_portal:088]: Captive Portal:
[19:30:13][C][mdns:115]: mDNS:
[19:30:13][C][mdns:116]:   Hostname: sensor-digital
[19:30:13][V][mdns:117]:   Services:
[19:30:13][V][mdns:119]:   - _esphomelib, _tcp, 6053
[19:30:13][V][mdns:121]:     TXT: friendly_name = Sensor_Digital
[19:30:13][V][mdns:121]:     TXT: version = 2024.4.0
[19:30:13][V][mdns:121]:     TXT: mac = 485EDA445C3D
[19:30:13][V][mdns:121]:     TXT: platform = ESP8266
[19:30:13][V][mdns:121]:     TXT: board = nodemcuv2
[19:30:13][V][mdns:121]:     TXT: network = wifi
[19:30:13][V][mdns:121]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[19:30:13][C][ota:096]: Over-The-Air Updates:
[19:30:13][C][ota:097]:   Address: sensor-digital.local:port
[19:30:13][C][ota:100]:   Using Password.
[19:30:13][C][ota:103]:   OTA version: 2.
[19:30:13][C][api:139]: API Server:
[19:30:13][C][api:140]:   Address: sensor-digital.local:port
[19:30:13][C][api:142]:   Using noise encryption: YES
[19:30:14][D][api:102]: Accepted 192.168.15.34
[19:30:14][VV][api.socket:696]: 192.168.15.34: Handshake complete!
[19:30:14][W][component:237]: Component api took a long time for an operation (297 ms).
[19:30:14][W][component:238]: Components should block for at most 30 ms.
[19:30:15][VV][api.service:566]: on_hello_request: HelloRequest {
  client_info: 'Home Assistant 2024.4.3'
  api_version_major: 1
  api_version_minor: 9
}
[19:30:15][V][api.connection:1191]: Hello from client: 'Home Assistant 2024.4.3' | 192.168.15.34 | API Version 1.9
[19:30:16][VV][api.service:013]: send_hello_response: HelloResponse {
  api_version_major: 1
  api_version_minor: 10
  server_info: 'sensor-digital (esphome v2024.4.0)'
  name: 'sensor-digital'
}
[19:30:16][VV][api.service:575]: on_connect_request: ConnectRequest {
  password: ''
}
[19:30:16][D][api.connection:1210]: Home Assistant 2024.4.3 (192.168.15.34): Connected successfully
[19:30:16][VV][api.service:019]: send_connect_response: ConnectResponse {
  invalid_password: NO
}
[19:30:16][VV][api.service:620]: on_device_info_request: DeviceInfoRequest {}
[19:30:16][VV][api.service:049]: send_device_info_response: DeviceInfoResponse {
  uses_password: NO
  name: 'sensor-digital'
  mac_address: '48:5E:DA:44:5C:3D'
  esphome_version: '2024.4.0'
  compilation_time: 'Apr 22 2024, 19:28:23'
  model: 'nodemcuv2'
  has_deep_sleep: NO
  project_name: ''
  project_version: ''
  webserver_port: 0
  legacy_bluetooth_proxy_version: 0
  bluetooth_proxy_feature_flags: 0
  manufacturer: 'Espressif'
  friendly_name: 'Sensor_Digital'
  legacy_voic
[19:30:16][VV][api.service:629]: on_list_entities_request: ListEntitiesRequest {}
[19:30:16][VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse {
  object_id: 'fingerprint_enrolling'
  key: 902244170
  name: 'Fingerprint Enrolling'
  unique_id: 'sensor-digitalbinary_sensorfingerprint_enrolling'
  device_class: ''
  is_status_binary_sensor: NO
  disabled_by_default: NO
  icon: 'mdi:key-plus'
  entity_category: ENTITY_CATEGORY_NONE
}
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_count'
  key: 2381442851
  name: 'Fingerprint Count'
  unique_id: 'sensor-digitalsensorfingerprint_count'
  icon: 'mdi:fingerprint'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGO
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_status'
  key: 1838739892
  name: 'Fingerprint Status'
  unique_id: 'sensor-digitalsensorfingerprint_status'
  icon: ''
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_DIAGNOSTI
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_capacity'
  key: 134214234
  name: 'Fingerprint Capacity'
  unique_id: 'sensor-digitalsensorfingerprint_capacity'
  icon: 'mdi:database'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_C
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_security_level'
  key: 4082621835
  name: 'Fingerprint Security Level'
  unique_id: 'sensor-digitalsensorfingerprint_security_level'
  icon: 'mdi:security'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_last_finger_id'
  key: 2813832054
  name: 'Fingerprint Last Finger ID'
  unique_id: 'sensor-digitalsensorfingerprint_last_finger_id'
  icon: 'mdi:account'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_
[19:30:16][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'fingerprint_last_confidence'
  key: 1503273077
  name: 'Fingerprint Last Confidence'
  unique_id: 'sensor-digitalsensorfingerprint_last_confidence'
  icon: 'mdi:account-check'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_NONE
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO

[19:30:16][VV][api.service:166]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse {
  object_id: 'fingerprint_state'
  key: 2216116077
  name: 'Fingerprint State'
  unique_id: 'sensor-digitaltext_sensorfingerprint_state'
  icon: ''
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
  device_class: ''
}
[19:30:16][VV][api.service:209]: send_list_entities_services_response: ListEntitiesServicesResponse {
  name: 'enroll'
  key: 3810392921
  args: ListEntitiesServicesArgument {
  name: 'finger_id'
  type: SERVICE_ARG_TYPE_INT
}
  args: ListEntitiesServicesArgument {
  name: 'num_scans'
  type: SERVICE_ARG_TYPE_INT
}
}
[19:30:16][VV][api.service:209]: send_list_entities_services_response: ListEntitiesServicesResponse {
  name: 'cancel_enroll'
  key: 3374446902
}
[19:30:16][VV][api.service:209]: send_list_entities_services_response: ListEntitiesServicesResponse {
  name: 'delete'
  key: 1202777620
  args: ListEntitiesServicesArgument {
  name: 'finger_id'
  type: SERVICE_ARG_TYPE_INT
}
}
[19:30:16][VV][api.service:209]: send_list_entities_services_response: ListEntitiesServicesResponse {
  name: 'delete_all'
  key: 1367160224
}
[19:30:16][VV][api.service:055]: send_list_entities_done_response: ListEntitiesDoneResponse {}
[19:30:16][VV][api.service:638]: on_subscribe_states_request: SubscribeStatesRequest {}
[19:30:16][VV][api.service:700]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {}
[19:30:16][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse {
  key: 902244170
  state: NO
  missing_state: YES
}
[19:30:16][VV][api.service:727]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2381442851
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1838739892
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 134214234
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 4082621835
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2813832054
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1503273077
  state: nan
  missing_state: YES
}
[19:30:16][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:18][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=23532 (now=29537)
[19:30:18][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:18][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:18][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:24][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=29532 (now=35533)
[19:30:24][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:24][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:24][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:30][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=35532 (now=41532)
[19:30:30][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:30][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:30][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:36][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=41532 (now=47536)
[19:30:36][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:36][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:36][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:42][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=47532 (now=53532)
[19:30:42][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:42][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:42][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:43][VV][scheduler:225]: Running interval '' with interval=60000 last_execution=4294962176 (now=54884)
[19:30:48][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=53532 (now=59532)
[19:30:48][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:48][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:48][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:30:54][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=59532 (now=65533)
[19:30:54][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:30:54][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:30:54][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:00][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=65532 (now=71532)
[19:31:00][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:00][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:00][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:06][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=71532 (now=77532)
[19:31:06][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:06][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:06][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:12][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=77532 (now=83536)
[19:31:12][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:12][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:12][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:12][VV][api.connection:132]: Sending keepalive PING...
[19:31:12][VV][api.service:037]: send_ping_request: PingRequest {}
[19:31:12][VV][api.service:611]: on_ping_response: PingResponse {}
[19:31:16][VV][api.connection:132]: Sending keepalive PING...
[19:31:16][VV][api.service:037]: send_ping_request: PingRequest {}
[19:31:16][VV][api.service:611]: on_ping_response: PingResponse {}
[19:31:18][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=83532 (now=89532)
[19:31:18][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:18][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:18][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:24][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=89532 (now=95534)
[19:31:24][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:24][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:24][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:30][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=95532 (now=101532)
[19:31:30][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:30][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:30][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:36][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=101532 (now=107532)
[19:31:36][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:36][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:36][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:42][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=107532 (now=113533)
[19:31:42][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:42][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:42][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:43][VV][scheduler:225]: Running interval '' with interval=60000 last_execution=54880 (now=114885)
[19:31:47][VV][api.service:745]: on_execute_service_request: ExecuteServiceRequest {
  key: 3810392921
  args: ExecuteServiceArgument {
  bool_: NO
  legacy_int: 0
  float_: 0
  string_: ''
  int_: 2
}
  args: ExecuteServiceArgument {
  bool_: NO
  legacy_int: 0
  float_: 0
  string_: ''
  int_: 4
}
}
[19:31:47][I][fingerprint_grow:097]: Starting enrollment in slot 2
[19:31:47][D][binary_sensor:036]: 'Fingerprint Enrolling': Sending state ON
[19:31:47][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse {
  key: 902244170
  state: YES
  missing_state: NO
}
[19:31:47][D][fingerprint_grow:348]: Setting Aura LED
[19:31:47][D][fingerprint_grow:352]: Aura LED set
[19:31:47][W][component:237]: Component api took a long time for an operation (61 ms).
[19:31:47][W][component:238]: Components should block for at most 30 ms.
[19:31:48][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=113532 (now=119535)
[19:31:48][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:48][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:48][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:31:54][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=119532 (now=125537)
[19:31:54][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:31:54][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:31:54][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:32:00][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=125532 (now=131534)
[19:32:00][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:32:00][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:32:00][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:32:01][VV][api.service:745]: on_execute_service_request: ExecuteServiceRequest {
  key: 1202777620
  args: ExecuteServiceArgument {
  bool_: NO
  legacy_int: 0
  float_: 0
  string_: ''
  int_: 2
}
}
[19:32:01][I][fingerprint_grow:295]: Deleting fingerprint in slot 2
[19:32:01][I][fingerprint_grow:299]: Deleted fingerprint
[19:32:01][D][fingerprint_grow:285]: Getting fingerprint count
[19:32:01][D][fingerprint_grow:288]: Got fingerprint count
[19:32:01][V][sensor:043]: 'Fingerprint Count': Received new state 6.000000
[19:32:01][D][sensor:093]: 'Fingerprint Count': Sending state 6.00000  with 0 decimals of accuracy
[19:32:01][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2381442851
  state: 6
  missing_state: NO
}
[19:32:01][W][component:237]: Component api took a long time for an operation (62 ms).
[19:32:01][W][component:238]: Components should block for at most 30 ms.
[19:32:06][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=131532 (now=137532)
[19:32:06][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:32:06][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:32:06][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:32:12][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=137532 (now=143532)
[19:32:12][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:32:12][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:32:12][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:32:12][VV][api.connection:132]: Sending keepalive PING...
[19:32:12][VV][api.service:037]: send_ping_request: PingRequest {}
[19:32:12][VV][api.service:611]: on_ping_response: PingResponse {}
[19:32:18][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=143532 (now=149537)
[19:32:18][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:32:18][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:32:18][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
[19:32:24][VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=149532 (now=155532)
[19:32:24][V][text_sensor:013]: 'Fingerprint State': Received new state -
[19:32:24][D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[19:32:24][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse {
  key: 2216116077
  state: '-'
  missing_state: NO
}
Marcos-kp commented 3 weeks ago

Taking a further look at my entities in HA, my sensor became unknown at the exact same time my update.sensor firmware was updated.

image image

My issue is not resolved with the 2024.4.1 version

Marcos-kp commented 3 weeks ago

Hey @swoboda1337 ! Thanks for the info!

Unfortunately I am still getting the same error. I tried pin D0, D5 and D6 on my nodemcu board.

Here is the log:

`[15:20:21][C][logger:170]: Hardware UART: UART0 [15:20:21][C][uart.arduino_esp8266:118]: UART Bus: [15:20:21][C][uart.arduino_esp8266:119]: TX Pin: GPIO4 [15:20:21][C][uart.arduino_esp8266:120]: RX Pin: GPIO5 [15:20:21][C][uart.arduino_esp8266:122]: RX Buffer Size: 256 [15:20:21][C][uart.arduino_esp8266:124]: Baud Rate: 57600 baud [15:20:21][C][uart.arduino_esp8266:125]: Data Bits: 8 [15:20:21][C][uart.arduino_esp8266:126]: Parity: NONE [15:20:21][C][uart.arduino_esp8266:127]: Stop bits: 1 [15:20:21][C][uart.arduino_esp8266:131]: Using software serial [15:20:21][C][template.text_sensor:020]: Template Sensor 'Fingerprint State'

[15:20:21][C][fingerprint_grow:538]: System Identifier Code: 0x0000 [15:20:21][C][fingerprint_grow:539]: Touch Sensing Pin: GPIO12 [15:20:21][C][fingerprint_grow:541]: Sensor Power Pin: GPIO16 [15:20:21][C][fingerprint_grow:544]: Idle Period to Sleep: 5000 ms [15:20:21][C][fingerprint_grow:548]: Update Interval: 0.5s [15:20:21][C][fingerprint_grow:550]: Fingerprint Count 'Fingerprint Count' [15:20:21][C][fingerprint_grow:550]: State Class: '' [15:20:21][C][fingerprint_grow:550]: Unit of Measurement: '' [15:20:21][C][fingerprint_grow:550]: Accuracy Decimals: 0

[15:20:21][C][fingerprint_grow:551]: Current Value: 65535

[15:20:21][C][fingerprint_grow:554]: State Class: '' [15:20:21][C][fingerprint_grow:554]: Unit of Measurement: '' [15:20:21][C][fingerprint_grow:554]: Accuracy Decimals: 0 [15:20:21][C][fingerprint_grow:555]: Current Value: 255

[15:20:21][C][fingerprint_grow:558]: State Class: '' [15:20:21][C][fingerprint_grow:558]: Unit of Measurement: '' [15:20:21][C][fingerprint_grow:558]: Accuracy Decimals: 0

[15:20:21][C][fingerprint_grow:559]: Current Value: 65535 [15:20:21][C][fingerprint_grow:562]: Security Level 'Fingerprint Security Level' [15:20:21][C][fingerprint_grow:562]: State Class: '' [15:20:21][C][fingerprint_grow:562]: Unit of Measurement: '' [15:20:21][C][fingerprint_grow:562]: Accuracy Decimals: 0

[15:20:22][C][fingerprint_grow:563]: Current Value: 255 [15:20:22][C][fingerprint_grow:566]: Last Finger ID 'Fingerprint Last Finger ID' [15:20:22][C][fingerprint_grow:566]: State Class: '' [15:20:22][C][fingerprint_grow:566]: Unit of Measurement: '' [15:20:22][C][fingerprint_grow:566]: Accuracy Decimals: 0

[15:20:22][C][fingerprint_grow:567]: Current Value: -1 [15:20:22][C][fingerprint_grow:570]: Last Confidence 'Fingerprint Last Confidence' [15:20:22][C][fingerprint_grow:570]: State Class: '' [15:20:22][C][fingerprint_grow:570]: Unit of Measurement: '' [15:20:22][C][fingerprint_grow:570]: Accuracy Decimals: 0

[15:20:22][C][fingerprint_grow:571]: Current Value: -1 [15:20:22][E][component:082]: Component fingerprint_grow is marked FAILED [15:20:22][C][captive_portal:088]: Captive Portal:

[15:20:22][C][mdns:116]: Hostname: sensor-digital [15:20:22][C][ota:096]: Over-The-Air Updates: [15:20:22][C][ota:097]: Address: sensor-digital.local:8266 [15:20:22][C][ota:100]: Using Password. [15:20:22][C][ota:103]: OTA version: 2. [15:20:22][C][api:139]: API Server: [15:20:22][C][api:140]: Address: sensor-digital.local:6053 [15:20:22][C][api:142]: Using noise encryption: YES `

swoboda1337 commented 3 weeks ago

Sorry I misread the code, it doesnt need the power pin. Not sure what caused it to stop working. I can take another look in an hour or so.

Marcos-kp commented 3 weeks ago

Thanks! I will greatly appreciate!

tergontor commented 3 weeks ago

In my case, after more than a month of running it, today it stopped working with the same message: [E][component:082]: Component fingerprint_grow is marked FAILED. I updated esphome to version 2024.4.1 two days ago so I didn't think that was the problem.

Reviewing my code I had commented the sensing pin

fingerprint_grow:

sensing_pin: D6 #gpio12

on_finger_scan_matched:

What I have done is remove the comment fingerprint_grow: sensing_pin: D6 #gpio12 on_finger_scan_matched:

Once compiled again it started working without problems.

Marcos-kp commented 3 weeks ago

nope, didn't work for me. Now I am not getting any contact with the sensor : [17:14:33][I][fingerprint_grow:295]: Deleting fingerprint in slot 3 [17:14:34][E][fingerprint_grow:467]: No response received from reader :(

ok, i changed the 3.3v pin and I got a connection back with the sensor glowing, but still same error [E][component:082]: Component fingerprint_grow is marked FAILED.

tergontor commented 3 weeks ago

In case it helps, these are my connections

ESP8266 -------------------- fingerprint ------------ power 3V3 ------------------------ (red and white) D7 (RX)------------------- (yelow-TX) D6 ------------------------- (blue) D5 (TX)---------------------- (purple-RX) GND ------------------------- (black )------------------ 5v - 5V ---------------------------------------------------- 5v +

Marcos-kp commented 3 weeks ago

Thanks! Will try it like that. I was using D1 and D2, also tried D7 and D8 for tx and rx. Do you mind sharing the rest of your configuration?

Marcos-kp commented 3 weeks ago

Ok, I had some progress. After intalling wirelessly and looking at the usb logs, I got a wrong password message! That is so strange, since I did the whole process of updating the password and my sensor was working even after disconnecting it from the power. The firmware update kinda reverted or give me some issues. I tried without a password and I do not get an error as before, but the sensor is still not working.

Here are some logs:

����n��r��n|�l�$`c��|s�l�g��o�l ��;�l�d��
SDK:2.2.2-dev(38a443e)/Core:3.1.2=30102000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
[I][logger:034]: Log initialized
[C][ota:483]: There have been 0 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[VV][scheduler:063]: set_interval(name='', interval=60000, offset=9504)
[C][uart.arduino_esp8266:059]: Setting up UART bus...
[VV][scheduler:063]: set_interval(name='update', interval=6000, offset=2256)
[C][fingerprint_grow:060]: Setting up Grow Fingerprint Reader...
[D][fingerprint_grow:232]: Checking password
[E][fingerprint_grow:240]: Wrong password
[E][component:119]: Component fingerprint_grow was marked as failed.
[E][component:164]: Component fingerprint_grow set Error flag: unspecified
[VV][scheduler:063]: set_interval(name='update', interval=500, offset=196)
[C][wifi:038]: Setting up WiFi...
[C][wifi:051]: Starting WiFi...
[C][wifi:052]:   Local MAC: 
[V][wifi_esp8266:061]: Enabling STA.
mode : sta()
add if0
[V][wifi_esp8266:556]: Event: Changed Mode old=OFF new=STA
wifi evt: 8
nul mode, fpm auto sleep set:enalbe
sleep disable
[D][wifi:462]: Starting scan...
[VV][scheduler:225]: Running interval '' with interval=60000 last_execution=4294905026 (now=7340)
[VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=4294966287 (now=7340)
[V][text_sensor:013]: 'Fingerprint State': Received new state -
[D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[W][component:157]: Component wifi set Warning flag: unspecified
[VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=4991 (now=10991)
[V][text_sensor:013]: 'Fingerprint State': Received new state -
[D][text_sensor:064]: 'Fingerprint State': Sending state '-'
scandone
[D][wifi:477]: Found networks:
[I][wifi:520]: - '' [redacted]▂▄▆█
[D][wifi:522]:     Channel: 3
[D][wifi:523]:     RSSI: -54 dB
[I][wifi:520]: - '' [redacted]▂▄▆█
[D][wifi:522]:     Channel: 1
[D][wifi:523]:     RSSI: -70 dB
[D][wifi:525]: - [redacted] [redacted]▂▄▆█
[D][wifi:525]: - [redacted] [redacted]▂▄▆█
[I][wifi:303]: WiFi Connecting to ''...
[V][wifi:305]: Connection Params:
[V][wifi:306]:   SSID: ''
[V][wifi:309]:   BSSID: 
[V][wifi:329]:   Password: [redacted]
[V][wifi:334]:   Channel: 3
[V][wifi:340]:   Manual IP: Static IP=192.168.15.74 Gateway=192.168.15.1 Subnet=255.255.255.0 DNS1=0.0.0.0 DNS2=0.0.0.0
[V][wifi:345]:   Hidden: NO
[V][wifi_esp8266:514]: Event: Changed AuthMode old=OPEN new=WPA2 PSK
wifi evt: 2
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 35
cnt 

connected with , channel 3
ip:192.168.15.74,mask:255.255.255.0,gw:192.168.15.1
ip:192.168.15.74,mask:255.255.255.0,gw:192.168.15.1
[V][wifi_esp8266:490]: Event: Connected ssid='' bssid= channel=3
wifi evt: 0
[V][wifi_esp8266:529]: Event: Got IP static_ip=192.168.15.74 gateway=192.168.15.1 netmask=255.255.255.0
wifi evt: 3
[I][wifi:597]: WiFi Connected!
[C][wifi:408]:   Local MAC: 
[C][wifi:413]:   SSID: [redacted]
[C][wifi:416]:   IP Address: 192.168.15.74
[C][wifi:419]:   BSSID: [redacted]
[C][wifi:421]:   Hostname: 'sensor-digital'
[C][wifi:423]:   Signal strength: -54 dB ▂▄▆█
[V][wifi:425]:   Priority: 0.0
[C][wifi:427]:   Channel: 3
[C][wifi:428]:   Subnet: 255.255.255.0
[C][wifi:429]:   Gateway: 192.168.15.1
[C][wifi:430]:   DNS1: 0.0.0.0
[C][wifi:431]:   DNS2: 0.0.0.0
[D][wifi:606]: Disabling AP...
[C][ota:096]: Over-The-Air Updates:
[C][ota:097]:   Address: 192.168.15.74:8266
[C][ota:100]:   Using Password.
[C][ota:103]:   OTA version: 2.
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[W][component:170]: Component wifi cleared Warning flag
[W][component:157]: Component api set Warning flag: unspecified
[I][app:100]: ESPHome version 2024.4.1 compiled on Apr 25 2024, 19:45:51
[C][wifi:580]: WiFi:
[C][wifi:408]:   Local MAC:
[C][wifi:413]:   SSID: [redacted]
[C][wifi:416]:   IP Address: 192.168.15.74
[C][wifi:419]:   BSSID: [redacted]
[C][wifi:421]:   Hostname: 'sensor-digital'
[C][wifi:423]:   Signal strength: -56 dB ▂▄▆█
[V][wifi:425]:   Priority: 0.0
[C][wifi:427]:   Channel: 3
[C][wifi:428]:   Subnet: 255.255.255.0
[C][wifi:429]:   Gateway: 192.168.15.1
[C][wifi:430]:   DNS1: 0.0.0.0
[C][wifi:431]:   DNS2: 0.0.0.0
[C][logger:166]: Logger:
[C][logger:167]:   Level: VERY_VERBOSE
[C][logger:169]:   Log Baud Rate: 115200
[C][logger:170]:   Hardware UART: UART0
[C][uart.arduino_esp8266:118]: UART Bus:
[C][uart.arduino_esp8266:119]:   TX Pin: GPIO15
[C][uart.arduino_esp8266:120]:   RX Pin: GPIO13
[C][uart.arduino_esp8266:122]:   RX Buffer Size: 256
[C][uart.arduino_esp8266:124]:   Baud Rate: 57600 baud
[C][uart.arduino_esp8266:125]:   Data Bits: 8
[C][uart.arduino_esp8266:126]:   Parity: NONE
[C][uart.arduino_esp8266:127]:   Stop bits: 1
[C][uart.arduino_esp8266:131]:   Using software serial
[C][template.text_sensor:020]: Template Sensor 'Fingerprint State'
[C][fingerprint_grow:537]: GROW_FINGERPRINT_READER:
[C][fingerprint_grow:538]:   System Identifier Code: 0x0000
[C][fingerprint_grow:539]:   Touch Sensing Pin: GPIO12
[C][fingerprint_grow:541]:   Sensor Power Pin: None
[C][fingerprint_grow:546]:   Idle Period to Sleep: Never
[C][fingerprint_grow:548]:   Update Interval: 0.5s
[C][fingerprint_grow:550]:   Fingerprint Count 'Fingerprint Count'
[C][fingerprint_grow:550]:     State Class: ''
[C][fingerprint_grow:550]:     Unit of Measurement: ''
[C][fingerprint_grow:550]:     Accuracy Decimals: 0
[C][fingerprint_grow:550]:     Icon: 'mdi:fingerprint'
[C][fingerprint_grow:551]:     Current Value: 65535
[C][fingerprint_grow:554]:   Status 'Fingerprint Status'
[C][fingerprint_grow:554]:     State Class: ''
[C][fingerprint_grow:554]:     Unit of Measurement: ''
[C][fingerprint_grow:554]:     Accuracy Decimals: 0
[C][fingerprint_grow:555]:     Current Value: 255
[C][fingerprint_grow:558]:   Capacity 'Fingerprint Capacity'
[C][fingerprint_grow:558]:     State Class: ''
[C][fingerprint_grow:558]:     Unit of Measurement: ''
[C][fingerprint_grow:558]:     Accuracy Decimals: 0
[C][fingerprint_grow:558]:     Icon: 'mdi:database'
[C][fingerprint_grow:559]:     Current Value: 65535
[C][fingerprint_grow:562]:   Security Level 'Fingerprint Security Level'
[C][fingerprint_grow:562]:     State Class: ''
[C][fingerprint_grow:562]:     Unit of Measurement: ''
[C][fingerprint_grow:562]:     Accuracy Decimals: 0
[C][fingerprint_grow:562]:     Icon: 'mdi:security'
[C][fingerprint_grow:563]:     Current Value: 255
[C][fingerprint_grow:566]:   Last Finger ID 'Fingerprint Last Finger ID'
[C][fingerprint_grow:566]:     State Class: ''
[C][fingerprint_grow:566]:     Unit of Measurement: ''
[C][fingerprint_grow:566]:     Accuracy Decimals: 0
[C][fingerprint_grow:566]:     Icon: 'mdi:account'
[C][fingerprint_grow:567]:     Current Value: -1
[C][fingerprint_grow:570]:   Last Confidence 'Fingerprint Last Confidence'
[C][fingerprint_grow:570]:     State Class: ''
[C][fingerprint_grow:570]:     Unit of Measurement: ''
[C][fingerprint_grow:570]:     Accuracy Decimals: 0
[C][fingerprint_grow:570]:     Icon: 'mdi:account-check'
[C][fingerprint_grow:571]:     Current Value: -1
[E][component:082]:   Component fingerprint_grow is marked FAILED
[C][captive_portal:088]: Captive Portal:
[C][mdns:115]: mDNS:
[C][mdns:116]:   Hostname: sensor-digital
[V][mdns:117]:   Services:
[V][mdns:119]:   - _esphomelib, _tcp, 6053
[V][mdns:121]:     TXT: friendly_name = Sensor_Digital
[V][mdns:121]:     TXT: version = 2024.4.1
[V][mdns:121]:     TXT: mac = 
[V][mdns:121]:     TXT: platform = ESP8266
[V][mdns:121]:     TXT: board = nodemcuv2
[V][mdns:121]:     TXT: network = wifi
[V][mdns:121]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[C][ota:096]: Over-The-Air Updates:
[C][ota:097]:   Address: 192.168.15.74:8266
[C][ota:100]:   Using Password.
[C][ota:103]:   OTA version: 2.
[C][api:139]: API Server:
[C][api:140]:   Address: 192.168.15.74:6053
[C][api:142]:   Using noise encryption: YES
[D][api:102]: Accepted 192.168.15.34
[VV][api.socket:696]: 192.168.15.34: Handshake complete!
[W][component:170]: Component api cleared Warning flag
[W][component:237]: Component api took a long time for an operation (294 ms).
[W][component:238]: Components should block for at most 30 ms.

And after I removed the password:

SDK:2.2.2-dev(38a443e)/Core:3.1.2=30102000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
[I][logger:034]: Log initialized
[C][ota:483]: There have been 0 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[VV][scheduler:063]: set_interval(name='', interval=60000, offset=14767)
[C][uart.arduino_esp8266:059]: Setting up UART bus...
[VV][scheduler:063]: set_interval(name='update', interval=6000, offset=1646)
[C][fingerprint_grow:060]: Setting up Grow Fingerprint Reader...
[D][fingerprint_grow:232]: Checking password
[D][fingerprint_grow:237]: Password verified
[D][fingerprint_grow:260]: Getting parameters
[D][fingerprint_grow:263]: Got parameters
[V][sensor:043]: 'Fingerprint Status': Received new state 4.000000
[D][sensor:093]: 'Fingerprint Status': Sending state 4.00000  with 0 decimals of accuracy
[V][sensor:043]: 'Fingerprint Capacity': Received new state 150.000000
[D][sensor:093]: 'Fingerprint Capacity': Sending state 150.00000  with 0 decimals of accuracy
[V][sensor:043]: 'Fingerprint Security Level': Received new state 3.000000
[D][sensor:093]: 'Fingerprint Security Level': Sending state 3.00000  with 0 decimals of accuracy
[D][binary_sensor:036]: 'Fingerprint Enrolling': Sending state OFF
[D][fingerprint_grow:285]: Getting fingerprint count
[D][fingerprint_grow:288]: Got fingerprint count
[V][sensor:043]: 'Fingerprint Count': Received new state 6.000000
[D][sensor:093]: 'Fingerprint Count': Sending state 6.00000  with 0 decimals of accuracy
[VV][scheduler:063]: set_interval(name='update', interval=500, offset=54)
[C][wifi:038]: Setting up WiFi...
[C][wifi:051]: Starting WiFi...
[C][wifi:052]:   Local MAC: 
[V][wifi_esp8266:061]: Enabling STA.
mode : sta(48:3f:da:67:5c:6e)
add if0
[V][wifi_esp8266:556]: Event: Changed Mode old=OFF new=STA
wifi evt: 8
nul mode, fpm auto sleep set:enalbe
sleep disable
[D][wifi:462]: Starting scan...
[VV][scheduler:225]: Running interval '' with interval=60000 last_execution=4294899771 (now=7426)
[VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=4294966905 (now=7426)
[V][text_sensor:013]: 'Fingerprint State': Received new state -
[D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=6827 (now=7426)
[V][fingerprint_grow:021]: No touch sensing
[W][component:157]: Component wifi set Warning flag: unspecified
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=7327 (now=7827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=7827 (now=8327)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=8327 (now=8827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=8827 (now=9327)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=9327 (now=9827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=9827 (now=10327)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=10327 (now=10827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=10827 (now=11327)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=5609 (now=11609)
[V][text_sensor:013]: 'Fingerprint State': Received new state -
[D][text_sensor:064]: 'Fingerprint State': Sending state '-'
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=11327 (now=11827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=11827 (now=12327)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=12327 (now=12827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=12827 (now=13327)
[V][fingerprint_grow:021]: No touch sensing
scandone
[D][wifi:477]: Found networks:
[I][wifi:520]: - '' [redacted]▂▄▆█
[D][wifi:522]:     Channel: 3
[D][wifi:523]:     RSSI: -47 dB
[I][wifi:520]: - '' [redacted]▂▄▆█
[D][wifi:522]:     Channel: 1
[D][wifi:523]:     RSSI: -69 dB
[D][wifi:525]: - [redacted] [redacted]▂▄▆█
[D][wifi:525]: - [redacted] [redacted]▂▄▆█
[I][wifi:303]: WiFi Connecting to ''...
[V][wifi:305]: Connection Params:
[V][wifi:306]:   SSID: ''
[V][wifi:309]:   BSSID: 
[V][wifi:329]:   Password: [redacted]
[V][wifi:334]:   Channel: 3
[V][wifi:340]:   Manual IP: Static IP=192.168.15.74 Gateway=192.168.15.1 Subnet=255.255.255.0 DNS1=0.0.0.0 DNS2=0.0.0.0
[V][wifi:345]:   Hidden: NO
[V][wifi_esp8266:514]: Event: Changed AuthMode old=OPEN new=WPA2 PSK
wifi evt: 2
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=13327 (now=13827)
[V][fingerprint_grow:021]: No touch sensing
scandone
state: 0 -> 2 (b0)
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=13827 (now=14722)
[V][fingerprint_grow:021]: No touch sensing
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 32
cnt 

connected with , channel 3
ip:192.168.15.74,mask:255.255.255.0,gw:192.168.15.1
ip:192.168.15.74,mask:255.255.255.0,gw:192.168.15.1
[V][wifi_esp8266:490]: Event: Connected ssid='' bssid=:DC channel=3
wifi evt: 0
[V][wifi_esp8266:529]: Event: Got IP static_ip=192.168.15.74 gateway=192.168.15.1 netmask=255.255.255.0
wifi evt: 3
[I][wifi:597]: WiFi Connected!
[C][wifi:408]:   Local MAC: 
[C][wifi:413]:   SSID: [redacted]
[C][wifi:416]:   IP Address: 192.168.15.74
[C][wifi:419]:   BSSID: [redacted]
[C][wifi:421]:   Hostname: 'sensor-digital'
[C][wifi:423]:   Signal strength: -52 dB ▂▄▆█
[V][wifi:425]:   Priority: 0.0
[C][wifi:427]:   Channel: 3
[C][wifi:428]:   Subnet: 255.255.255.0
[C][wifi:429]:   Gateway: 192.168.15.1
[C][wifi:430]:   DNS1: 0.0.0.0
[C][wifi:431]:   DNS2: 0.0.0.0
[D][wifi:606]: Disabling AP...
[C][ota:096]: Over-The-Air Updates:
[C][ota:097]:   Address: 192.168.15.74:8266
[C][ota:100]:   Using Password.
[C][ota:103]:   OTA version: 2.
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=14327 (now=14883)
[V][fingerprint_grow:021]: No touch sensing
[W][component:170]: Component wifi cleared Warning flag
[W][component:157]: Component api set Warning flag: unspecified
[I][app:100]: ESPHome version 2024.4.1 compiled on Apr 25 2024, 19:47:07
[C][wifi:580]: WiFi:
[C][wifi:408]:   Local MAC: 
[C][wifi:413]:   SSID: [redacted]
[C][wifi:416]:   IP Address: 192.168.15.74
[C][wifi:419]:   BSSID: [redacted]
[C][wifi:421]:   Hostname: 'sensor-digital'
[C][wifi:423]:   Signal strength: -53 dB ▂▄▆█
[V][wifi:425]:   Priority: 0.0
[C][wifi:427]:   Channel: 3
[C][wifi:428]:   Subnet: 255.255.255.0
[C][wifi:429]:   Gateway: 192.168.15.1
[C][wifi:430]:   DNS1: 0.0.0.0
[C][wifi:431]:   DNS2: 0.0.0.0
[C][logger:166]: Logger:
[C][logger:167]:   Level: VERY_VERBOSE
[C][logger:169]:   Log Baud Rate: 115200
[C][logger:170]:   Hardware UART: UART0
[C][uart.arduino_esp8266:118]: UART Bus:
[C][uart.arduino_esp8266:119]:   TX Pin: GPIO15
[C][uart.arduino_esp8266:120]:   RX Pin: GPIO13
[C][uart.arduino_esp8266:122]:   RX Buffer Size: 256
[C][uart.arduino_esp8266:124]:   Baud Rate: 57600 baud
[C][uart.arduino_esp8266:125]:   Data Bits: 8
[C][uart.arduino_esp8266:126]:   Parity: NONE
[C][uart.arduino_esp8266:127]:   Stop bits: 1
[C][uart.arduino_esp8266:131]:   Using software serial
[C][template.text_sensor:020]: Template Sensor 'Fingerprint State'
[C][fingerprint_grow:537]: GROW_FINGERPRINT_READER:
[C][fingerprint_grow:538]:   System Identifier Code: 0x0000
[C][fingerprint_grow:539]:   Touch Sensing Pin: GPIO12
[C][fingerprint_grow:541]:   Sensor Power Pin: None
[C][fingerprint_grow:546]:   Idle Period to Sleep: Never
[C][fingerprint_grow:548]:   Update Interval: 0.5s
[C][fingerprint_grow:550]:   Fingerprint Count 'Fingerprint Count'
[C][fingerprint_grow:550]:     State Class: ''
[C][fingerprint_grow:550]:     Unit of Measurement: ''
[C][fingerprint_grow:550]:     Accuracy Decimals: 0
[C][fingerprint_grow:550]:     Icon: 'mdi:fingerprint'
[C][fingerprint_grow:551]:     Current Value: 6
[C][fingerprint_grow:554]:   Status 'Fingerprint Status'
[C][fingerprint_grow:554]:     State Class: ''
[C][fingerprint_grow:554]:     Unit of Measurement: ''
[C][fingerprint_grow:554]:     Accuracy Decimals: 0
[C][fingerprint_grow:555]:     Current Value: 4
[C][fingerprint_grow:558]:   Capacity 'Fingerprint Capacity'
[C][fingerprint_grow:558]:     State Class: ''
[C][fingerprint_grow:558]:     Unit of Measurement: ''
[C][fingerprint_grow:558]:     Accuracy Decimals: 0
[C][fingerprint_grow:558]:     Icon: 'mdi:database'
[C][fingerprint_grow:559]:     Current Value: 150
[C][fingerprint_grow:562]:   Security Level 'Fingerprint Security Level'
[C][fingerprint_grow:562]:     State Class: ''
[C][fingerprint_grow:562]:     Unit of Measurement: ''
[C][fingerprint_grow:562]:     Accuracy Decimals: 0
[C][fingerprint_grow:562]:     Icon: 'mdi:security'
[C][fingerprint_grow:563]:     Current Value: 3
[C][fingerprint_grow:566]:   Last Finger ID 'Fingerprint Last Finger ID'
[C][fingerprint_grow:566]:     State Class: ''
[C][fingerprint_grow:566]:     Unit of Measurement: ''
[C][fingerprint_grow:566]:     Accuracy Decimals: 0
[C][fingerprint_grow:566]:     Icon: 'mdi:account'
[C][fingerprint_grow:567]:     Current Value: -1
[C][fingerprint_grow:570]:   Last Confidence 'Fingerprint Last Confidence'
[C][fingerprint_grow:570]:     State Class: ''
[C][fingerprint_grow:570]:     Unit of Measurement: ''
[C][fingerprint_grow:570]:     Accuracy Decimals: 0
[C][fingerprint_grow:570]:     Icon: 'mdi:account-check'
[C][fingerprint_grow:571]:     Current Value: -1
[C][captive_portal:088]: Captive Portal:
[C][mdns:115]: mDNS:
[C][mdns:116]:   Hostname: sensor-digital
[V][mdns:117]:   Services:
[V][mdns:119]:   - _esphomelib, _tcp, 6053
[V][mdns:121]:     TXT: friendly_name = Sensor_Digital
[V][mdns:121]:     TXT: version = 2024.4.1
[V][mdns:121]:     TXT: mac = 
[V][mdns:121]:     TXT: platform = ESP8266
[V][mdns:121]:     TXT: board = nodemcuv2
[V][mdns:121]:     TXT: network = wifi
[V][mdns:121]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=14827 (now=15354)
[V][fingerprint_grow:021]: No touch sensing
[C][ota:096]: Over-The-Air Updates:
[C][ota:097]:   Address: 192.168.15.74:8266
[C][ota:100]:   Using Password.
[C][ota:103]:   OTA version: 2.
[C][api:139]: API Server:
[C][api:140]:   Address: 192.168.15.74:6053
[C][api:142]:   Using noise encryption: YES
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=15327 (now=15833)
[V][fingerprint_grow:021]: No touch sensing
[D][api:102]: Accepted 192.168.15.34
[VV][api.socket:696]: 192.168.15.34: Handshake complete!
[W][component:170]: Component api cleared Warning flag
[W][component:237]: Component api took a long time for an operation (293 ms).
[W][component:238]: Components should block for at most 30 ms.
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=15827 (now=16425)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=16327 (now=16827)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=500 last_execution=16827 (now=17331)
[V][fingerprint_grow:021]: No touch sensing
[VV][scheduler:225]: Running interval 'update' with interval=6000 last_execution=11609 (now=17609)
[V][text_sensor:013]: 'Fingerprint State': Received new state -
[D][text_sensor:064]: 'Fingerprint State': Sending state '-'
Marcos-kp commented 3 weeks ago

Now I got it working again!

I reverted to my initial configuration:

uart:
  rx_pin: D1
  tx_pin: D2
  baud_rate: 57600

fingerprint_grow:
  sensing_pin: D6

Apparently something in the update messed up my password and I wasn't getting any logs/feedback regarding this. Not until I installed a code and followed the log through the usb.

Thanks all for the help! Now I will try to see if setting a password will work. If not, I might have to stay without one.