rain check over midnight
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
rain check over midnight
Hi all,
If I have rain just before midnight and stopped before midnight,
the value is carried over to the next day, at 00:00 and counter is reset at 00:05.
causing my rainvalues to increase faulty.
The built in rain check (data editing) tool should fix this, but seems not be working anymore.
Any ideas?
Grtz
a
If I have rain just before midnight and stopped before midnight,
the value is carried over to the next day, at 00:00 and counter is reset at 00:05.
causing my rainvalues to increase faulty.
The built in rain check (data editing) tool should fix this, but seems not be working anymore.
Any ideas?
Grtz
a
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: rain check over midnight
Yes, I know, it happens to me too.
I wasn't able to fix it ( I think it is due to some strange conditions but could not find the cause ).
Had recorded last few months data, should check to see if I can find the issue.
I wasn't able to fix it ( I think it is due to some strange conditions but could not find the cause ).
Had recorded last few months data, should check to see if I can find the issue.
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: rain check over midnight
I think the issue has something to do with rain accumulation not having the right time,
i notices several times taht at midnight rollover the rain is 1 hour off.
maybe to do with UT and CET time?
I added some screenshots.
Since it rains a lot these days, I have this issue every day.
i notices several times taht at midnight rollover the rain is 1 hour off.
maybe to do with UT and CET time?
I added some screenshots.
Since it rains a lot these days, I have this issue every day.
- Attachments
-
- Schermafbeelding 2023-11-20 175405.png (65.26 KiB) Viewed 9109 times
-
- Schermafbeelding 2023-11-20 175241.png (58.74 KiB) Viewed 9109 times
-
- Schermafbeelding 2023-11-20 174638.png (78.64 KiB) Viewed 9109 times
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: rain check over midnight
and now from MT
- Attachments
-
- Schermafbeelding 2023-11-20 175623.png (195.93 KiB) Viewed 9109 times
-
- Schermafbeelding 2023-11-20 175549.png (138.77 KiB) Viewed 9109 times
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: rain check over midnight
I checked my logs and my database,
I had the same problem for rain and lightning ( since my detector counts a lot of false positives I had the problem every day ).
Since I installed my api.php version 3.4 (30 September 2022 ) my problems are gone.
Now I'm on ver 3.6a and everything is still ok.
My sites are on meteotemplate 18.0 ( with some mods for php 8 compatibility ) and php 8.0-8.2.
Still not tested on meteotemplate 19.0 ( but it should be ok too ).
As you say the problem should be connected to some 'race condition' and different timestamps between server an weather station.
In my api scripts I added a logging option ( to be able to reconstruct what is going wrong ), is the $logGetPost near line 66.
I had the same problem for rain and lightning ( since my detector counts a lot of false positives I had the problem every day ).
Since I installed my api.php version 3.4 (30 September 2022 ) my problems are gone.
Now I'm on ver 3.6a and everything is still ok.
My sites are on meteotemplate 18.0 ( with some mods for php 8 compatibility ) and php 8.0-8.2.
Still not tested on meteotemplate 19.0 ( but it should be ok too ).
As you say the problem should be connected to some 'race condition' and different timestamps between server an weather station.
In my api scripts I added a logging option ( to be able to reconstruct what is going wrong ), is the $logGetPost near line 66.
- Attachments
-
- api_3.4_3.6a.zip
- (38.02 KiB) Downloaded 555 times
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: rain check over midnight
thank you very much Davis!
uploaded 3.6 and set the logging to 1.
keep you posted!!!
nice work!!!!
uploaded 3.6 and set the logging to 1.
keep you posted!!!
nice work!!!!
-
alexvanuxem
- Forecaster

- Posts: 212
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
-
javigar66
- Observer

- Posts: 10
- Joined: Mon Aug 21, 2017 12:14 pm
- Location: Carlet
- Station model: Davis Vantage Pro II
- Software: Weather Display
- Contact:
Re: rain check over midnight
Thank you very much Davideta. I installed your version 3.6a a few weeks ago and it finally rained two days ago and I was able to test that it works perfectly. For years I almost always had to manually delete the first rain record of the next day and with your version everything is now back to normal.
-
milesb
- Observer

- Posts: 49
- Joined: Tue Mar 26, 2019 10:38 pm
- Location: Asheville, NC
- Station model: Davis Vantage Pro2
- Software: Weather Display
- Contact:
Re: rain check over midnight
I have had an issue with rain carry over since at least 2019, and raised the issue with Jachym. He allowed that other users also have had the issue, and suspected timing issues with the API and the software sending the information. In my case, Weather Display. At the time, he did not have a solution.
His recommendation was to use Control Panel > Bulk DB Edit > Check and Fix Rain. This is easy enough, and I didn't have to run it very often.
I am not sure if it has worked under 19, but now if I do that, it never returns a completion, nor does it fix any carry over rain.
I have also tried to manually editing the database in control panel, which has also worked in the past. Now it does not change the entry when I edit rain total for the 00:00:00 entry, but it appears to, until I refresh the screen.
Now when I have rain carry over I need to log into my hosting interface, and edit the database entry with phpMyAdmin.
His recommendation was to use Control Panel > Bulk DB Edit > Check and Fix Rain. This is easy enough, and I didn't have to run it very often.
I am not sure if it has worked under 19, but now if I do that, it never returns a completion, nor does it fix any carry over rain.
I have also tried to manually editing the database in control panel, which has also worked in the past. Now it does not change the entry when I edit rain total for the 00:00:00 entry, but it appears to, until I refresh the screen.
Now when I have rain carry over I need to log into my hosting interface, and edit the database entry with phpMyAdmin.