首页 > 解决方案 > TemperatureSetting 特征模式和“自动”模式的问题

问题描述

我已经使用 Thermostat 设备和 ThermostatSetting 特征模式开发并发布了 Google 智能家居设备。定义的模式有:“off”、“on”、“heat”、“cool”、“auto”

出于某种原因,iOS 和 Android 上的 Google Home 将不再显示“自动”模式,而是将其显示为“其他”。我肯定知道,几个月前 Google Home 支持“自动”。

同步示例:

{
  "requestId": "1837210953134681851",
  "payload": {
    "devices": {
      "1518": {
        "online": true,
        "thermostatTemperatureSetpoint": 10,
        "thermostatMode": "auto",
        "thermostatHumidityAmbient": 20.01,
        "thermostatTemperatureAmbient": 10.01
      }
    }
  }
}

查询示例:

{
  "requestId": "10672456171400406265",
  "payload": {
    "agentUserId": "b8c128c8-922d-477b-830b-b86314d810be",
    "devices": [
      {
        "id": "1518",
        "type": "action.devices.types.THERMOSTAT",
        "traits": [
          "action.devices.traits.TemperatureSetting"
        ],
        "name": {
          "defaultNames": [
            "Fisk"
          ],
          "name": "Fisk",
          "nicknames": [
            "Fisk"
          ]
        },
        "willReportState": true,
        "deviceInfo": {
          "manufacturer": "BITZER",
          "model": "LMC 311",
          "hwVersion": "1.0",
          "swVersion": "2.4.0"
        },
        "attributes": {
          "thermostatTemperatureUnit": "C",
          "availableThermostatModes": "off,on,heat,cool,auto"
        }
      },
      {
        "id": "515",
        "type": "action.devices.types.THERMOSTAT",
        "traits": [
          "action.devices.traits.TemperatureSetting"
        ],
        "name": {
          "defaultNames": [
            "Ventilation system 20"
          ],
          "name": "Ventilation system 20",
          "nicknames": [
            "Ventilation system 20"
          ]
        },
        "willReportState": true,
        "deviceInfo": {
          "manufacturer": "BITZER",
          "model": "Comfort CT150",
          "hwVersion": "1.0",
          "swVersion": "2.4.14.0"
        },
        "attributes": {
          "thermostatTemperatureUnit": "C",
          "availableThermostatModes": "off,on,heat,cool,auto"
        }
      }
    ]
  }
}

google home 的图片(丹麦语中的“Anden”被翻译为“Other”): Google Home 的“自动”模式

任何人都遇到过同样的问题,或者可能知道根本原因?

标签: google-smart-homegoogle-assist-api

解决方案


此问题已在公共错误跟踪器中提交,并正在那里得到解决。您可以在https://issuetracker.google.com/157717871找到有关该问题和调试信息的更多信息


推荐阅读