Discussions

Ask a Question
Back to All

How to get the value of sensorTemperature sensorHumidity

Hey,

I try to retrieve sensorHumidity and sensorTemperature from my thermometer. If I send a request via router/api/v1/user/devices - this is the response:

{
"code": 200,
"message": "success",
"data": [
{
"sku": "changed",
"device": "changed",
"deviceName": "Wifi Thermometer",
"type": "devices.types.thermometer",
"capabilities": [
{
"type": "devices.capabilities.property",
"instance": "sensorTemperature"
},
{
"type": "devices.capabilities.property",
"instance": "sensorHumidity"
}
]
}
]
}

But there is never a value. Maybe some of you can help me.


Best,

Daniel