Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plausibility check for the date? #3440

Closed
gitpower2017 opened this issue Dec 16, 2024 · 3 comments
Closed

Plausibility check for the date? #3440

gitpower2017 opened this issue Dec 16, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@gitpower2017
Copy link

The Feature

Plausibility check for the date?

I now had the problem that a single entry was from 1970. This makes the diagram look very strange.
Is there a feature that checks whether the data set matches the previous one? (Timestamp)
There is a flag for the maximum delta water length.

Datums_Error

@gitpower2017 gitpower2017 added the enhancement New feature or request label Dec 16, 2024
@caco3
Copy link
Collaborator

caco3 commented Dec 16, 2024

The date of 01.01.1970 is the fallback date if NTP is disabled or no NTP server can be reached. After a cold start (but not on a reboot), the ESP does not yet have any date/time information, thus must fallback to the fall back date/time.

Please check the log of the device. Did you have a power cycle?
If you transmit the data with MQTT or to InfluxDB or so, this should not be an issue.

@caco3 caco3 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
@gitpower2017
Copy link
Author

I was already aware that this date is set after a cold start of Linux systems and that the NTP has not yet set a current date. It makes sense to mark this entry as ERROR if the previous date is more recent.
Perhaps a plausibility check will be added after all.

@caco3
Copy link
Collaborator

caco3 commented Dec 17, 2024

This has nothing to with Linux. It is n issue of any system without a RTC (Real time Clock) which would keep the clock running even if the device is switched off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants