My pi does not have a real clock. I did not remove the fake hardware clock, 
nor did I configure NTP, as I thought it was already included in Raspbian. 
Indeed, when I type "date" on the Linux command prompt, the current exact 
date is returned. But I will in any case check these points.

The database is in fact empty. I installed sqlite on the pi, I have zero 
records in the archive table. Weewx rejects systematically all the history 
records that come from the weather station...

Patrick 

On Wednesday, April 26, 2017 at 7:28:50 AM UTC+2, mwall wrote:
>
> On Tuesday, April 25, 2017 at 8:38:50 AM UTC-4, Patrick J wrote:
>>
>> After a while, there is no more output from weewx, but in the log I can 
>> see this type of lines: "wmr200: MainThread: I genStartup() Discarding 
>> received archive record exceeding archive interval cnt:10 threshold:604800 
>> timestamp:2017-04-22 11:07:27 UTC (1492859247)".
>>
>> It seems that it has now reached the records corresponding to my usage, 
>> but it is discarding them... What should I do to get things right?
>>
>
> does your pi have a real clock on it?  (you would have to have added it 
> one - they do not come with a clock)
>
> did you remove the fake hardware clock software?
>
> is the pi configured to use ntp?
>
> your weewx database is probably full of data with wonky timestamps.  you 
> can start over by doing this:
>
> 1) stop weewx
>     sudo /etc/init.d/weewx stop
>
> 2) move the database aside
>     sudo mv /home/weewx/archive/weewx.sdb /home/weewx/archive/weewx.sdb.bak
>
> 3) start weewx
>     sudo /etc/init.d/weewx start
>
> it could take awhile to read all of the records from the wmr200 logger, so 
> be patient and watch the log.
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to