Since 4th December 2024 I have had a problem with my code not working and today I began looking into why.
I suspect that it is because the API has been returning:
{“status”:{“status_code”:2,“status_message”:“DATA_ERROR - null”}
when I request observations from any of my devices including Tempest, Sky or Air,
and between a time_start and time_end.
Either using curl, a browser or the Tempest API Explorer page here:
https://weatherflow.github.io/Tempest/api/swagger/#!/observations/getStationObservation
If I use a day_offset it works correctly for example returning
“status”: {
“status_code”: 0,
“status_message”: “SUCCESS”
},
“device_id”: 386494,
“type”: “obs_air”,
“bucket_step_minutes”: 1,
“obs”: [
[
1734220800,
998.5,
23.6,
91,
0,
0,
3.17,
1
],
But if I use time_start and time_end (without a day offset) it returns:
“status”: {
“status_code”: 2,
“status_message”: “DATA_ERROR - null”
},
“device_id”: 386494,
“type”: “obs_air”,
“bucket_step_minutes”: 1,
“obs”: [
[
1734342720,
997.9,
22.7,
94,
0,
0,
3.16,
1
],
I am guessing Weatherflow changed something but perhaps I have a different problem?
Before I change my code to adapt I am trying to check if Weatherflow did something to cause this.
But other thoughts I have it was within a day (but not the same time) of adding a new Air to my system which includes 3 hubs running 2 Tempests, 2 Skys and 2 Airs.
Perhaps it might be a change to my raincheck settings or I accidentally touched an icon that changed something while installing the Air, but I doubt those thoughts.
The problem appears on all my devices including 3 different hubs including old, not so old and almost new.
I will log a support call and I thought I would ask here to let you know and hopefully publish a solution from some one.
cheers Ian