Hi,
From the API documentation I saw that for this API endpoint GET /observations/device/{device_id}
type obs_sky should look like:
Sky (type="obs_sky")
Observation Layout
0 - Epoch (seconds UTC)
1 - Illuminance (lux)
2 - UV (index)
3 - Rain Accumulation (mm)
4 - Wind Lull (m/s)
5 - Wind Avg (m/s)
6 - Wind Gust (m/s)
7 - Wind Direction (degrees)
8 - Battery (volts)
9 - Report Interval (minutes)
10 - Solar Radiation (W/m^2)
11 - Local Day Rain Accumulation (mm)
12 - Precipitation Type (0 = none, 1 = rain, 2 = hail, 3 = rain + hail (experimental))
13 - Wind Sample Interval (seconds)
14 - Rain Accumulation Final (Rain Check) (mm)
15 - Local Day Rain Accumulation Final (Rain Check) (mm)
16 - Precipitation Analysis Type (0 = none, 1 = Rain Check with user display on, 2 = Rain Check with user display off)
But I am getting this
{
bucket_step_minutes: 5,
device_id: 9747,
obs: [
["1559053200","8138","0.48","0","1.6","3.8","6.4","61","3.4","5"],
["1559053500","10280","0.62","0","2","4","10.1","61","3.4","5"],
["1559053800","7516","0.43","0","1.6","3.6","7","59","3.4","5"],
["1559054100","10475","0.64","0","0.7","3.4","5.6","64","3.41","5"],
["1559054400","8052","0.48","0","0","2.9","5.3","55","3.41","5"],
["1559054700","10888","0.66","0","0.4","2.6","5.5","75","3.41","5"],
["1559055000","8026","0.46","0.054941","0","2.9","4.4","55","3.41","5"],
["1559055300","11181","0.7","0.012095","0","1.8","4.1","65","3.41","5"],
["1559055600","12381","0.77","0","0.9","2.3","5.2","32","3.41","5"],
["1559055900","11504","0.7","0","0.6","2.2","4.3","57","3.41","5"]
],
source: 'db',
status: {
status_code: 0,
status_message: 'SUCCESS'
},
type: 'obs_sky'
}
Could you please explain why i am getting a list of 10 elements while a list of 17 is expected?