Commit Graph

42 Commits

Author SHA1 Message Date
Theo Arends fbd8c861a3 Consolidate three RTC chip drivers into one driver
- Consolidate three RTC chip drivers (DS3231, BM8563, PCF85363) into one driver updating RTC as soon as possible after restart
- Removed command ``Sensor33`` and replaced by ``RtcNtpserver``
- define ``USE_RTC_ADDR`` into ``DS3231_ADDRESS``
2022-03-13 18:13:40 +01:00
Theo Arends e152d8ffe0 Refactor DS3231 driver 2022-03-01 14:53:13 +01:00
Theo Arends 45a0b7cc84 Refactor time sync messages 2022-02-27 16:09:32 +01:00
Theo Arends 85731148c5 Refactor GPIO_HEARTBEAT
Remove delay from interrupt by refactoring GPIO_HEARTBEAT
2021-12-18 14:30:25 +01:00
Theo Arends 5243b17a1a Add 1 second heartbeat GPIO 2021-11-03 11:58:05 +01:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Theo Arends c494c89a1a Update support_rtc.ino 2021-01-12 15:13:42 +01:00
Theo Arends 08033444c5 Fix filetime 2021-01-12 15:03:06 +01:00
Theo Arends 2f63895599 Fix RTOS time update (#10334) 2021-01-05 10:37:05 +01:00
Theo Arends aa943fc696 Add ESP32 RTOS timesync 2021-01-04 16:10:22 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends b7af08c03b Redesign syslog and mqttlog using log buffer
Redesign syslog and mqttlog using log buffer (#10164)
2020-12-18 15:37:20 +01:00
Theo Arends f243a01adf Fic initial milliseconds 2020-12-17 16:41:04 +01:00
Theo Arends e5dfbb1137 Fix RTC using manual time 2020-11-07 12:42:39 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 63f8a2aafd Fix ESP32 network checks
Fix ESP32 network checks (#8503)
2020-06-18 10:18:49 +02:00
Theo Arends 11d6486534 Fix time 4 display with SO52 1 2020-06-11 19:13:08 +02:00
Theo Arends 12391c30a7 Relax NTP: Not synced message 2020-05-26 14:43:21 +02:00
Theo Arends a3964d1679 Add NTP: Not synced message
Add NTP: Not synced message (#8142)
2020-05-26 14:38:31 +02:00
Theo Arends 78f106ccb7 Fix Time 0 NTP sync 2020-05-26 11:50:35 +02:00
Theo Arends 90d3cd45c4 Add command ``Time 4``
Add command ``Time 4`` to display timestamp using milliseconds (#8537)
2020-05-25 11:44:17 +02:00
Theo Arends e8f3d1d986 Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends e9c7026e82 Remove NTP drift information
Remove NTP drift information
2020-02-20 14:55:41 +01:00
Theo Arends 6a84899e10 Eliminating call sntp_get_real_time
Change display of some date and time messages from "Wed Feb 19 10:45:12 2020" to "2020-02-19T10:45:12"
2020-02-19 15:23:59 +01:00
Theo Arends 1a074da0b5 Add BootCount Reset Time to Status
Add BootCount Reset Time as BCResetTime to ``Status 1``
2020-02-07 12:38:10 +01:00
Theo Arends 0db458c774 Fix exception 9 restart on log message
Fix exception 9 restart on log message in Ticker interrupt service routines NTP, Wemos and Hue emulation (#7496)
2020-01-14 12:47:48 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends beabe367f8
Merge pull request #7202 from ascillato/patch-1
Allow to disable SNTP when using TIME <epoch>
2019-12-23 17:32:21 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
Adrian Scillato 666cc86c9e
Allow to disable SNTP when using TIME <epoch> 2019-12-12 16:32:54 -03:00
Theo Arends 00fd7f2f7c Bump version to 7.1.2.2
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108)
2019-12-06 15:02:05 +01:00
Theo Arends 89cf000f5c Make NTP updates related to uptime
Make NTP updates related to uptime (#6995)
2019-11-22 14:50:57 +01:00
Theo Arends 4b49979274 Add SetOption comments to code 2019-11-03 13:51:22 +01:00
Theo Arends 6fc9dccfe8 Some CppCheck optimizations 2019-10-30 14:08:43 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00