temp and humidity values missing in history

Moderator: Telldus

Post Reply
clay
Posts: 2
Joined: Thu Sep 13, 2018 6:56 pm

temp and humidity values missing in history

Post by clay » Fri Sep 14, 2018 11:49 am

Hello!
I have a problem with the temp and humidity history values: It looks like some of them are missing.
I have 8 temp/humidity sensors and a tellstick znet lite v2. I also have a premium account.
They all show up fine here: https://live.telldus.com/sensor/index

Now the problem:
If i look at the history of one of the sensors (this sensor is placed 10 cm from the tellstick) and download it as xls, values are missing (typically temp values):
telldus.jpg
telldus.jpg (99.77 KiB) Viewed 107 times

As one can see humidity are there but only some temp values, i.e. alot of temp values are missing

The next thing I tried was to access the data through the api: https://api.telldus.com/sensor/history/json/[...OAUTH DATA... AND PARAMS]

I entered the sensor id and from timestamp and I got (last result in list):

....
{
"ts": 1536924784,
"uuid": "SOME UUID",
"data": [
{
"name": "humidity",
"value": "45",
"scale": "0"
}
]
}

I.e. no temp.

If i try the 'info' API method: https://api.telldus.com/sensor/info/json/[...OAUTH DATA... AND PARAMS]

with the same sensor id, i get
{
"id": "SOME ID",
"clientName": "XXXXXX",
"name": "YYYYYYYY",
"lastUpdated": 1536924784,
"ignored": 0,
"editable": 1,
"data": [
{
"name": "temp",
"value": "22.2",
"scale": "0",
"lastUpdated": 1536924784,
"max": "23.8",
"maxTime": 1525717696,
"min": "15.6",
"minTime": 1525776543
},
{
"name": "humidity",
"value": "45",
"scale": "0",
"lastUpdated": 1536924784,
"max": "64",
"maxTime": 1536496486
}
],
"protocol": "fineoffset",
"sensorId": "11",
"timezoneoffset": 7200,
"battery": "254",
"keepHistory": "1"
}


So as one can see: same timestamp (1536924784) as in 'history' call AND the 'info' call contains temp!

Could someone help me? Why does the history miss values?
Is there any difference how values are retrieved / stored for the 2 API calls:

https://api.telldus.com/sensor/history/json/[...OAUTH DATA... AND PARAMS]
https://api.telldus.com/sensor/info/json/[...OAUTH DATA... AND PARAMS]

Br
Clay

Post Reply