mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Support syslog updates every sleep
Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
This commit is contained in:
parent
23b4cd08d4
commit
b81eaf5bc8
@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Refactoring of Berry `animate` module for WS2812 Leds (#20236)
|
- Refactoring of Berry `animate` module for WS2812 Leds (#20236)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Matter Contact sensor was not triggering any update (#20232)
|
- Matter Contact sensor was not triggering any update (#20232)
|
||||||
|
@ -126,6 +126,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||||||
- Refactoring of Berry `animate` module for WS2812 Leds [#20236](https://github.com/arendst/Tasmota/issues/20236)
|
- Refactoring of Berry `animate` module for WS2812 Leds [#20236](https://github.com/arendst/Tasmota/issues/20236)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` [#20260](https://github.com/arendst/Tasmota/issues/20260)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- CVE-2021-36603 Cross Site Scripting (XSS) vulnerability [#12221](https://github.com/arendst/Tasmota/issues/12221)
|
- CVE-2021-36603 Cross Site Scripting (XSS) vulnerability [#12221](https://github.com/arendst/Tasmota/issues/12221)
|
||||||
|
@ -887,7 +887,9 @@ void Scheduler(void) {
|
|||||||
#endif // USE_ARDUINO_OTA
|
#endif // USE_ARDUINO_OTA
|
||||||
#endif // ESP8266
|
#endif // ESP8266
|
||||||
|
|
||||||
|
#ifndef SYSLOG_UPDATE_SECOND
|
||||||
SyslogAsync(false);
|
SyslogAsync(false);
|
||||||
|
#endif // SYSLOG_UPDATE_SECOND
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop(void) {
|
void loop(void) {
|
||||||
|
@ -1142,6 +1142,9 @@ void PerformEverySecond(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
MqttPublishLoggingAsync(false);
|
MqttPublishLoggingAsync(false);
|
||||||
|
#ifdef SYSLOG_UPDATE_SECOND
|
||||||
|
SyslogAsync(false);
|
||||||
|
#endif // SYSLOG_UPDATE_SECOND
|
||||||
|
|
||||||
ResetGlobalValues();
|
ResetGlobalValues();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user