Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastUpdated telldus API #6

Open
dezral opened this issue Aug 15, 2018 · 3 comments
Open

lastUpdated telldus API #6

dezral opened this issue Aug 15, 2018 · 3 comments

Comments

@dezral
Copy link

dezral commented Aug 15, 2018

I can see in the Telldus API that there is a "lastUpdated" timestamp info that is the time when last time value was updated.. is it possible to include that info..

I have few temp/hum sensor from telldus that have this info..

https://telldus.com/produkt/thermo-hygro-sensor-433mhz/ <<

could use maxtime/mintime and max/min values also..

https://api.telldus.com/explore/sensor/info

looks like this:
{
"id": "XXXXXXXXX",
"clientName": "NAMEOFBRIDGE",
"name": "Temp place",
"lastUpdated": 1534318198,
"ignored": 0,
"editable": 1,
"data": [
{
"name": "temp",
"value": "24.2",
"scale": "0",
"lastUpdated": 1534318198,
"max": "24.3",
"maxTime": 1534312342,
"min": "24.1",
"minTime": 1534313158
},
{
"name": "humidity",
"value": "59",
"scale": "0",
"lastUpdated": 1534318198,
"max": "59",
"maxTime": 1534312438
}
],
"protocol": "fineoffset",
"sensorId": "57",
"timezoneoffset": 7200,
"battery": "254",
"keepHistory": "1"
}

@perbrage
Copy link
Owner

Sorry for a late reply! I will have a look at this and see what I can do! Cheers!

@perbrage
Copy link
Owner

Looks like those values are not available when using the local API. I guess it might be something that is stored in Telldus Live, thus not available using the local API. Too bad!

@dezral
Copy link
Author

dezral commented Nov 30, 2018

Thanks for cheking..

How about defin a topic on lets say the metrics sensor out.. or just add the given name of the node as topic also..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants