Can anyone explain this please

I have made a weather display and it worked perfectly when I had the Air and Sky units
I now have a Tempest as some of the Sky sensors failed.
I modified the program so it works with the Tempest unit and it worked perfectly, I tested it for a week using other stations data to test while I was waiting for mine to arrive.

Now mine has arrived it’s not showing the data
it only shows the current conditions and not the forecast data

If I check using other station id numbers it works perfectly unless the station is new and then it gives the same result as mine

When I put the api call into a web browser I can see the raw data and parse it using an online parser and both mine and the other stations parse properly and give the data

However something is different with the api call result from mine and the other Tempest stations I tested with
If anyone wants to test this my station id is 44303 and the station I tested with in the pictures attached is 42238

This is mine

This is the other station

To clarify
The same program, nothing changed other than the station ids

Anyone know why or what it is?

if you do the get better forecast using the api in the top of the page (Tempest API) do you get an error result? (of course after authorizing first)? What is returned?

Exactly the same result, I get exactly the same data as before

I was going to post the complete result here but it’s too long

When I use my program this is what’s decoded

Forecast data: {'status': 'OK', 'conditions': 'Cloudy', 'updateTime': '15:30:11', 'airtemperature': 20.0, 'sea_level_pressure': 1033.9, 'station_pressure': 1021.6, 'pressure_trend': 'steady', 'relative_humidity': 55, 'wind_avg': 0.0, 'wind_direction': 0, 'wind_direction_cardinal': 'N', 'wind_gust': '0.0 mph', 'solar_radiation': 10, 'uv': 0, 'feels_like': 20.0, 'dew_point': 0, 'wet_bulb_temperature': 0, 'delta_t': 0, 'air_density': 0, 'lightning_strike_last_distance': '', 'lightning_strike_last_epoch': '', 'precip_accum_local_yesterday': 0, 'precip_accum_local_day': 0, 'condday': ['', '', '', '', '', ''], 'iconday_filename': ['images/forecast_icons/--_1.bmp', 'images/forecast_icons/--_1.bmp', 'images/forecast_icons/--_1.bmp', 'images/forecast_icons/--_1.bmp', 'images/forecast_icons/--_1.bmp', 'images/forecast_icons/--_1.bmp'], 'iconday': [<Surface(127x135x32 SW)>, <Surface(127x135x32 SW)>, <Surface(127x135x32 SW)>, <Surface(127x135x32 SW)>, <Surface(127x135x32 SW)>, <Surface(127x135x32 SW)>], 'thighday': [0, 0, 0, 0, 0, 0], 'tlowday': [0, 0, 0, 0, 0, 0], 'sunriseday': ['', '', '', '', '', ''], 'sunsetday': ['', '', '', '', '', ''], 'precprday': [0, 0, 0, 0, 0, 0], 'precpiconday': ['', '', '', '', '', ''], 'preciptypeday': ['', '', '', '', '', ''], 'conditionshour': ['', '', '', '', '', '', '', '', ''], 'iconhour': ['', '', '', '', '', '', '', '', ''], 'precipprhour': ['', '', '', '', '', '', '', '', ''], 'preciptypehour': ['', '', '', '', '', '', '', '', ''], 'feelslikehour': [0, 0, 0, 0, 0, 0, 0, 0, 0], 'airtemphour': [0, 0, 0, 0, 0, 0, 0, 0, 0], 'windavghour': [0, 0, 0, 0, 0, 0, 0, 0, 0]

Using the exact same program no changes other than the station ID I get this

Forecast data: {'status': 'OK', 'conditions': 'Cloudy', 'updateTime': '15:30:55', 'airtemperature': 11.0, 'sea_level_pressure': 1035.9, 'station_pressure': 1032.2, 'pressure_trend': 'steady', 'relative_humidity': 69, 'wind_avg': 1.0, 'wind_direction': 320, 'wind_direction_cardinal': 'NW', 'wind_gust': '2.2 mph', 'solar_radiation': 170, 'uv': 1, 'feels_like': 11.0, 'dew_point': 0, 'wet_bulb_temperature': 0, 'delta_t': 0, 'air_density': 0, 'lightning_strike_last_distance': '17.40 miles', 'lightning_strike_last_epoch': '13-03-2021 01:43:45', 'precip_accum_local_yesterday': 0, 'precip_accum_local_day': 0, 'condday': ['Cloudy', 'Rain Possible', 'Rain Possible', 'Rain Possible', 'Rain Possible', 'Rain Likely'], 'iconday_filename': ['images/forecast_icons/cloudy1.bmp', 'images/forecast_icons/possibly-rainy-day1.bmp', 'images/forecast_icons/possibly-rainy-day1.bmp', 'images/forecast_icons/possibly-rainy-day1.bmp', 'images/forecast_icons/possibly-rainy-day1.bmp', 'images/forecast_icons/rainy1.bmp'], 'iconday': [<Surface(128x128x32 SW)>, <Surface(128x128x32 SW)>, <Surface(128x128x32 SW)>, <Surface(128x128x32 SW)>, <Surface(128x128x32 SW)>, <Surface(128x128x32 SW)>], 'thighday': [11.0, 10.0, 10.0, 10.0, 12.0, 11.0], 'tlowday': [7.0, 7.0, 5.0, 4.0, 6.0, 6.0], 'sunriseday': ['06:16:14  18-03-2021 ', '06:13:50  19-03-2021 ', '06:11:25  20-03-2021 ', '06:09:01  21-03-2021 ', '06:06:38  22-03-2021 ', '06:04:14  23-03-2021 '], 'sunsetday': ['18:19:15  18-03-2021 ', '18:21:05  19-03-2021 ', '18:22:56  20-03-2021 ', '18:24:46  21-03-2021 ', '18:26:37  22-03-2021 ', '18:28:27  23-03-2021 '], 'precprday': [10, 30, 30, 30, 30, 50], 'precpiconday': ['chance-rain', 'chance-rain', 'chance-rain', 'chance-rain', 'chance-rain', 'chance-rain'], 'preciptypeday': ['rain', 'rain', 'rain', 'rain', 'rain', 'rain'], 'conditionshour': ['Cloudy', 'Cloudy', 'Cloudy', 'Cloudy', 'Cloudy', 'Cloudy', 'Cloudy', 'Cloudy', 'Cloudy'], 'iconhour': ['cloudy', 'cloudy', 'cloudy', 'cloudy', 'cloudy', 'cloudy', 'cloudy', 'cloudy', 'cloudy'], 'precipprhour': ['0%', '0%', '0%', '0%', '0%', '0%', '5%', '10%', '15%'], 'preciptypehour': ['0', '0', '0', '0', '0', '0', 'rain', 'rain', 'rain'], 'feelslikehour': ['10.0 C', '9.0 C', '9.0 C', '9.0 C', '9.0 C', '8.0 C', '8.0 C', '7.0 C', '7.0 C'], 'airtemphour': [11.0, 11.0, 10.0, 9.0, 9.0, 8.0, 8.0, 7.0, 7.0], 'windavghour': [1.8641130000000001, 1.8641130000000001, 1.242742, 0.621371, 0.621371, 0.621371, 0.0, 0.0, 0.0]

Exactly the same program, only difference is station ID
I can put almost any ID in and I’ll get the proper results

weird… but you knew that already.

Yup
I really cannot explain it
or figure out if it’s something with the data being so new, it only came online yesterday or what it is

i can imagine that the basic forecast takes a day, but I don’t know. Perhaps it will resolve itself soon.

I found the problem
There is no lightning data being sent because it’s a new station with no lightning reported yet.
Once I fixed the program so it checked for that its all ok now

1 Like

aha, so the output you showed before was not from the api call on the website, but from your program. I’m not sure what lightning data has to do with the missing forecast, but I’m glad you managed to solve it, as it was a really weird problem.