Block Sweden Forecast needs to be updated

Post Reply
DadOfZelda
Observer
Observer
Posts: 19
Joined: Mon Jun 25, 2018 8:23 pm
Location: Sollebrunn, Sweden
Station model: Davis Pro 2 Plus
Software: Meteohub
Contact:

Block Sweden Forecast needs to be updated

Post by DadOfZelda » Fri Jul 12, 2019 11:36 am

Hi,

The block Sweden Forecast stopped working a time ago. Did not get any updates.

Today I did some research. In the file loadForecastSE.php I located the path to the data,

$dataURL = "http://opendata-download-metfcst.smhi.s ... /data.json";

It seems that SMHI have done an update, the folder /pmp2g/ in the path has changed to /pmp3g/

Here is source path http://opendata-download-metfcst.smhi.se/


I did change it in my installation and it seems to work now.

I have not done any deeper testing, but maybe this little change was enough. :)

All best
/Christian
Image

Post Reply