-
Notifications
You must be signed in to change notification settings - Fork 103
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
Alarm Problem with NTP on ESP8266-E12 #23
Comments
Nope, I do not know. I do not use ESP chips. I'm depending on the ESP community to resolve any ESP-specific problems and submit high quality pull requests (low risk for non-ESP). Sorry, I just can't spend time working for ESP. |
Hi Paul, Having a similar problem on NODEMCUs (ESP8266). At the end of my loop I inserted the following code:
Result: It fails when AlarmDelay exceeds 1622
|
I had the same issue.
or by using my proposed fix, which does it automatically. |
Hi bobybobybob, |
No i have not tried a solution with time alarms. I have programmed a primitive replacement. It works as desired, but TimeAlarms is more elegant and easier to use. Crying that it is not compatible for ESP 8266. |
I too have this issue. I got around it by just using regular delay, as @luckyhacky did |
Ok , you can't do it directly like that , here are my dirty method that I use
|
Hello, Get following error:
|
The problem is Alarm.delay |
Hello,
If I use the example script, everything goes with esp8266-e12 great. Also on my Arduino Uno with RTC everything is super. :-)
For an ESP8266 with NTP without RTC the alarm works fine every 15 seconds. But alarm at certain special times does not work. For alarm time I use UTC and UTC time is displayed with digitalClockDisplay (); In serial print, correct UTC time is displayed. No alarm at special alarm time, only the 15 second alarm is all 15sec to see.
I use that NTP Script for EPS8266-E12 to get Time from Internet
http://www.arduinoclub.de/2016/05/07/arduino-ide-esp8266-ntp-server-timezone/
Do you have a idea?
The text was updated successfully, but these errors were encountered: