CopterExpress / clever-show

Software for making the drone show with 🍀
GNU General Public License v3.0
76 stars 42 forks source link

Chrony doesn't synchronize time if the copter was turned on before wifi router. #32

Closed goldarte closed 4 years ago

goldarte commented 5 years ago

Need to add a watchdog on server/client to restart time synchronization if time is not synchronized with server.

goldarte commented 5 years ago

I suggest checking ip address and restarting chrony on client if returned time in preflight check doesn't synchronized with server

goldarte commented 4 years ago

Need to send repair chrony command sometimes, even if copter started after server and router was turned on.

goldarte commented 4 years ago

There are two reasons of chrony crashes: 1) Server has changed the network and chrony server service has stucked - in this case user must manually restart chrony service on the server and then on the clients. 2) Server has been connected to the network after clients - in this case synchronization can be repaired by restarting chrony service only on the clients

goldarte commented 4 years ago

Added Selected drones -> Restart service -> chrony menu action in v0.4 server app, which restart services on server and on all selected clients