Description
When I was using my display over the Christmas/New Year period, I thought it would be nice to have a countdown towards events. So I started work on adding this feature and along the way when I was developing in multiple places, I found it inconvenient to change the WiFi credentials while testing. I have previously seen a project called WiFiManager which allows you to be able to set credentials on device so thought this would be good to add for ease of setup. During all this, noticed several problems and bugs and also took the opportunity to improve the codebase.
TL;DR
Added a Countdown Mode to a date
Added WiFiManager to the project so the device doesn't require credentials to be hard coded
This is now the default option (AP mode) where the device will set itself up as a WiFi Access Point. You can then connect directly to the device and see networks the device can connect to and then specify a password to connect to it
If the device for whatever reason cannot connect to a WiFi network, it will put itself in this mode so it can be changed
The option is still on device to use this or still do DIRECT WiFi mode where you can still do this
Persist scheduled messages
If the time goes by when the device is off, on boot, they will be purged/removed
Show and hide buttons on UI if the feature is not available
Lots of bug squashing
Sometimes can get in a half state of something gone wrong that is submitted but other parameters have been processed
Scheduled messages didn't correctly set the previous mode back to what was before was required
Updating only alignment would not trigger a message re-write
Lots and lots of code/documentation clean up and improvements
Clearer variables that can be changed by someone customising the device display
Going to run the final version on my display for a few days at least to ensure everything works as expected. Its one thing to have it working in isolated theory but another for the real thing!
Description When I was using my display over the Christmas/New Year period, I thought it would be nice to have a countdown towards events. So I started work on adding this feature and along the way when I was developing in multiple places, I found it inconvenient to change the WiFi credentials while testing. I have previously seen a project called WiFiManager which allows you to be able to set credentials on device so thought this would be good to add for ease of setup. During all this, noticed several problems and bugs and also took the opportunity to improve the codebase.
TL;DR
AP
mode) where the device will set itself up as a WiFi Access Point. You can then connect directly to the device and see networks the device can connect to and then specify a password to connect to itDIRECT
WiFi mode where you can still do this