Replies: 1 comment 2 replies
|
Hi, indeed, time is important. Generally, we have those fallbacks in place. A node with a GPS (i.e. Stratum 1 level) is considered more reliable than NTP, NTP is considered more reliable than Mesh time, and Mesh time is considered a source for an unconfigured device. You can see the priority list at: There are also a few little tweaks for devices that have dedicated RTC modules. So, you are helping to make mesh time better :) |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
With 2.7's new UI, almost every node will soon be more useful standalone and will have a very large and noticeable clock "app", so setting an accurate time is more important than ever.
Nodes with NTP configured should broadcast a time/date signal every few minutes for the benefit of other nodes on the mesh that don't have their own local clock source. The signal includes the current timestamp and the NTP stratum the mesh node is at (ranging from 2-16, basically one higher than the NTP server the node set its time from).
If a node receives conflicting time signals, it can use info like distance/hop count and the stratum sent in the time signal to determine which node likely has the most accurate time: the closest and lowest-strata node is probably the most accurate. Time signals could use a weighted average where farther or higher-strata nodes are given less weight.
I have a fixed router node at my house on a hill. It has WiFi enabled. I also have a Stratum 1 NTP server in my basement. That is basically the most accurate and reliable clock signal you can easily obtain. It would be great if my node could use that high-quality signal to make the local mesh better.
NTP stands for Network Time Protocol, so we could call this protocol MTP: Meshtastic Time Protocol.
All reactions