Just my 2 Cent as the thread opener:
I solved my problem by removing the batteries from my Vantage Pro2 and
having just the powercord. Do not ask my why this solved it …
On 28 May 2019, at 17:15, Andrew Milner wrote:
I would recommend you doing the CORRECT solution and installing an RTC
on
your Pi zero. Weewx relies HEAVILY on accurate time synchronisation
between weather station and controlling PC - so ensuring your pi
EITHER has
an RTC onboard OR prevents weewx starting until time has been
synchronised
is ESSENTIAL for correct operation.
There are many many users of weewx with Davis stations, and many many
of us
with various models of RPi. There are also many instances of logger
corruptions and other anomolies.. so fudging the driver for one
situation
may open a can of worms in another situation - you have been
warned!!!!!
On Tuesday, 28 May 2019 18:00:09 UTC+3, John wrote:
so looking at the vantage driver it seems that if the weewx host
(raspberry pi zero without a RTC) has an incorrect time like after a
restart and syncs it's bad (early) time with the vantage console,
then
records being added to the vantage console will have an earlier
timestamp
than existing records. when weewx goes to read the records and finds
a
"decreasing timestamp" it stops reading more records. manually
clearing all
the records AND setting the correct time is a solution.
I propose changing the vantage driver to avert setting the console
time,
during a routine sync, earlier than the last record in the console.
This
should prevent weewx from adjusting the console time until the weewx
host
has had an opportunity to successfully acquire the time from an
external
source (ntp server). I suppose setting the console to a future time
could
cause a problem, preventing weewx from correcting the console time
without
first clearing the last (errant) record.
--
You received this message because you are subscribed to a topic in the
Google Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/UM-q_RNK_Ps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/32f79d61-7d81-4bc0-adab-6d1ad66de99c%40googlegroups.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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/2D60CD0D-A875-4959-8D80-D83DEA6A2C0C%40giessler.de.
For more options, visit https://groups.google.com/d/optout.