0
我使用Chrome的邮递员扩展来确定为什么NestDK iOS应用程序在登录后未显示恒温器,并决定尝试使用REST请求查看返回的内容。我在Postman界面输入https://developer-api.nest.com?auth=并进行GET。
我回到下面的响应,在结构数据元素中定义了一个恒温器,但没有设备数据元素。我知道该设备是连接的,因为当我从家到外,“离开”设置被修改。为什么没有设备?Nest-API恒温器设备在REST请求中未显示
{
"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
}
}
这是事实。我的印象是,我需要达到恒温水平才能完成离场程序。我们的客户并没有成立,但我们并不需要它。谢谢! – 2015-03-05 20:39:18