I’ve done a major rewrite of ec-forecast.php due to the massive changes in the EC forecast website.
There are now two rows of icons as the EC now reports for 12hr periods.
Thanks for your work on this, Ken. Very much appreciated.
Were you able to pick up the “Normals” temperatures (max and min) from this page? I use these at the top of my webpage (about 4 lines down from the top) but right now they are blank.
Because of the changes EC made, I can now only show 3 days of forecast on a single line (instead of the previous 7 days). I don’t no why they made this change.
In the scheme of things, they no longer offered a separate min and max under normals, so use $conditions[‘maxmin’] to print the Normals string. The $conditions array now looks like
It fixes the condition icon issue, adds yesterday’s min/max/precip to the conditions area.
It also handles the ‘abnormal trend’ indicator if present in the forecast
The main fetch method has been changed from the old fconnect method to use curl to get the data (and still report stats).
Use the links in the first post to update (using 27-Oct-2016 for the query if needed)