That's interesting, can you open a pull request with your changes?
Helpful post? Buy me a coffee.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamInfo:NTP:NTP driver initialized with server=217.147.223.78, offset=0
Info:MAIN:Started NTP.
Info:CMD:[WebApp Cmd 'startDriver NTP' Result] OK
Info:MAIN:Time 55, idle 0/s, free 99832, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
Info:NTP:Seconds since Jan 1 1900 = 3920307516
Info:NTP:Unix time : 1711318716
Info:NTP:Local Time : 2024/03/24 22:18:36
Info:MQTT:Publishing val 0.000 to smartsocket003/current/get retain=0
Info:MQTT:Publishing val 0.00 to smartsocket003/power_apparent/get retain=0
Info:MQTT:Publishing val 0.00 to smartsocket003/power_reactive/get retain=0
Info:MQTT:Publishing val 1.00 to smartsocket003/power_factor/get retain=0
Info:MAIN:Time 56, idle 0/s, free 97096, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic smartsocket003/current/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic smartsocket003/power_apparent/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic smartsocket003/power_reactive/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic smartsocket003/power_factor/get
Info:MAIN:Time 57, idle 0/s, free 100064, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 58, idle 0/s, free 94728, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 59, idle 0/s, free 94728, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 60, idle 0/s, free 100184, MQTT 1(2), bWifi 1, secondsWithNoPing -1, socks 0/0
p.kaczmarek2 wrote:
This is not a perfect solution:
max@max-PC:~$ date -d "@$((0xFFFFFFFF))"
So 7. Feb 07:28:15 CET 2106
max@max-PC:~$
p.kaczmarek2 wrote:Hello! It's a great question you've brought up, especially considering how crucial understanding the `time_t` data type is for many applications.when will time_t overflow? What are the time_t types?
p.kaczmarek2 wrote:So I decided to merge the time_t fix:
https://github.com/openshwprojects/OpenBK7231...mmit/c07f66f3818c7067e60acbf27cb1a5d86f77e692