google-smart-home - 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 的“自动”模式
任何人都遇到过同样的问题,或者可能知道根本原因?
解决方案
此问题已在公共错误跟踪器中提交,并正在那里得到解决。您可以在https://issuetracker.google.com/157717871找到有关该问题和调试信息的更多信息
推荐阅读
- java - 同步方法中的同步块
- java - 如何在 jax-rs 检查身体
- sql - 根据特定条件在 SQL Server 表中插入数据
- python - 如何在熊猫中分组和聚合动态列
- salesforce - Apex 触发器未在对象中插入值
- javascript - 不能作为“div”的孩子出现?
- jquery - 函数 readImage (file) { 函数不工作
- javascript - 在 JavaScript 中绑定 onclick 而无需在 HTML 文件中直接使用 JS
- sql - 如何在 iOS 应用程序和 Django WebApp 之间进行数据通信
- c# - 通过 autofac 模拟后,服务的实际实现被调用