REST API /better_forecast Current Condition No content in some Fields

I am not getting content anymore for the following fields (This is the REST API, my tempest APP still shows the data)

‘air_density’

‘delta_t’

‘wet_bulb_temperature’

‘dew_point’

Is this a change in the API or a production problem ?

are you using the generic API key or your personal key ? I think the generic will slowly stop working as we have no personal keys. Yo can get yours in the settings via data authorizations

I use my personal Key. Here is the response I receive :
Array
(
[latitude] => 52,41904
[longitude] => 13,27251
[timezone] => Europe/Berlin
[timezone_offset_minutes] => 120
[current_conditions] => Array
(
[time] => 1617619780
[conditions] => Wintry Mix Likely
[icon] => sleet
[air_temperature] => 4
[sea_level_pressure] => 1002,8
[station_pressure] => 996,1
[pressure_trend] => steady
[relative_humidity] => 95
[wind_avg] => 2
[wind_direction] => 198
[wind_direction_cardinal] => SSW
[wind_gust] => 4
[solar_radiation] => 126
[uv] => 0
[brightness] => 15074
[feels_like] => 4
[lightning_strike_count_last_1hr] => 0
[lightning_strike_count_last_3hr] => 1
[lightning_strike_last_distance] => 42
[lightning_strike_last_distance_msg] => 41 - 43 km
[lightning_strike_last_epoch] => 1617615943
[precip_accum_local_day] => 5,72
[precip_accum_local_yesterday] => 0
[is_precip_local_day_rain_check] =>
[is_precip_local_yesterday_rain_check] =>
)

This is what I should be getting according to the Documentation
{
“status”: {
“status_code”: 0,
“status_message”: “SUCCESS”
},
“current_conditions”: {
“time”: 1608668142,
“conditions”: “Clear”,
“icon”: “clear-day”,
“air_temperature”: 67,
“sea_level_pressure”: 30.195,
“station_pressure”: 30.079,
“pressure_trend”: “falling”,
“relative_humidity”: 55,
“wind_avg”: 3.2,
“wind_direction”: 15,
“wind_direction_cardinal”: “NNE”,
“wind_direction_icon”: “wind-rose-nne”,
“wind_gust”: 3.4,
“solar_radiation”: 22,
“uv”: 0,
“brightness”: 2582,
“feels_like”: 68.9,
“dew_point”: 50,
“wet_bulb_temperature”: 57,
“delta_t”: 10,
“air_density”: 0.08,
“lightning_strike_count_last_1hr”: 0,
“lightning_strike_count_last_3hr”: 1,
“lightning_strike_last_distance”: 7,
“lightning_strike_last_distance_msg”: “6 - 8 mi”,
“lightning_strike_last_epoch”: 1608150959,
“precip_accum_local_day”: 0,
“precip_accum_local_yesterday”: 0,
“precip_minutes_local_day”: 0,
“precip_minutes_local_yesterday”: 0,
“is_precip_local_day_rain_check”: false,
“is_precip_local_yesterday_rain_check”: true
},

think this needs a reply from someone knowing what happens under the hood (tomorrow I guess as it is easter week end :rabbit2: )
@jforare_324 : you ?

Are you using this https://swd.weatherflow.com/swd/rest/observations/station/[your_station_id]?token=[your_access_token] to get your data? Seems like you’re using the wrong url to get it as it shows up for me.

I am using the Forecast and not the Station as described in the Documentation. My URL is $url = ‘https://swd.weatherflow.com/swd/rest/better_forecast?station_id=’.$Station_ID.’&units_temp=c&units_wind=kph&units_pressure=hpa&units_precip=mm&units_distance=km’;

Ooh, that looks like a glitch that was introduced with a recent API update. We’ll get that fixed soon. Thanks for reporting it!

1 Like

TKS for your swift response and for fixing it