Google智能家居温控器TemperatureSetting Trait与auto模式适配问题咨询
关于Google智能家居温控器模式配置的问题
我正在为我方温控器实现Google智能家居支持,采用action.devices.types.THERMOSTAT设备类型与action.devices.traits.TemperatureSetting Trait,该温控器需支持off、heat和auto模式。
SYNC配置详情
{ "id": "testplc@BEDROOM.HEATTHERMOSTAT", "type": "action.devices.types.THERMOSTAT", "traits": [ "action.devices.traits.TemperatureSetting" ], "name": { "defaultNames": [ "BEDROOM.HEATTHERMOSTAT" ], "name": "Bedroom" }, "willReportState": true, "notificationSupportedByAgent": false, "deviceInfo": { "manufacturer": "Teco a.s.", "model": "Tecomat" }, "attributes": { "availableThermostatModes": [ "off", "auto", "heat" ], "thermostatTemperatureRange": { "minThresholdCelsius": 10.0, "maxThresholdCelsius": 40.0 }, "thermostatTemperatureUnit": "C" }, "customData": { "plc_name": "testplc", "tecomat_id": "BEDROOM.HEATTHERMOSTAT", "tecomat_type": "THERMOSTAT" } }
遇到的问题
- 温控器默认状态为
auto模式:Google Home App中显示为激活的Other模式,但智能显示屏上可正确显示为激活的Auto模式; - 尝试将温控器切换至
heat模式时,fulfillment未检测到任何EXECUTE请求,仅连续收到多个QUERY请求; - 通过应用切换至
off模式可成功,但之后应用中auto选项会从可选模式列表中消失且不再显示; - 后续尝试从
off切换至heat仍无效,无EXECUTE请求到达服务器; - 若从
availableThermostatModes中排除auto模式,一切功能正常,问题与auto模式相关。
疑问
- 从表面看我是否存在配置错误?
- 应在何种情况下将
on模式列入availableThermostatModes列表?
不确定我的问题是否与已报告的相关问题完全一致,感谢您提供的任何建议。
内容的提问来源于stack exchange,提问作者Pizla
相关产品推荐
相关产品推荐

