Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Berry add tasmota.rtc("config_time") that returns teh epoch time when the configuration was last saved. This is a rought estimate of the time, useful to have some credible timestamps before NTP got the new time.
This is used for example in TLS to check the time of the server certificate before NTP; or for Matter to have event timestamps before NTP.
The feature was actually mistakenly included in #21698
Checklist:
[x] The pull request is done against the latest development branch
[x] Only relevant files were touched
[x] Only one feature/fix was added per PR and the code change compiles without warnings
[ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.7
[x] The code change is tested and works with Tasmota core ESP32 V.3.0.2
Description:
Berry add
tasmota.rtc("config_time")
that returns teh epoch time when the configuration was last saved. This is a rought estimate of the time, useful to have some credible timestamps before NTP got the new time.This is used for example in TLS to check the time of the server certificate before NTP; or for Matter to have event timestamps before NTP.
The feature was actually mistakenly included in #21698
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass