我使用Chrome的Postman扩展程序来确定为什么NestDK iOS应用程序在我们登录后没有显示恒温器,并决定尝试REST请求以查看返回的内容。我将https://developer-api.nest.com?auth=输入到Postman界面并进行GET 我回到下面的响应,在结构数据元素中定义了一个恒温器,但是没有设备数据元素。我知道设备是连接的,因为当我从家里换到外面时,“离开”了。设置已修改。为什么没有设备?
{
"structures": {
"<structure_id>": {
"name": "Home",
"country_code": "US",
"time_zone": "America/New_York",
"away": "away",
"thermostats": [
"<thermometer_id>"
],
"structure_id": "<structure_id>"
}
},
"metadata": {
"access_token": "<accessToken>",
"client_version": 1
}
}