【发布时间】:2026-01-30 21:00:01
【问题描述】:
我正在使用 Chrome 的 Postman 扩展程序来确定为什么 NestDK iOS 应用在我们登录后未显示恒温器,并决定尝试 REST 请求以查看返回的内容。我在 Postman 界面中输入 https://developer-api.nest.com?auth= 并执行 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
}
}
【问题讨论】: