Hi all
I was having a problem with the red tick always showing in the stat status for my PWS Dashboard, so i deleted the status.arr file and now its not being re created for some reason.
The station cron job is running every 5 mins and all PWS Dashboard is updating using the ecowitt upload.
Any ideas how to get the file recreated?
Hi swright1957
Took some time to investigate as you have modified some scripts. Thanks for setting the version to |09| that warned me to check your modifications.
In easyweather_setup you probably switched off the cron-job check.
Tab “Other” setting “check_cron”
→ Show warning mark for outdated history a.s.o.
--------> answer “Do not use this” or “Yes, we do”
The clue is in the ‘a.s.o.’ which in my Dutch to English translation means “and so on”
When you set this to “Do not use this”
→ no statuses are saved to disk
Therefor only the available statuses are shown if you force the pop-up
Please test with “Yes, we do” and the file should be created again.
Probably you can set it off later on, but you loose some debug information.
Wim
Hi Wim
I turned it off as it was always showing red, but have now turned back on , so will see how it goes.
Thanks as always for your help
File is written now, seems OK to me, now I have to find the cause of the red !
That red ! comes from an old darksky setting.
Maybe you did not remove the DarkSky api setting, please check
<span class="PWS_round" id="statuses">
<span class="PWS_round" style="background-color: red; color: black; "> ! </span>
<!-- $key=METAR-EGMD $age=125 $allow=600 -->
<!-- $key=Darksky $age=1217234 $allow=900 -->
<!-- $key=Aeris_hourly $age=125 $allow=600 -->
<!-- $key=Earthquakes $age=125 $allow=600 -->
<!-- $key=Aeris_ccn $age=435 $allow=600 -->
<!-- $key=AQ-Luftdaten $age=0 $allow=200 -->
</span>
</span>
PWS_load_files.php (507) Darksky_______: time spent: 0.0672 -
CURL OK for https://www.hytheweather.co.uk/PWS_Dark_Pirate.php?lang=en-uk
PWS_load_files.php (517) Darksky_______: time spent: 0.0672 -
empty data or wrong file permissions for https://www.hytheweather.co.uk/PWS_Dark_Pirate.php?lang=en-uk
Old data will be used /homepages/15/d921264875/htdocs/jsondata/darksky-en.txtrnm
The contents of pirate ./jsondata/pirate_uk2_en.json
Filetime: 2024-07-17 15:56:31 UTC => Age 1 minutes 49 seconds
{
“message”:“Invalid authentication credentials”
}
Adept the settings for DarkSky, delete the status.arr and the red ! should be gone.
Wim
Yes you were right Wim, changed and all now fine again.