Now it works ! 
Thanks!

Am Samstag, 26. November 2016 16:09:52 UTC+1 schrieb Tom Keffer:
>
> ​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.
>

The example in de Dekay lib includes a RTC based on DS3231 which AFAIK is 
on the montino board. If one uses this board the worst that could hapen is 
that RTC is not set correct. But there is a command SETTIME which could be 
used to correct the RTC. Does Davis support SETTIME too?

If one uses a board without RTC the example code will stop with an error - 
as it was with me. My first try was to remove the RTC and GET-/SETTIME from 
code. 

I can think of these situations:

   - GETTIME responds a time within certain limits -> everthing is ok
   - GETTIME responds a time outside certain limits -> use SETTIME and try 
   GETTIME again, or return datetime.now()
   - GETTIME has no responds -> return datetime.now()  

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