Readings at the wrong time, refused for their time stamp, duplicated or missing, and charts with gaps or smoothed lines – causes and fixes.
This page helps when readings appear at the wrong time, disappear because of their time stamp, or when a chart shows gaps, flat lines or less detail than you expect. Most of these problems come from the device’s clock, from the form of the time stamp, or from how long windows are read.
Readings at the wrong time
Symptom
Cause
Fix
Readings are hours off
The device sends ts in local time
ts is milliseconds since 1970 in UTC. Send UTC, or send flat objects without ts and let Hermetry stamp the arrival time.
Readings are in 1970, or refused
The device sends ts in seconds
Multiply by 1,000, or leave ts out
Readings drift a little more every day
The device clock is not synchronised
Use NTP, or leave ts out
All readings of a batch have the same time
The device stamps the send time, not the measuring time
Stamp each record when it is measured
The Telemetry tab’s Updated time is old although the device reports
The device sends an old or fixed ts
Send the measuring time; check the clock after a battery change
Everything is stored in UTC. The console, dashboards and exports show times in the viewer’s time zone (set under My Profile). Two people in different zones see the same reading at different clock times.
Rule of thumb: send ts only when the device’s clock is synchronised. A device without a reliable clock should send flat objects.
Readings refused for their time
Code
When
Fix
bad_ts
ts is not an integer of epoch milliseconds
Fix the form
bad_ts
More than 10 minutes in the future when it arrives
Fix the clock. Administrators can change Future timestamp tolerance (minutes) (1 to 1,440) under Settings > Telemetry.
bad_ts
Older than Oldest accepted reading (days) (0 = any age, the default)
Expected when that setting is used to stop very old replays
too_old
Older than your retention class keeps raw readings
Cannot be changed by a setting. See the table below.
We use necessary cookies to run the site. With your permission we also use analytics and marketing cookies. You can change your choice at any time. Cookie policy