Google Assistant - 空调名称错误

问题描述 投票:0回答:1

我有 AC,设备名称是 TRIAL AC。当我尝试将交流模式更改为关闭模式时,它已成功更改,并且谷歌发送了 thermostatMode:off 的请求。 当我将没有 AC 的设备名称更改为 TRIAL 时,我尝试相同的命令“将 TRIAL 设置为关闭”,并且 google 发送请求为 on:off,因此开/关状态发生变化,但恒温器模式仍然像以前一样。

设备名称:TRIAL AC:将试用AC设置为关闭
谷歌请求 {“命令”:[{“设备”:[{“customData”:{“availableFanModes”:{“自动”:3,“高”:2,“低”:0,“中”:1},“可用模式":{"Auto":"3","Cool":"2","Dry":"5","Fan":"4","Off":"0"},"extendedServices":{} ,"services":{"FanService":"action.devices.commands.SetFanSpeed","OutletService":"action.devices.commands.OnOff","TemperatureService":"action.devices.commands.thermostatTemperatureAmbient","ThermostatModeService ":"action.devices.commands.ThermostatSetMode","ThermostatService":"action.devices.commands.ThermostatTemperatureSetpoint"}},"id":"1023-0"}],"execution":[{"command": "action.devices.commands.ThermostatSetMode","params":{"thermostatMode":"off"}}]}]}

设备名称:TRIAL:将试用交流设置为关闭
谷歌请求2 {“命令”:[{“设备”:[{“customData”:{“availableFanModes”:{“自动”:3,“高”:2,“低”:0,“中”:1},“可用模式":{"Auto":"3","Cool":"2","Dry":"5","Fan":"4","Off":"0"},"extendedServices":{} ,"services":{"FanService":"action.devices.commands.SetFanSpeed","OutletService":"action.devices.commands.OnOff","TemperatureService":"action.devices.commands.thermostatTemperatureAmbient","ThermostatModeService ":"action.devices.commands.ThermostatSetMode","ThermostatService":"action.devices.commands.ThermostatTemperatureSetpoint"}},"id":"1023-0"}],"execution":[{"command": "action.devices.commands.OnOff","params":{"on":false}}]}]}

google-home google-smart-home google-assistant
1个回答
0
投票

Google 使用自然语言理解模型来分析用户请求并尝试解释用户想要实现的目标。当该系统使用用户可以为其设备设置的任何名称时,它将从其知识库中选择最可能的选项。

当您将设备类型作为同一设备类型(“AC”)的一部分时,NLU 似乎会给出不同的结果。我们不建议在名称中包含设备类型。

“将 X 设置为关闭”命令的预期结果是触发开/关特性(而不是恒温器模式)。要更改设备的模式,您可以尝试“将 X 设置为关闭模式”。另请注意,您在同一设备中使用开/关特征和恒温器特征,我们不建议这样做。对于恒温器,我们的建议是仅提供 ThermostatMode 特征。

© www.soinside.com 2019 - 2024. All rights reserved.