You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google Home App不显示接入AC单元的风速及温度设置问题

Google Home接入空调设备后缺失温度、风速控制控件问题

我正尝试通过Google Smart Actions将空调单元接入Google Home,已完成Action配置且成功将应用服务器与Google Home App关联。

我参考了Google官方空调设备开发指南完成应用服务器开发。

针对Google的action.devices.SYNC请求,我返回的响应如下:

{
    "requestId": "request-id-providing-by-google",
    "payload": {
        "agentUserId": "unique-user-id",
        "devices": [
            {
                "id": "device-id",
                "type": "action.devices.types.AC_UNIT",
                "traits": [
                    "action.devices.traits.FanSpeed",
                    "action.devices.traits.OnOff",
                    "action.devices.traits.TemperatureSetting"
                ],
                "name": {
                    "name": "Air Conditioner"
                },
                "willReportState": false,
                "roomHint": "Room 1",
                "deviceInfo": {
                    "manufacturer": "man",
                    "model": "hs1234",
                    "hwVersion": "3.2",
                    "swVersion": "11.4"
                },
                "attributes": {
                    "availableFanSpeeds": {
                        "speeds": [
                            {
                                "speed_name": "speed_one",
                                "speed_values": [
                                    {
                                        "speed_synonym": [
                                            "one"
                                        ],
                                        "lang": "en"
                                    }
                                ]
                            },
                            {
                                "speed_name": "speed_two",
                                "speed_values": [
                                    {
                                        "speed_synonym": [
                                            "two"
                                        ],
                                        "lang": "en"
                                    }
                                ]
                            },
                            {
                                "speed_name": "speed_three",
                                "speed_values": [
                                    {
                                        "speed_synonym": [
                                            "three"
                                        ],
                                        "lang": "en"
                                    }
                                ]
                            },
                            {
                                "speed_name": "speed_four",
                                "speed_values": [
                                    {
                                        "speed_synonym": [
                                            "four"
                                        ],
                                        "lang": "en"
                                    }
                                ]
                            },
                            {
                                "speed_name": "speed_five",
                                "speed_values": [
                                    {
                                        "speed_synonym": [
                                            "five"
                                        ],
                                        "lang": "en"
                                    }
                                ]
                            }
                        ],
                        "ordered": true
                    },
                    "supportsFanSpeedPercent": false,
                    "availableThermostatModes": [
                        "off",
                        "heat",
                        "cool",
                        "fan-only",
                        "dry",
                        "on"
                    ],
                    "thermostatTemperatureRange": {
                        "minThresholdCelsius": 18,
                        "maxThresholdCelsius": 30
                    },
                    "thermostatTemperatureUnit": "C"
                }
            }
        ]
    }
}

针对Google的action.devices.QUERY请求,我返回的响应如下:

{
    "requestId": "request-id-providing-by-google",
    "payload": {
        "devices": {
            "device-id": {
                "status": "SUCCESS",
                "online": true,
                "on": true,
                "currentFanSpeedSetting": "speed-five",
                "thermostatMode": "off",
                "thermostatTemperatureAmbient": 25,
                "thermostatTemperatureSetpoint": 20,
                "thermostatHumidityAmbient": 100
            }
        }
    }
}

如上述配置所示,我已完成:

  • 指定空调单元支持On/Off、FanSpeed、TemperatureSetting三类特性
  • 为指定特性提供了所需的全部属性配置
  • 返回了设备及相关特性的当前状态值

但在Google Home App中查看该设备时,仅展示开关按钮,无风速和温度控制选项。
我排查了Google Cloud Logging的所有相关日志,未发现任何报错。
我也查阅了该主题下的相关问题讨论,但其中的回复和评论未解决我的问题。

请问我是否遗漏了某些参数或配置,导致这两类控件未正常显示?


7月11日更新
有官方开发人员的实用回复指出,当前Google Home手机端App暂不支持FanSpeed触控控件,可参考官方触控控件开发说明。
该说明无法解释TemperatureSetting控件缺失的问题,我已向Google提交了相关bug反馈,截至发文该bug尚未被分配处理。


内容的提问来源于stack exchange,提问作者Dominic Vermeulen-Smith

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.29 23:45:02