tobozo / wifimanagertz Goto Github PK
View Code? Open in Web Editor NEWA NTP/Timezone extension to @tzapu's WiFiManager
License: Other
A NTP/Timezone extension to @tzapu's WiFiManager
License: Other
Hello tobozo,
personally, I don't think it's a good idea that you add a favicon in your project.
I mean, the favicon is defined for the whole web server, not only the NTP part your plug-in is responsible for.
As I want to provide an own favicon, I need to see if I can "override" your /favicon.ico
route again.
But I do think providing a global server favicon should not be the business of a NTP server add-on in the first place.
Thanks for considering
Andreas
I cannot find the declaration for sntp_set_sync_interval function so I get error at compiling : "sntp_set_sync_interval' was not declared in this scope"
Hello tobozo,
cool WiFiManager addition, thanks for that! :-)
Quick question how this is expected to work:
Currently, after restarting it seems to load the preferences correctly, it correctly finds out that NTP is enabled here
https://github.com/tobozo/WiFiManagerTz/blob/master/src/WiFiManagerTz.h#L36
and loads the NTP preferences accordingly.
However, it seems not to automatically apply the time configuration from the preferences at start.
This leads to the preferences correctly filled on the WiFiManager custom web page, but the time not used. I need to go to the time settings webpage after each start and click on "Submit" (without any changes in the form as all correctly prefilled). Only then the time gets actually updated.
Would it not make sense to add a configTime();
after NTP::loadPrefs();
here?
https://github.com/tobozo/WiFiManagerTz/blob/master/src/WiFiManagerTz.h#L36
This would immediately apply the saved settings and retrieve an initial time from the NTP server.
Thanks
Andreas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.