Docs
/
Installation
/

Time Synchronization

Time Synchronization

We strongly recommend keeping the host clock synchronized with NTP (Network Time Protocol). Koios timestamps every device read, model prediction, event, and historical sample using the host clock, so a well-synchronized clock keeps your trends, model history, and event timelines aligned with reality. Koios runs fine without it, but accurate time makes the data far more trustworthy and easier to compare against other systems.

What Synchronized Time Gives You

AreaBenefit
On-host accuracyTime-series data is written with correct timestamps, so trends, model history, and event timelines line up with reality.
UI freshnessThe UI compares its clock against the server clock. Large drift can trigger a warning on the System Overview page and make "live" values look stale or future-dated.
Cross-system comparisonComparing Koios timestamps against PLC, SCADA, or third-party historians stays reliable when both sides share accurate time.

Check and Enable It

Ubuntu enables systemd-timesyncd automatically on a clean install. Verify it is running and synchronized:

timedatectl status

The output should show System clock synchronized: yes and NTP service: active. If it isn't, enable it:

sudo timedatectl set-ntp true

For air-gapped sites, point the host at an internal NTP server by editing /etc/systemd/timesyncd.conf:

[Time]
NTP=ntp.internal.example.com
FallbackNTP=ntp.ubuntu.com

Then restart the service:

sudo systemctl restart systemd-timesyncd

What's Next