frickelzeugs / FingerprintDoorbell

An MQTT enabled combined fingerprint reader and doorbell based on the ESP32 MCU and the R503 fingerprint sensor called "FingerprintDoorbell".
https://frickelzeugs.github.io/FingerprintDoorbell/
308 stars 49 forks source link

Fix errors, add new colors and basic auth #22

Closed pforrmi closed 1 year ago

pforrmi commented 2 years ago

Changes:

I'm open for adjustments if some changes may are not useful or may not added correctly.

frickelzeugs commented 2 years ago

Hi @pforrmi,

thanks for your PR. You're adressing multiple issues in your PR:

  1. Compile errors

  2. led color schema

  3. authentication

  4. was already mentioned and adressed by some other users comments and PR. I just commited a fix yesterday, which doesn't need to reference a unofficial build of AsyncElegantOTA by using lib_ldf_mode = deep+. I find this the most charming option. Of course we still have to nail the plattform version to 3.5, but I will remove this as soon as a new official library version of the async web server is released containing a fix.

2.: I don't want to change the color scheme of the led because of 2 reasons:

3.: Authentication is a good idea! I already had this in mind during development, but then pushed it back due to time constraints. But hard coding this option and also the credentials isn't an option for me, because some users don't want to mess with VS Code to and just using the binaries. So, the basic auth thing should be at lease configurable through the webui (turn basic auth on/off and also the ability to change the password (and user?)). Would you like to reduce your PR to this aspect and fully implement this feature?

Viele Grüße, Tobias

pforrmi commented 2 years ago

Thanks for the long and detailed reply!

Pull request due to led colors done: https://github.com/adafruit/Adafruit-Fingerprint-Sensor-Library/pull/119 We'll see if anything happens here. If it will positiv, maybe the change of basic color setting make sense. I'm agree with you cause the manual edit of the library is not very user friendly.

I'm not sure if I'm able to implement the authentication to make it configurable through the ui. Maybe for this my skills are not good enough 😃 At the moment I just can offer the hard coded one.

Looking forward to have at some time the best self-made fingerprint sensor for our homes 👍 (It's already pretty nice at this state!)