Temps suddenly 0 F

Wim, after loading the updated files this morning I noticed that my min temperature was showing a 0 for all fields, but didn’t see anything in my chartsmydata files.

I have no idea. Do not understand this how this can happen.
I made this is separate topic to attract more attention, maybe this happened to others also.

Could you please update the history with more correct values? Use pwsWD/PWS_hist_update.php?pw=12345 (replace 12345 with your password)
Then we can see if it get these values again replaced with zero temp.
The time of 00:02 agrees with the low-temp-time in your current upload.

Wim

Wim, I updated the values and we’ll see how it goes. Thanks!!

Wim, it happened again this morning. Could it have something t do when my cron jobs run? My add to year runs at 23:55 and my empty runs at 00:05.

It can not be those crons as the are empty scripts. They do nothing.
https://belcampmdweather.tech/pwsWD/PWS_cron_empty.php?sce=view
https://belcampmdweather.tech/pwsWD/PWS_cron_addtoyear.php?sce=view
The return only Script not used anymore, adapt your cron-server settings to remove this script

The time is again set at 00:02, both for highest and lowest temp, highest humidity a.s.o.
↑ 35.6 (00:02)
↓ 0.0 (00:02)
↑ 99 (00:02)

Also the pressure is set to zero.
All these things should not happen.
I checked your https://belcampmdweather.tech/pwsWD/PWS_cron_stationcron.php?sce=view it is the latest version.
It skips all measurements between 23:55 and 00:02 line 41-42 and check line 99
Valid baro check at line 131

Can you please check carefully which scripts are run by the cron-server.
Only let the cron-stationcron run

Check the time setting of the Weewx computer. Sometimes one forgets to set it to the correct time.
There never should be a 00:02 time in the history, but it is.

Wim

Wim, I now only have the cron_stationcron running every 5 minutes. I removed the other 2 crons this morning. I checked my Acurite display and Raspberry Pi and they are both at the correct time. This only started happening after I updated the files on 1/26/21 which added the new min-max temp and wind blocks.

Blocks have no effect on the station-cron. There were more scripts modified in that update.

I can see in your history file that the rollover is at 23:55. Scroll down to the bottom of this
https://belcampmdweather.tech/pwsWD/PWS_listfile.php?file=_my_settings/history.txt&type=arr

    [last_roll_over] => 1611723301
    [last_roll_over2] => 2021-01-26T23:55:01-05:00

But the time in the history for the null values is 00:02
There is something i do not see which causes this.

Do not forget to change the line 42 in station cron from

$no_data_before         = 0005; // Same before

to

$no_data_before         = 0015; // Same before

Also do not modify the history if there are zero values again.

But if you have a better idea, please tell me. I am more then willing to help.

Wim

Thanks, Wim I edited the file and we will see how it looks tomorrow. I also won’t change the values.

Today all values seem correct.
No zero values at 00:02.
The roll-over last night at 23:55 is OK also.

Wim

Wim, thanks, it looks good. Do you think it was the edit of the station cron?

Just wait and see. I suspect that the frist upload of the day could contain invalid data. It was consistent with the time 00:02 every day.
Now we have a wider range of not accepted uploads until 00:15.

If it is Ok for a few days, I need to change it for 1 day back to 00:05 and save the first few uploads with data to a log.
I was comparing the value for pressure with 0 (zero) but i think the invalid fields contained the string NULL
If so i have to adapt the cron script.

Wim

Great thanks again for all of your help!!

Wim, it’s been working well the last few days. Do you want me to switch the station cron back to 00:05 yet?

I need to make a special version which will log all data between 23:50 => 00:15.
I will post it tomorrow, i hope.

Wim

Okay, no rush. Thanks!!

Wim, I updated my files yesterday and the zeros came back on the temperature side. Let me know when I can correct the values and if I should change the station_cron again. Thanks!

You already described the solution.

My brain is not that good in having multiple problems on multiple forums in different languages…

@ALL If you modify a script for your specific situation, set the release number at |09|
Then you get an extra reminder as the list shows check and not update when looking for updates.

User specific solutions are never copied to the updates.
F.i. most weather-programs do not give a (min-) temp of 0-degreesFahrenheit first upload of the day.
So blocking all updates until 00:15 is only necessary with some sites. Not all

Wim

Wim, I was just checking with you before I made the changes since the last time you told me not to make any changes before you have a chance to look at it. I’ll just edit the file and values. Thanks!

I know now , sorry :oops:
Your post started on top of a new page.
Got an e-mail also about this with your link to your website as one of three examples of the problem.
I thought this was a new topic.

Would be helpful if you could include a link to your site in your profile. F.i. In the bottom below each message.
Wim

Hi Wim
First of all thank you sooooo much for all your fantastic work in updating and improving this “beauty”! :slight_smile:

I decided to try the last version, without updating from the previous, so I made a new install 2 days ago. Everything is perfect and you made it in such a way that installation could not be easier even for dummies like me!

However, I am having the same problem as described here in this topic, as min temperature value for yesterday is recorded as zero. To make things more confusing, graphs show correct values and no zero!
The odd thing here is that, as picture 1 shows, it says that min temp today was recorded at 23:59 (of yesterday?)

Also, when I run the editor (picture 2 ) time shows 11:59 instead of 23:59. Does the editor show AM-PM times or should it show 24h times?

Am I doing something wrong?
Thanks.

https://meteolitoral.com/pwsWD