EverythingSmartHome / fingerprint-mqtt

Fingerprint sensor with MQTT support based on Adafruit Fingerprint Sensor Library
GNU General Public License v3.0
24 stars 14 forks source link

Home assistant and the name of id #27

Open orrionis opened 1 year ago

orrionis commented 1 year ago

I

i ve a bug with the name of persnon.

When i learning a fingerprint ( ex ID 1 name John) with id and name it's ok when i scan again the id it's good and the name of person same.. ID 1 Name John

Now when i learning a second finger, it's good ( ID2 name jack) scan finger > name and ID ok : ID 2 Name JAck

But if i scan the previous finger the ID is good ID1 but name is "unavailable".

if The id is good i thing the memory and the module is good. may be an error in the configuration of sensor in yam code.

Thanks

unseemlycoder commented 1 year ago

https://github.com/EverythingSmartHome/fingerprint-mqtt/issues/17#issuecomment-1293773553 Can you verify if your helpers have the correct range?

orrionis commented 1 year ago

Screenshot_20230214_192413_Home Assistant Screenshot_20230214_192357_Home Assistant Screenshot_20230214_192348_Home Assistant

unseemlycoder commented 1 year ago

Please change the minimum values to 1. Quoting @alinm4 from #17

''' It looks that helpers had some issues with min/max limits and needs to reset limits from min=1 to max=127 for fingerprint_id and min=1 to max=512 for fingerprint_data/fingerprint_person. '''

https://github.com/EverythingSmartHome/fingerprint-mqtt/issues/17#issuecomment-1293891940

Edit: Would advise you to read past issues before opening new ones.

orrionis commented 1 year ago

Thanks fixed it

minimum Value all at 1