Hi there!
I get my temperature sensor like this:
http://192.168.178.54/api/xxxxxxxxxx/sensors/13/
I redacted most values of the result, as they do not matter here:
{
"config": {
"battery": 70,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "xxx",
"lastannounced": "xxx",
"lastseen": "xxx:24Z",
"manufacturername": "CentraLite",
"modelid": "Motion Sensor-A",
"name": "Temperature 13",
"state": {
"lastupdated": "xxx",
"temperature": xxxx
},
"swversion": "xx.x.xx.xx",
"type": "ZHATemperature",
"uniqueid": "xxx"
}
Now to my question: How do I read the temperature?
I tried these 2 GET commands but both give me “404 Not found” errors:
http://192.168.178.54/api/xxxxxxxxxx/sensors/13/temperature
http://192.168.178.54/api/xxxxxxxxxx/sensors/13/state/temperature
Admittedly, I have not fully understood how the tree of parameters is queried, so please accept my apologies for my beginner’s question. And thanks for your help!