繁体   English   中英

TemperatureSetting 特征模式和“自动”模式的问题

[英]Problems with TemperatureSetting trait schema and 'auto' mode

我已经开发并发布了使用 Thermostat 设备和 ThermostatSetting 特征模式的 Google 智能家居设备。 定义的模式是:“关”、“开”、“热”、“冷”、“自动”

出于某种原因,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' 模式

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM