TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do IoT devices sync in real time with the cloud?

2 pointsby rreichel03over 5 years ago

3 comments

disabledover 5 years ago
You sync to the NIST time servers (sample code available via linked page) via a cron job that invokes the script, whenever the IoT device is rebooted.<p>1. NIST Time Server Page: <a href="https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;services&#x2F;internet-time-service-its" rel="nofollow">https:&#x2F;&#x2F;www.nist.gov&#x2F;pml&#x2F;time-and-frequency-division&#x2F;service...</a><p>2. Crontab @reboot function: <a href="https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;708149&#x2F;how-to-use-reboot-in-etc-cron-d" rel="nofollow">https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;708149&#x2F;how-to-use-reboot-in-...</a><p>Make sure to always cite your references by comments. This is useful in case parts of your code become unintentionally obsolete. This also helps you and others proofread your work.
davismwflover 5 years ago
Depends on the device type, location and needs.<p>As for what most use to connect, WiFi, Cellular service and Satellite technologies are common. In my experience satellite is reserved for burst or alert type data given the low bandwidth and costs when it comes to IoT devices.
spartan7500over 5 years ago
Depending on the device, it is not different from a computer when it comes to cloud syncing.<p>There are Linux distros focused on IoT devices, so imagine a compact version of Linux connecting to a cloud service.