Issue with live wind readings

My current readings from the API endpoint are showing as NULL, If I test it with yesterdays readings it is fine… Here is the end point and the results. You can see the first few entries in the obs array are null…

Anyone got any ideas what maybe wrong?

Thanks Nick

https://swd.weatherflow.com/swd/rest/observations/device/{device}?token={token}

{
“status”: {
“status_code”: 0,
“status_message”: “SUCCESS”
},
“device_id”: 158921,
“type”: “obs_st”,
“source”: “cache”,
“summary”: {
“pressure_trend”: “falling”,
“strike_count_1h”: 0,
“strike_count_3h”: 0,
“precip_total_1h”: 0,
“strike_last_dist”: 34,
“strike_last_epoch”: 1638950680,
“precip_accum_local_yesterday”: 0,
“precip_analysis_type_yesterday”: 0,
“heat_index”: 10
},
“obs”: [
[
1640597113,
null,
null,
null,
null,
300,
991.2,
10,
95,
3134,
0,
24,
0,
0,
0,
0,
2.34,
1,
0,
null,
null,
0
]
]
}

Hy

Yep this is normal as your Tempest went into power saving mode 3 and several readings are way more spread, hence you get the ‘null’ values instead. You’ll have a value each 5 minutes in PSM 3 except rain that is fully disabled.
Your station isn’t seeing much direct sunlight on its panels hence discharged slowly but surely (shade ?? If possible to relocate it to a more open spot till worst of the winter is over ??)

below the different modes . You’ll have to adapt your script to process the exceptions maybe with last known good value ??

Power Save Modes

Here are details on how the Tempest may conserve power in order to operate for as long as possible. Most Tempests never go below Mode 0 and more than 90% will never go below Mode 1.

Mode 0: Voltage ≥ 2.455

  • All sensors enabled and operating at full performance

  • Wind sampling interval every 3 seconds

Mode 1: Voltage ≤ 2.415 from Mode 0 or ≥ 2.41 from Mode 2

  • Wind sampling interval set to 6 seconds

Mode 2: Voltage ≤ 2.39 from Mode 1 or ≥ 2.375 from Mode 3

  • Wind sampling interval set to one minute

Mode 3: Voltage ≤ 2.355

  • Wind sampling interval set to 5 minutes
  • All other sensors’ sampling interval set to 5 minutes
  • Haptic Rain sensor disabled from active listening

Thanks Eric. That makes sense… The current status is 2.32 volts which makes sense. Is there an API call to get the last 5 min intervals that it is recording, as opposed to the null readings for the current reading.

FYI - The station could not be positioned more in the sun. It is just our lousy UK weather… We have not had any proper sun for a week or so now…

Cheers
Nick

Indeed, hard to have it better. Guess in a few weeks all will be nominal again as days start to become longer and hopefully some sun will come out of the clouds.

it is possible to retrieve older data but means you will have to do 2 calls, once you see a N/A, calculate when was last and do a call with time as described in this page. Might be easier to just code locally, when N/A use previous ?