1970-01-01 in Log #3804
Replies: 8 comments 4 replies
-
this causes the construction of such a terrible graph |
Beta Was this translation helpful? Give feedback.
-
Seems like a clear case of the ntp not working yet. I have found that sometimes the mqtt and json data lacks a timestamp or that the timestamp is like this. My first issue was to allow internet access to the camera module in my router - which I had turned off - so ntp could never resolve. But still, after reboots, it can take a while for the ntp to resolve. I am not at all sure why. I am currently looking to see if I can run some form on ntp relay on my router so that the I can eliminate the internet access and perhaps speed up the ntp response to the camera. |
Beta Was this translation helpful? Give feedback.
-
Just look if your Router supports NTP. As far as I know, all newest do, but maybe you must enable it in the Router configuration. |
Beta Was this translation helpful? Give feedback.
-
as you can see from the log later - the date is normal. that is, he gets the time. the problem is that he wrote the incorrect date to the log before getting the correct one |
Beta Was this translation helpful? Give feedback.
-
Thanks. But I have checked and pointing the ntp server at my router's IP produces nothing. It is an Asus and while the firmware is quite complete, it does lack offering ntp services to connecting devices. At one point I started to look into modifications to do this. But it got rather deep, rather quickly. |
Beta Was this translation helpful? Give feedback.
-
In testing changes to the ntp server, I found that a simple reboot does not seem to force time to be updated via ntp (at least not every time). For example (with ntp configured to my router's IP - which does NOT provide ntp services) followed by reboot, I get:
In order to force ntp to run, I had to cut power and restore it. |
Beta Was this translation helpful? Give feedback.
-
From here:
So until the clock is updated by ntp, this will be the "current" date. Ultimately, when ntp succeeds, the date get "properly" set. So in this condition, what should be reported until ntp succeeds? I have gotten empty timestamps in json and mqtt data. Not sure that is "better" than using the 1/1/1970 date. Still I agree that getting this in-between what seems like reasonable dates in the log file shown is strange. Makes me wonder if the O.P. filtered the log shown. |
Beta Was this translation helpful? Give feedback.
-
I have this too, is it possible to remove this lines from the log to get the graph to a resonabnle scale again? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Problem
After reboot some times it`s detects time as 1970-01-01
Can you stop posting this to log?
2025-06-03T09:13:34+0300,main,0264.342,264.342,264.342,0.000000,0.000,no error,0.0,2.0,6.0,4.0,3.0,4.0,2.2
2025-06-03T09:18:34+0300,main,0264.342,264.342,264.342,0.000000,0.000,no error,0.0,2.0,6.0,4.0,3.0,4.0,2.2
1970-01-01T02:00:36+0200,main,1554.N0N,,264.3420,,0.000,Rate too high - Read: 1554.302 - Pre: 264.342 - Rate: 1289.960,1.3,5.4,4.8,4.6,-1.0,0.6,-1.0
2025-06-03T09:32:16+0300,main,0264.342,264.342,264.342,0.000000,0.000,no error,0.0,2.0,6.0,4.0,3.0,4.0,2.4
2025-06-03T09:37:16+0300,main,0264.342,264.342,264.342,0.000000,0.000,no error,0.0,2.1,6.0,4.0,3.0,4.0,2.3
Version
Release: v16.0.0 (Commit: f542d84)
Logfile
Expected Behavior
Screenshots
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions