I haven’t looked in detail at the websocket messages recently, but noticed today that a lot more information is being sent compared to what is documented. For example, the documentation shows that the obs_air message should look like this:
{
"type":"obs_air",
"device_id":1110,
"obs":[[1493164835,835.0,10.0,45,0,0,3.46,1]]
}
but what is actually sent looks like this:
{
'status': {'status_code': 0, 'status_message': 'SUCCESS'},
'device_id': 16391,
'type': 'obs_air',
'source': 'cache',
'summary': {'pressure_trend': 'rising', 'pressure_high_24h': 1000.9, 'pressure_low_24h': 994.1, 'strike_count_3h': 0, 'strike_last_dist': 24, 'strike_last_epoch': 1556295986},
'obs': [[1556357769, 996.6, 9, 68, 0, 0, 3.44, 1]]
}
Does anyone know when these changes were made? Are they a stable change? Can we use the extra fields without risk that WF are going to remove them as they are undocumented? @dsj perhaps you can shed some light on this, and apologies if I missed some sort of announcement.