【问题标题】:Problems with TemperatureSetting trait schema and 'auto' modeTemperatureSetting 特征模式和“自动”模式的问题
【发布时间】:2020-09-16 18:33:10
【问题描述】:

我已经使用 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 'auto' mode

有人遇到过同样的问题,或者知道根本原因吗?

【问题讨论】:

  • 您能否提供一个示例,说明您的设备发送的 SYNC、QUERY 响应以及您在 Google 助理界面(例如移动设备、智能显示屏)上看到的输出。
  • 用示例更新了原始帖子。
  • 好像QUERY和SYNC意图互换了,你能确认一下吗?
  • 是的,我刚刚看到了同样的问题。 “自动”和“开启”模式在 Android 上显示“其他”模式。在 iPhone 上,它什么也不显示。真的很奇怪。
  • 一周前从一位 Google 开发者那里得到消息 - 他会尝试重现(约 6 个月后!!)

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


【解决方案1】:

此问题已在公共错误跟踪器中提交并正在那里解决。您可以在 http://b/216596754

找到有关该问题和调试信息的更多信息

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-10-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-09
    • 2016-10-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多