Sorry. I should have looked up the call instead of guessing. The correct
call would be

datetime.datetime.now()



>  When there is no GETTIME answer it ends in syslog.syslog(...) correct?
> Then it should return a datetime contruct for the "now" date and time.
> Wouldn't that be a solution that covers Davis and 3rd party connectors?
>

​As I understand it, the problem is not that there is no answer to GETTIME,
but that the Dekay library responds with the wrong time.

I suppose one could detect this by setting a limit to how far off the time
can be. If GETTIME returns a really out-of-date answer, then time.time() is
substituted.

-tk​

-- 
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