The synchronization will not work properly if the devices clocks are wrong. Small inaccuracies do not matter.
The synchronization will not work properly if the devices clocks are wrong. Small inaccuracies do not matter.
Each message is time stamped. A message can reach the server many hours after it was actually written to the local db. The server checks the timestamp to decide whether to replace the existing data or not. The newer data is kept.
OK Erel I understand. Thanks for your help it works fine now on my PC I am having problems getting it to work on the Raspberry pi but I will start a new thread if I cannot solve them.
Dave.