Nest-API 恒温器设备未在 REST 请求中显示
Nest-API Thermostat device not showing in REST request
我正在使用 Chrome 的 Postman 扩展来确定为什么 NestDK iOS 应用程序在我们登录后没有显示恒温器并决定尝试 REST 请求以查看是什么回来。我在 Postman 界面中输入 https://developer-api.nest.com?auth= 并执行 GET。
我得到下面的响应,在结构数据元素中定义了恒温器,但没有设备数据元素。我知道设备已连接,因为当我从家中更改为离开时,'away' 设置已修改。为什么没有设备?
{
"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
}
}
检查您的客户端权限。确保您已读取恒温器或已选择恒温器 read/write。
我正在使用 Chrome 的 Postman 扩展来确定为什么 NestDK iOS 应用程序在我们登录后没有显示恒温器并决定尝试 REST 请求以查看是什么回来。我在 Postman 界面中输入 https://developer-api.nest.com?auth= 并执行 GET。
我得到下面的响应,在结构数据元素中定义了恒温器,但没有设备数据元素。我知道设备已连接,因为当我从家中更改为离开时,'away' 设置已修改。为什么没有设备?
{
"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
}
}
检查您的客户端权限。确保您已读取恒温器或已选择恒温器 read/write。