Amount of rain multiplied by 2, 3 ...

56 views
Skip to first unread message

Jlou 43

unread,
Jul 27, 2019, 4:23:38 AM7/27/19
to weewx-user
I use weewx version 3.5.0 on a raspberry pi3 and I have a problem with the amount of rain: when weewx restarts or when the raspberry restarts, I do not know too much, the amount of rain is multiplied by 2, by 3 ...

Do you have any idea where this may come from?

Thank you.

Andrew Milner

unread,
Jul 27, 2019, 6:03:44 AM7/27/19
to weewx-user
is there any information in the log when you restart?

what kind of station?

which amount of rain is wrong - today, this week, this month, this year??

what is recorded in the database?

usually the answer to problems can be found in the log and the log is always the first place to look.

when weewx starts up it tries to retrieve data from the weather station between the last recorded archive record and the current time - so the time on the station AND ON THE PI must be correct.  If you are using the fake hardware clock you are probably asking for trouble.  Weewx should not be started until the rpi has got the correct time set.  Later versions of weewx are pretty good at this - but the issue is only really resolved by having an RTC installed.

Sorry to waffle on a lot - start with looking at the log.

Jlou 43

unread,
Jul 29, 2019, 4:12:11 PM7/29/19
to weewx-user
Hello and thanks for your help.

I use weewx with a VP2 station, for the moment the month of July is correct, and from the beginning until November 2016, for the rest we have 4 times more rain ... We installed a circuit DS3231 (RTC ). I tried to update weewx, unsuccessfully for now (he replied that I already have the latest version installed when I type "sudo apt-get install weewx" under raspbian.

I attach the syslog file when I restarted the pi3
syslog

Andrew Milner

unread,
Jul 29, 2019, 10:12:37 PM7/29/19
to weewx-user
so are you saying that during this restart there was not a problem??  If so then the log is not much use and explains why everything looks OK apart from the fact that the report generator is reporting it cannot find the RSYNC.conf file.

There is so much other stuff in your log I would recommend putting weewx log messages into a seperate file.  See the wiki for how to put weewx messages in a seperate file and logrotate to compress/save the log files.

What is needed is a log from startup of when the rain goes wrong on a restart.
Reply all
Reply to author
Forward
0 new messages