Update problems after June 18, 2021

Post only errors /problems with the updated scripts in this topic. And as always, add a link to the website.

“Important” changes since May 22:
meteoalarm.eu script will now load the old version, or one of the new versions. Setting inside the script.
Ecowitt receiving script will check if outside temp is invalid
“No daylight / 24 hour daylight” problems removed => changes in moon and sun scripts
The new “status” feature causes changes in the cron and an extra script.

============ zip 2021-05-23.zip contains all updates from May 23 till June 9. Contents of error topics below
Known problem: red exclamation mark for status despite all reporting as ok
Link: http://discourse.weather-watch.com/
Solution: Remove . . ./_my_settings/status.arr as it contains an old obsolete aurora file.
The statuses will be recreated without that file.

Known error: “Midnight sun” in sun-block while not in 24 hour daulight region
Link: http://discourse.weather-watch.com/
Solution: :oops: Corrected script http://discourse.weather-watch.com/

Known error: Missing colours small winspeed-block
Link: http://discourse.weather-watch.com/
Solution: http://discourse.weather-watch.com/

Known error: WU text forecast reports error, daily forecast OK
Link: http://discourse.weather-watch.com/
Solution: http://discourse.weather-watch.com/

Known problem: zip is missing updated script
Link: http://discourse.weather-watch.com/
Solution: Redone zips ,now included in latest version.

Known problem: Midnight sun problem in Yr.no pop-up
Link: http://discourse.weather-watch.com/
Solution: Script updated to not show any daylength

Known problem: Aurora data needs a new URL
Link: Auorora (KP-index) file missing ** Updated **
Solution: Script adapted

Known problem: Small blocks are not refreshed
Link: http://discourse.weather-watch.com
Solution: Re-added refresh for small blocks

============ 2021-June-19
New zip update contains all updated scripts to solve errors/problems listed above
Also
=> an update of the ecowitt receiving script.
=> removed typing error in EU-warning script

Wim

Made the latest updates today.
I just don’t understand the sun block.
What does “Midnight sun” mean, see screenshot?

greetings Arie
https://www.meteo24-culemborg.nl/pwsWD/index.php


Sorry for that error, one of the last “clean the code” changes was not tested in normal situations.
Midnight sun means no night-time, as on the north-pole at this moment.

Attached the corrected script, will be testing this tomorrow, my time.

Wim


sun_c_block.php.zip (5.62 KB)

Hi Wim,

Thanks for all the updates!

Not a big deal, but I did notice that I now have a UK flag at the bottom of the website next to my location. This should be a USA flag for my particular site.

Cheers!
Michael

Wim,

I installed the updates this morning and now seem to have a permanent red exclamation mark for status despite all reporting as ok (see attached).

-Chris


I believe the following problem has occurred in connection with the latest update:
There is no color indication for some values in Max wind / gust.

Mogens


On my website status is ok after installing all new files.
https://www.matar.be/pwsWD/

In the box of the sun under the heading ‘aurora’ it indicates ‘disconnected’. It is not due to the latest updates, it has been like this for a few days

For the prediction I am using WU. If I click on the word ‘texts’ it tells me ‘WU file not ready’ and does not load anything

https://www.meteocamporamoso.it/pwsWD/index.php

That flag is causes by your default selection in the . . ./_my_settings/languages.txt file.

#  $scrpt_vrsn_dt  = 'languages.txt|01|2020-12-16';  # release 2012_lts
#
#  key  | flag   |locale  |language file   |description setup/menu |countryFlag|wu locale |

en-uk   |uk.svg  |en-gb   |lang_en.txt     |English (United Kingdom)|          |en-GB|
#en-au   |aus.svg |en-au   |lang_en.txt     |English (Australia)    |	       |en-GB|
#en-ca   |us.svg  |en-ca   |lang_en.txt     |English (Canada)       |can.svg    |en-US|
#en-ie   |ire.svg |en-ie   |lang_en.txt     |English (Ireland)      | 	       |en-GB|
#en-nz   |nz.svg  |en-nz   |lang_en.txt     |English (New Zealand)  | 	       |en-GB|
#en-us   |us.svg  |en      |lang_en.txt     |English (United States)|  	       |en-US|

Set the en-uk line to comment and remove the comment-mark from the line with en-us
That ashould solve it.
If not => sent me a PM/mail with your “easyweathersettings”-password so I can check your settings.

Wim

Discussion and temporary solution: Auorora (KP-index) file missing ** Updated **

For the prediction I am using WU. If I click on the word 'texts' it tells me 'WU file not ready' and does not load anything https://www.meteocamporamoso.it/pwsWD/index.php
I can not reproduce it locally. I will look into this one later today.

Wim

Answered in the first post of this topic.
More info about the cause of this => Auorora (KP-index) file missing ** Updated **
Wim

Could not confirm this locally. But it
:oops: It is an error as it occurs also at other sites having problems
https://www.meteocamporamoso.it/pwsWD/index.php

Attached update script .

Wim


wind_c_small.php.zip (3.21 KB)

I can not reproduce it locally. I will look into this one later today.

Just did find the error. :oops: Please use adapted script.
Wim


fct_wu_popup_text.php.zip (2.91 KB)

Solved, thanks!

I am missing a file in the download zip, it is indicated as being changed, but is not offered, see screenshot.

Greetings,
Arie


Added a small extra update to solve this and other problems listed in this topic, at least i hope so. :smiley:

Wim

Hi, When I click on the airport link I get a screen that says Invalid Data Array. I notice this after updating.
Link to site https://southwestweather.com/pwsWD/index.php

Thanks
BTrip


You selected to use Aeris forecast and current-conditions data.
The popup uses . . ./pwsWD/jsondata/aeris_ccn.json which only contains an error-message.

{"success":false,"error":{"code":"insufficient_scope","description":"The client provided is not authorized to access the request."},"response":[]}

All three files have similar messages.
Please check your settings. Probably you had a type in the Aeris password/key settings.

If you can not locate the problem, you can mail me your settings-password so I can check what went wrong.

Wim

Hi Wim that fix the problem.

Thank again
BTrip


The new updates work !! However, the ‘disconnected’ message remains on the page regarding the Northern Lights

https://www.meteocamporamoso.it/pwsWD/index.php

See http://discourse.weather-watch.com/p/553514