Matthew, do you recall why the time-related functions were disabled?

-tk

On Thu, Feb 14, 2019 at 7:55 AM mwall <goo...@lancet.mit.edu> wrote:

>
>
> On Thursday, February 14, 2019 at 10:12:37 AM UTC-5, Steve2Q wrote:
>>
>> The only difference now is the console clock is no longer being corrected
>> as it was with version 11rc3.
>>
>
> that is because setting the time is disabled in v0.20 of the ultimeter
> driver.
>
> you can enable it by changing this:
>
>     def DISABLED_getTime(self):
>         return self.station.get_time()
>
>     def DISABLED_setTime(self):
>         self.station.set_time(int(time.time()))
>
> to this:
>
>     def getTime(self):
>         return self.station.get_time()
>
>     def setTime(self):
>         self.station.set_time(int(time.time()))
>
> m
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to