Max Prokhorov
91cbba3493
Update NTP
- wrapper NTPClient class to avoid inadvertently calling NTP::getTime() while
setting things up
- only call NTP::getTime() when in loop(), install async TimeLib
sync provider and manually set TimeLib time
- randomize sync and delay times
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
Xose Pérez
356be730e2
Added message type to broker
5 years ago
Xose Pérez
7ab5b04fff
Option to report time even if no NTP sync ( #1310 )
6 years ago
Max Prokhorov
ed0d4f6674
Check NTP sync status
Avoid 0 timestamp bug
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
bb82d49452
Option to set schedules based on UTC time ( #783 )
6 years ago
Niklas Wagner
20adc846a9
Use the 5th Channel as Cold White LED
6 years ago
Xose Pérez
4600fd5fa3
NTP method to get a string from any unix timestamp
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
b75e1ea7d6
Do not show empty time strings ( #691 )
6 years ago
Xose Pérez
c886d9f1b7
Support for USA DST calculations ( #664 )
6 years ago
Xose Pérez
d4eb64ca7e
Update NtpClientLib and use NTP_TIMEOUT ( #452 )
6 years ago
Xose Pérez
7698a48fbb
Increase the initial check interval for NTP ( #452 )
6 years ago
Xose Pérez
95968a97c3
Improved NTP support
6 years ago
Xose Pérez
3e4313fae3
Updated NTPClientLib. Support for non full hour time offsets ( #265 )
6 years ago
Xose Pérez
90ce2a8e37
Local broker
6 years ago
Xose Pérez
8eb22ff9bc
Changes in time management
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
34c72859ef
Small changes
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
a25a6904b1
Changes in NTP
7 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
b34da11508
Moving MDNS code to its own module
7 years ago
Xose Pérez
f8c3e4f4c1
Renamed ntpConnect to ntpConfigure
7 years ago
Xose Pérez
e451fb499b
Added current time, uptime, free heap, firmware size and free space to web interface
7 years ago
Xose Pérez
ce907eb2ee
Option to build without NTP support
7 years ago
Xose Pérez
68c90c1cc0
Fix bug using snprintf
7 years ago
Xose Pérez
f7cf9a691f
Replaced sprintf with safer snprintf
7 years ago
Xose Pérez
90617963e3
Method to send websocket messages from progmem
7 years ago
Xose Pérez
fb60201cf1
Option to build without web server support
7 years ago
Xose Pérez
9750bf26bb
Moved strings to PROGMEM, 160 bytes saved in memory
7 years ago
Xose Pérez
a27c8a3145
Return time in ISO format
7 years ago
Xose Pérez
c8eba6a979
NTP configuration in web interface
7 years ago
Xose Pérez
3a872979fe
Show NTP status on web interface ( #126 )
7 years ago
Xose Pérez
8c54488fa1
Moving debug strings to PROGMEM. ~1.5KBytes of heap memory freed
7 years ago
Xose Pérez
4e0e8038b1
Reset NTP connection from the JustWifi connection callback
7 years ago
Xose Pérez
52a63b1849
Changes in file comment headers
7 years ago
Xose Pérez
ff81326846
Version and year bump
7 years ago
Xose Pérez
bacc2c2b92
Arduino IDE compatibility ( #18 ) - Renamed src folder and main file as 'espurna'
8 years ago
Xose Pérez
69139ac2a7
Using yield in main loop
8 years ago
Xose Pérez
88de7f51d0
Complete update
8 years ago