I've done some code searching. Please tell me if I'm right:

   - on startup do_sync() is called
   - in do_sync() is a call to getTime()
   - getTime() returns the GETTIME answer
   - if the difference to system time is greater than max_drift (5sec) then 
   a setTime() -> SETTIME sequence is started

So a datetime library for ardunio/feather which is set by SETTIME should do 
the trick. 

Please tell me: Is do_sync() after every conection loss between weewx and 
the console?

Thanks, Gustl

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to