As told numerous times, I lost the complete setup and zip of the WU-history-reports scripts.
I did not have enough time to recreate the old downloads
I copied from my existing working sites and tested it on a fresh install with PHP 8.1.1
Attached a zipped folder with
The shortest readme ever, adapt your _my_settings/frames.php
Two folders
2.1 copy_into_pwsWD_folder Two scriprts you have to copy into your pwsWD/ folder
2.2 copy_besides_pwsWD_folder Contains 2 folders which you have to copy next to (not inside) the pwsWD folder
I will adapt the description for those users who copied all scripts into the root.
Probably I have to update the scripts a few times, sorry for that.
Sadly that is not possible today. It is on the to-do list.
The code used the old Leuven-Template “rules”, metric (Celsius) uses decimal-comma, imperial (Fahrenheit) uses decimal point.
It will all be decimal-point shortly as the PWS_Dashboard only uses decimal-point.
The reports and history scripts do not cache any data.
The reports and history scripts load their data from the script PWS_DailyHistory.php That script is not changed. That uses cache as before.
So there is no new / no extra or no changed location of cached data.
“ Notice : Undefined index: wind_degrees in /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php on line 1137
Warning : Cannot modify header information - headers already sent by (output started at /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_livedata.php:1137) in /var/www/vejret-balslev.dk/public_html/pwsWD/PWS_index2.php on line 101”
This error has no relation to reports or history scripts.
The PWS_livedata.php script processes your weather-station-data.
It seems the data from weatherlink . com is (or was) missing a sensor-value.
When I check the file, the data is there:
If the problem with wind_degrees missing occurs again, please make a copy of jsondata/wlcom.json, zip that copy and post it.
I can then check what fields are missing and adept the live-data-script.
I can’t seem to create a new post as a newbie. WU-Reports has not created any new entries since mid-December. However, the data can be viewed with WU-History.