-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 12 does not request time from the routers IP address anymore #17984
Comments
You should not refer to vastly outdated docs from version 8.1, but instead current docs. https://tasmota.github.io/docs/ The feature for using NTP servers announced via DHCP gave so much trouble with various routers not doing it right, that the feature was deprecated and removed from Tasmota. You need to specifically config NTP servers in Tasmota via the As things are now, Tasmota is working as expected, and current docs does not suggest anything about DHCP-announced NTP servers being supported. |
I think we're talking about different things here. There is an option (042) https://serverfault.com/questions/7565/dhcp-options-for-network-time-server for the DHCP server to specify an NTP-Server. Fritzbox does not use Option 42 to give clients a DHCP server. With version 8 tasmota just tried to pull time from router IP, so see if there is a listening NTP server and if so use that time. Thats different from using the NTP servers DHCP offers. Changing this from my point of view very useful behaviour leads to unforseen troubles because tasmota devices have no time anymore after the update. |
This feature was removed, since many routers are not able to do it correctly. |
I just tried using my router as NTP address and it just fails (as my router does NOT supply NTP. If you like you can change line 1258 in file support_wifi.ino to
and chk if yours does work. Make sure to delete the current defined NtpServers using a command like Considering the response from my router and past knowledge I suggest you set your NtpServer1 to your routers IP address and enjoy it's functionality. The above change won't make it into future releases. |
PROBLEM DESCRIPTION
Tasmota 12.3.1 does not try to sync time with the IP-Adress oft the router as version 8 did. From the FAQ https://github.com/tasmota/docs-8.1/blob/master/help/FAQ.md
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Just install version 12, put it into a network with Fritzbox and time won't be set
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Tasmota gets the time from the Fritzbox NTP Server
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
Even if routers would provide wrong time, this would be corrected after connecting the preconfigured pool.ntp.org NTP servers. However in networks where internet connection is blocked for Tasmotas they will set the time from router.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: