diff --git a/README.md b/README.md index cba11f9..6b56022 100644 --- a/README.md +++ b/README.md @@ -113,13 +113,19 @@ todo # Configuration ## WiFi Connection -todo +If no WiFi settings are configured (e.g. on a fresh install) the device will automatically boot into WiFi configuration mode (LED ring is breathing red). Once your WiFi connection is configured the device will never enter WiFi config mode again, even if the WiFi is not available or it cannot connect because of errors. If you later want to enter WiFi configuration mode again you have to press and hold your finger at least 10s on the sensor while powering on the device (or trigger a reboot through WebUI). + +When in WiFi config mode FingerprintDoorbell will act as an AccessPoint an creates it's own Network with the Name "FingerprintDoorbell-Config". Connect to this network with your PC/Mobile and Password "12345678". You should then get a "captive portal" notification, which you should bring you to the browser with the WiFi config already open. If the captive portal thing does not work please open a browser manually and visit "http://192.168.4.1". + + + +Enter your settings and click "Save and restart" to bring the device back to normal operation mode. If everything had worked the LED ring should first flash blue while bootup and starts breathing blue if connection to your wifi is running. ## Enroll your fingerprints -todo + ## Configure MQTT connection -todo + ## Firmware Update If you've managed to walk the bumpy path of flashing the firmware on the ESP32 for the first time, be calmed: every further firmware update will be a piece of cake. FingerprintDoorbell is using the really cool Library [AsyncElegantOTA](https://github.com/ayushsharma82/AsyncElegantOTA) to make this as handy as possible. You don't even have to pull the microcontroller out of the wall and connect it to your computer, because the "OTA" in "AsyncElegantOTA" is for "Over-the-air" updates. All you need to do is to browse to the settings page of the WebUI and hit "Firmware update". In the following Dialog you have to upload 2 files diff --git a/data/wificonfig.html b/data/wificonfig.html index a9e457a..9cad7fb 100644 --- a/data/wificonfig.html +++ b/data/wificonfig.html @@ -5,6 +5,15 @@ +

%HOSTNAME%

diff --git a/doc/images/web-wificonfig.png b/doc/images/web-wificonfig.png new file mode 100644 index 0000000..7dd8367 Binary files /dev/null and b/doc/images/web-wificonfig.png differ diff --git a/src/main.cpp b/src/main.cpp index 0a56568..99fc6c0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,7 +15,7 @@ enum class Mode { scan, enroll, wificonfig, maintenance }; -const char* VersionInfo = "0.1"; +const char* VersionInfo = "0.2"; // =================================================================================================================== // Caution: below are not the credentials for connecting to your home network, they are for the Access Point mode!!!