WU API stating 'Station: OFFLINE' when it's not

  • 1
  • Problem
  • Updated 3 months ago
It's been getting significantly worse over the last few days... I generally pull data every 10 minutes & report it to pws.com...  Now I'm getting actual data maybe once or twice every hour.  The remaining time I get an error stating 'Station: OFFLINE' which I might believe if the WU site for my station didn't have actual data for 5 minute increments consistently throughout this time...  During the timeframe of 12:00pm to 1:00pm today, for example, I got 5 of the 'Station: OFFLINE' messages and only one actual data pull. The station ID is KALMBIRMI150 -- the table data shows that my station is reporting to the WU site successfully every 5 minutes

This is the reponse I get to my api query more often than not these past two days:
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
		,
	"error": {
		"type": "Station:OFFLINE"
	}
	}
}


This is the reponse I get on a good return: {
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
	}
  ,	"current_observation": {
		"image": {
		"url":"http://icons.wxug.com/graphics/wu2/logo_130x80.png",
		"title":"Weather Underground",
		"link":"http://www.wunderground.com"
		},
		"display_location": {
		"full":"Birmingham, AL",
		"city":"Birmingham",
		"state":"AL",
		"state_name":"Alabama",
		"country":"US",
		"country_iso3166":"US",
		"zip":"35229",
		"magic":"1",
		"wmo":"99999",
		"latitude":"33.475819",
		"longitude":"-86.783104",
		"elevation":"219.2"
		},
		"observation_location": {
		"full":"Hollywood, Birmingham, Alabama",
		"city":"Hollywood, Birmingham",
		"state":"Alabama",
		"country":"US",
		"country_iso3166":"US",
		"latitude":"33.475819",
		"longitude":"-86.783104",
		"elevation":"826 ft"
		},
		"estimated": {
		},
		"station_id":"KALBIRMI150",
		"observation_time":"Last Updated on February 18, 1:33 PM CST",
		"observation_time_rfc822":"Sun, 18 Feb 2018 13:33:36 -0600",
		"observation_epoch":"1518982416",
		"local_time_rfc822":"Sun, 18 Feb 2018 13:33:36 -0600",
		"local_epoch":"1518982416",
		"local_tz_short":"CST",
		"local_tz_long":"America/Chicago",
		"local_tz_offset":"-0600",
		"weather":"Overcast",
		"temperature_string":"56.8 F (13.8 C)",
		"temp_f":56.8,
		"temp_c":13.8,
		"relative_humidity":"83%",
		"wind_string":"From the SW at 2.0 MPH Gusting to 2.2 MPH",
		"wind_dir":"SW",
		"wind_degrees":219,
		"wind_mph":2.0,
		"wind_gust_mph":"2.2",
		"wind_kph":3.2,
		"wind_gust_kph":"3.5",
		"pressure_mb":"1024",
		"pressure_in":"30.24",
		"pressure_trend":"-",
		"dewpoint_string":"52 F (11 C)",
		"dewpoint_f":52,
		"dewpoint_c":11,
		"heat_index_string":"NA",
		"heat_index_f":"NA",
		"heat_index_c":"NA",
		"windchill_string":"NA",
		"windchill_f":"NA",
		"windchill_c":"NA",
		"feelslike_string":"56.8 F (13.8 C)",
		"feelslike_f":"56.8",
		"feelslike_c":"13.8",
		"visibility_mi":"10.0",
		"visibility_km":"16.1",
		"solarradiation":"68",
		"UV":"0.0","precip_1hr_string":"0.00 in ( 0 mm)",
		"precip_1hr_in":"0.00",
		"precip_1hr_metric":" 0",
		"precip_today_string":"0.00 in (0 mm)",
		"precip_today_in":"0.00",
		"precip_today_metric":"0",
		"icon":"cloudy",
		"icon_url":"http://icons.wxug.com/i/c/k/cloudy.gif",
		"forecast_url":"http://www.wunderground.com/US/AL/Birmingham.html",
		"history_url":"http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KALBIRMI150",
		"ob_url":"http://www.wunderground.com/cgi-bin/findweather/getForecast?query=33.475819,-86.783104",
		"nowcast":""
	}
Photo of Colleen

Colleen

  • 8 Posts
  • 0 Reply Likes

Posted 3 months ago

  • 1
Photo of Mark Anderson

Mark Anderson

  • 4 Posts
  • 0 Reply Likes
Same problem with API as well as when looking at station directly on WU. Refreshing many times sometimes displays information and history is there. Of course my local history is sporadic with the API failing 90% of the time.
Photo of Colleen

Colleen

  • 8 Posts
  • 0 Reply Likes
Yup..EXACTLY!!!!!  Today I'm getting maybe about 2 pulls of data from WU to my pws site each hour... I should be getting 6 pulls an hour (every 10 minutes)... the 9-10am  & the 12-1pm timeframes I got 4 pulls each...