A system for synchronizing a mesh network the system comprising: a plurality of interconnected nodes forming a mesh network, wherein the nodes are each associated with a respective clock value, and wherein a first subset of the plurality of nodes is arranged to sense and transmit, over the mesh network, ambient temperature values associated with the nodes of the first subset; and at least one back-end unit arranged to: receive, over the mesh network, the ambient temperature values associated with the nodes of the first subset; calculate, for a second subset of the plurality of nodes which includes at least some nodes of the first subset, respective ambient-related clock drift values between each respective two nodes of the second subset, based on the ambient temperature values associated with the nodes of the first subset and an inter-node data indicating inter-node relationship between the nodes of the first subset and the nodes of the second subset, wherein each node in the second subset of the plurality of nodes are subjected to the same ambient temperature as a node of the first subset of the plurality of nodes; and transmit the respective ambient-related clock drift values, over the mesh network, to the nodes of the second subset, wherein the nodes of the second subset are arranged to determine ambient-related time offset values between each respective two nodes of the second subset, based on the respective nodes' ambient-related clock drift values. a plurality of interconnected nodes forming a mesh network, wherein the nodes are each associated with a respective clock value, and wherein a first subset of the plurality of nodes is arranged to sense and transmit, over the mesh network, ambient temperature values associated with the nodes of the first subset; and at least one back-end unit arranged to: receive, over the mesh network, the ambient temperature values associated with the nodes of the first subset; calculate, for a second subset of the plurality of nodes which includes at least some nodes of the first subset, respective ambient-related clock drift values between each respective two nodes of the second subset, based on the ambient temperature values associated with the nodes of the first subset and an inter-node data indicating inter-node relationship between the nodes of the first subset and the nodes of the second subset, wherein each node in the second subset of the plurality of nodes are subjected to the same ambient temperature as a node of the first subset of the plurality of nodes; and transmit the respective ambient-related clock drift values, over the mesh network, to the nodes of the second subset, receive, over the mesh network, the ambient temperature values associated with the nodes of the first subset; calculate, for a second subset of the plurality of nodes which includes at least some nodes of the first subset, respective ambient-related clock drift values between each respective two nodes of the second subset, based on the ambient temperature values associated with the nodes of the first subset and an inter-node data indicating inter-node relationship between the nodes of the first subset and the nodes of the second subset, wherein each node in the second subset of the plurality of nodes are subjected to the same ambient temperature as a node of the first subset of the plurality of nodes; and transmit the respective ambient-related clock drift values, over the mesh network, to the nodes of the second subset, wherein the nodes of the second subset are arranged to determine ambient-related time offset values between each respective two nodes of the second subset, based on the respective nodes' ambient-related clock drift values.