【问题标题】:is thermostatTemperatureAmbient required?是否需要 thermostatTemperatureAmbient?
【发布时间】:2021-06-15 20:28:56
【问题描述】:

我正在尝试在 google home 中实现 action.devices.types.AC_UNIT。 我的集线器是红外发射器,它用一个数据包保存以前的状态和命令。 正如您可能理解的那样,该设备对室温一无所知。

setTemperature 执行似乎需要 thermostatTemperatureAmbient。 我可以将所需的温度报告为环境温度,但是当我询问家里的温度时,谷歌会报告这个值。

【问题讨论】:

    标签: actions-on-google google-smart-home


    【解决方案1】:

    您应该使用thermostatTemperatureSetpoint 来设置所需的温度。环境温度应该是设备的实际温度读数。但是,由于您的设备实际上不会读取温度,您可以考虑改用 TemperatureControl 特征。

    【讨论】:

      猜你喜欢
      • 2020-11-06
      • 2012-01-27
      • 2021-07-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-08
      • 2019-08-16
      相关资源
      最近更新 更多