【问题标题】:Nest-API Thermostat device not showing in REST requestNest-API 恒温器设备未显示在 REST 请求中
【发布时间】: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
    }
}

【问题讨论】:

    标签: ios rest nest-api


    【解决方案1】:

    检查您的客户权限。确保您选择了恒温器读取或恒温器读取/写入。

    Available Permissions

    【讨论】:

    • 这是真的。我的印象是我需要达到恒温器水平才能获得 Away 过程。我们的客户没有准备好得到这个,但我们不需要它。谢谢!