Intractive banner is stuck to blue sky

Post Reply
Lespius
Advisor
Advisor
Posts: 61
Joined: Wed Aug 23, 2017 7:32 pm
Location: Cugy, Switzerland
Station model: Davis VP2
Software: Meteobridge
Contact:

Intractive banner is stuck to blue sky

Post by Lespius » Sat Mar 09, 2019 3:26 pm

Hi All,
My interactive banner is now blocked on "blue sky" for a couple of weeks.
I know it is linked to the metar specified in the general configuration. I have check my Metar plugin, it is up-to-date (code LSGG) http://www.meteo-cugy.ch/template/pages/metar/index.php
It looks like the information is no longer taking into account my Meteotemplate.
Does anyone noticed the same ?
Thanks
Alain
Image

mchd17
Forecaster
Forecaster
Posts: 196
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: Intractive banner is stuck to blue sky

Post by mchd17 » Sat Mar 09, 2019 4:37 pm

now that you mention it, i haven't noticed mine changing from blue sky for a while. wonder if it's a https request issue
Image

agallardo1980

Re: Intractive banner is stuck to blue sky

Post by agallardo1980 » Sat Mar 09, 2019 9:42 pm

Hi,

Effectly @mchd17 It's a https issue,
Change this in /template/header.php (Line 172):

Code: Select all

$urlMETAR = "http://tgftp.nws.noaa.gov/data/observations/metar/stations/".strtoupper($ICAO).".TXT";
by this:

Code: Select all

$urlMETAR = "https://tgftp.nws.noaa.gov/data/observations/metar/stations/".strtoupper($ICAO).".TXT";
In my website it's working now :)

mchd17
Forecaster
Forecaster
Posts: 196
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: Intractive banner is stuck to blue sky

Post by mchd17 » Sun Mar 10, 2019 12:18 am

Thanks!!

I also had to change code in /template/scripts/headerMetar.php

line 326 and 327

Code: Select all

//$no = "http://weather.noaa.gov/pub/data/x/stations/";
$no = "http://tgftp.nws.noaa.gov/data/x/stations/";
To this

Code: Select all

//$no = "https://weather.noaa.gov/pub/data/x/stations/";
$no = "https://tgftp.nws.noaa.gov/data/x/stations/";
Image

User avatar
Jolumarali
Professional
Professional
Posts: 251
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Intractive banner is stuck to blue sky

Post by Jolumarali » Sun Mar 10, 2019 10:23 am

it's perfect thanks to all
Image
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

Lespius
Advisor
Advisor
Posts: 61
Joined: Wed Aug 23, 2017 7:32 pm
Location: Cugy, Switzerland
Station model: Davis VP2
Software: Meteobridge
Contact:

Re: Intractive banner is stuck to blue sky

Post by Lespius » Sun Mar 10, 2019 1:41 pm

Did the modifications, but no change.... Another idea ???
Image

mchd17
Forecaster
Forecaster
Posts: 196
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: Intractive banner is stuck to blue sky

Post by mchd17 » Sun Mar 10, 2019 2:27 pm

Give it a bit of time, try control panel/clear metar cache
Image

User avatar
livejerseyweather
Observer
Observer
Posts: 13
Joined: Sat Mar 09, 2019 5:56 pm
Location: Jersey
Station model: Davis Vantage Pro 2 Plus
Software: Weather Display
Contact:

Re: Intractive banner is stuck to blue sky

Post by livejerseyweather » Wed May 29, 2019 2:01 pm

I am having this same problem and have tried all of the fixes has anyone else got it working?

User avatar
dmgould
Forecaster
Forecaster
Posts: 173
Joined: Sat Aug 26, 2017 2:43 am
Location: Divide, Colorado, USA
Station model: Davis Pro 2 Plus Wireless
Software: Meteobridge
Contact:

Re: Intractive banner is stuck to blue sky

Post by dmgould » Wed May 29, 2019 2:42 pm

I made the code changes listed above, and mine started working properly. Go to the metar station you have entered into your main setup and make sure they are reporting correctly. I've had that issue in the past. If their sky report is not changing your banner won't change.
Dave G
Image

User avatar
magical46
Observer
Observer
Posts: 49
Joined: Mon Aug 21, 2017 2:19 pm
Location: Farnham, Surrey, UK
Contact:

Re: Intractive banner is stuck to blue sky

Post by magical46 » Sun Aug 18, 2019 4:46 pm

I am having the same issue of the banner nor changing. I have just done the code changes as above and cleared the cache, may take some time to change, but looking at the METAR weather plugin it says "invalid METAR code EGLF" which is the correct code for Farnborough. Whatever airport I put in (I.e. heathrow, gatwick, Odiham) it says invalid code.
Image

User avatar
dmgould
Forecaster
Forecaster
Posts: 173
Joined: Sat Aug 26, 2017 2:43 am
Location: Divide, Colorado, USA
Station model: Davis Pro 2 Plus Wireless
Software: Meteobridge
Contact:

Re: Intractive banner is stuck to blue sky

Post by dmgould » Mon Aug 19, 2019 1:12 am

I just went to the NWS report for your METAR station. It is not reporting sky conditions at all. That seems to be the issue rather than your code changes.
Dave G
Image

ugo.call
Newbie
Newbie
Posts: 4
Joined: Sun Dec 03, 2017 1:37 pm
Location: Fermo
Station model: Davis vantage vue
Software: Meteobridge
Contact:

Re: Intractive banner is stuck to blue sky

Post by ugo.call » Sat Aug 24, 2019 2:08 pm

Also I have the same problem I changed the code in /template/scripts/headerMetar.php, I also emptied the cache but it doesn't work, if I go to open the interactiveBanner.txt file I find written N / A while the Metar page works perfectly.
Image

Post Reply