Ok - many thanks for you advice.

Looking on amazon.co.uk could you recommend one of the RTCs listed there.
It needs to work with a Raspberry Pi 3

Again many thanks

John

On Wednesday, May 23, 2018 at 2:56:23 PM UTC+1, Andrew Milner wrote:
>
> Nearly all the software 'solutions' have a downside of one sort or 
> another.  Since you have an expensive weather station I truly do not see 
> the problem in spending another £8 on a clock for your computer.  I even 
> fit clocks to my pi-zeros because without a reliable clock the Pi is pretty 
> naff.
>
> You could always try and fiddle even more with the start up script - but 
> believe me th\t many many have been there before you.  The current weewx 
> solution will wait for a time to be within the past year I believe to get 
> around the totally stupid epoch zero times - but this does not work well 
> when the fake hardware clock on the pi is involved as the time could be 
> just an hour or so adrift.  If you disable hardware clock completely weewx 
> will wait for a time before starting - but other parts of your rpi system 
> will then be running with the epoch zero date/time. People have tried 
> waiting for NTP to be available - but that also has not been 100% reliable 
> - hence the current evolution in weewx.  Truly, the best and most foolproof 
> way is to fit a b....y clock and be done with it.  Unless you are a 
> masochist and want to spend the resy of your life chasing oddball issues …….
>
>
>
>
>
> On Wednesday, 23 May 2018 16:48:35 UTC+3, iss....@gmail.com wrote:
>>
>> I was hoping for a simple software solution like inserting a delay into 
>> the WeeWX startup routine to give the Pi time to Gert the correct time
>>
>>
>> John
>>
>> On Wednesday, May 23, 2018 at 2:25:45 PM UTC+1, Andrew Milner wrote:
>>>
>>> The simplest, easiest and best way is to get a RTC module for the RPi.  
>>> Cost is under £10.  Removes all the hassel of the RPi not having the 
>>> correct time.  weewx tries to wait for time to have been set as best it can.
>>>
>>> See the wiki for more information on running weewx with an RPi
>>> https://github.com/weewx/weewx/wiki/Raspberry-Pi
>>>
>>>
>>>
>>>
>>> On Wednesday, 23 May 2018 15:54:09 UTC+3, iss....@gmail.com wrote:
>>>>
>>>> I am running WeeWX on a Raspberry Pi 3 connected to a Vantage Pro2 
>>>> Station.
>>>>
>>>> If I power down the Pi, when I power it back up the time  on the 
>>>> Vantage Pro is incorrect and is set to the time the Pi was powered down.
>>>>
>>>> This, I assume, is due to the fact the Pi does not have a RTC and gets 
>>>> its time from the network.
>>>> I also assume that WeeWX is starting before the network is up.
>>>>
>>>> What is the best way to get the correct time to the Vantage 
>>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>>

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