This has been my solution as well: a real-time clock, plus a UPS.

But, if the power outage is severe enough to drain the UPS battery, my
setup still recovers. At least, the last time that happened (about a year
ago).

-tk

On Wed, Oct 16, 2019 at 8:14 AM David VE3STI <david.beac...@gmail.com>
wrote:

> I had somewhat similar issues - WeeWX couldn't read from the Vantage Vue
> after boot up. I needed to do the "memory clear" command then all was well.
> However, it was a giant pain if I was away/busy/etc and not available to
> run the command. I thought that it should be possible to "fix" this issue
> in software but my feeble efforts failed. I installed a RTC. That didn't
> fix it either so I gave up and now use a UPS to run the RPi. As long as my
> RPi never reboots, I'm OK.
>
> I don't have much to contribute but I'll watch from the sidelines. I'd
> love to see where this leads.
>
> David Beach
>
> On Wednesday, 16 October 2019 07:40:59 UTC-4, Thomas Keffer wrote:
>>
>> This is likely a case of memory corruption, brought on by time not being
>> synced during the reboot, due to the lack of an on-board clock. It was not
>> a problem with Weatherlink because you were not running it on an RPi.
>>
>> See the section *WeeWX generated HTML pages, but does not update them
>> <http://weewx.com/docs/usersguide.htm#html_generated_but_not_updated>* in
>> the User's Guide.
>>
>> But, as Andrew suggested, we would have to see the log from startup to be
>> sure.
>>
>> -tk
>>
>> On Wed, Oct 16, 2019 at 4:04 AM Andrew Milner <andrew....@gmail.com>
>> wrote:
>>
>>> what came just before the log you posted?  why is weewx attempting to do
>>> a catchup? had weewx just been started?  had communications been lost for
>>> some reason? We need to know what is causing weewx to attempt a catchup in
>>> the first place.  You can never post too much log!!!!
>>>
>>>
>>>
>>>
>>> On Wednesday, 16 October 2019 13:52:51 UTC+3, Andrea Cecilia wrote:
>>>>
>>>> here it is. As you can see, there is no "added record [...] to
>>>> weewx.sdb" line, which indicates that it is not downloading data from the
>>>> datalogger, and the reson (I think) is explained in the highlighted line.
>>>>
>>>> Oct 16 10:30:14 raspberrypi weewx-vp2[511]: vantage: Getting archive
>>>> packets since 2019-10-16 09:05:00 CEST (1571209500)
>>>> Oct 16 10:30:14 raspberrypi weewx-vp2[511]: vantage: Gentle wake up of
>>>> console successful
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: vantage: Retrieving 5 page(
>>>> s); starting index= 4
>>>> *Oct 16 10:30:15 raspberrypi weewx-vp2[511]: vantage: DMPAFT complete:
>>>> page timestamp 2019-10-15 13:20:00 CEST (1571138400) less than final
>>>> timestamp 2019-10-16 09:05:00 CEST (1571209500)*
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: vantage: Catch up complete.
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: reportengine: Running
>>>> reports for latest time in the database.
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: vantage: Requesting 200
>>>> LOOP packets.
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: reportengine: Running
>>>> report 'StandardReport'
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: vantage: Gentle wake up of
>>>> console successful
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: reportengine: Found
>>>> configuration file /home/weewx/skins/Standard/skin.conf for report
>>>> 'StandardReport'
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: cheetahgenerator: using
>>>> search list ['weewx.cheetahgenerator.Almanac',
>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', '
>>>> weewx.ch
>>>> eetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
>>>> 'weewx.cheetahgenerator.Extras']
>>>> Oct 16 10:30:15 raspberrypi weewx-vp2[511]: manager: Daily summary
>>>> version is 2.0
>>>> Oct 16 10:30:17 raspberrypi weewx-vp2[511]: cheetahgenerator: Generated
>>>> 16 files for report StandardReport in 2.31 seconds
>>>> Oct 16 10:30:17 raspberrypi weewx-vp2[511]: manager: Daily summary
>>>> version is 2.0
>>>> Oct 16 10:30:18 raspberrypi weewx-vp2[511]: imagegenerator: Generated
>>>> 15 images for StandardReport in 1.36 seconds
>>>> Oct 16 10:30:18 raspberrypi weewx-vp2[511]: copygenerator: copied 0
>>>> files to /home/weewx/public_html/vp2
>>>> Oct 16 10:30:18 raspberrypi weewx-vp2[511]: reportengine: Running
>>>> report 'FTP'
>>>> Oct 16 10:30:19 raspberrypi weewx-vp2[511]: reportengine: Found
>>>> configuration file /home/weewx/skins/Ftp/skin.conf for report 'FTP'
>>>> Oct 16 10:30:19 raspberrypi weewx-vp2[511]: ftpupload: Attempting
>>>> connection to ftp.meteoregionelazio.it
>>>> Oct 16 10:30:19 raspberrypi weewx-vp2[511]: ftpupload: Connected to ftp
>>>> .meteoregionelazio.it
>>>> Oct 16 10:30:19 raspberrypi weewx-vp2[511]: ftpupload: Uploaded file /
>>>> www.meteoregionelazio.it/stazioni/soriano/weewx/vp2/daypond.png
>>>>
>>>>
>>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/33dfe43a-f6d8-4131-b7d3-b5d4e8415b4d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/33dfe43a-f6d8-4131-b7d3-b5d4e8415b4d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/32bb9d0c-63eb-4610-a49f-7043b5f70375%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/32bb9d0c-63eb-4610-a49f-7043b5f70375%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEDmugqzv0dKg9-HZ4-e7n11Gu7Hkj_ik-TG3%2Bt6%2BEioEQ%40mail.gmail.com.

Reply via email to