スマートホーム TemperatureControl の特性スキーマ

action.devices.traits.TemperatureControl - デバイス内またはデバイス周辺の温度制御をサポートするデバイス(サーモスタットを除く)のトレイト。

この点は、サーモスタット スタイルのコントロール専用の TemperatureSetting トレイトとは異なります。TemperatureSetting トレイトは周囲の温度(室温/屋外温度)を表すため、特定のデバイスの温度の制御には使用しないでください。特定のデバイスの温度を制御するには、TemperatureControl トレイトを使用する必要があります。

デバイスの属性

このトレイトを持つデバイスは、SYNC オペレーションの一部として次の属性をレポートできます。SYNC インテントの処理方法については、インテントのフルフィルメントをご覧ください。

属性 タイプ 説明
temperatureRange 温度計

必須。

デバイスでサポートされている温度範囲。

minThresholdCelsius 番号

必須。

範囲の最低温度(摂氏)。

maxThresholdCelsius 番号

必須。

範囲の最高温度(摂氏)。

temperatureStepCelsius 番号

相対温度のステップを指定します。デバイスでサポートされる最小調整間隔です。指定しない場合、相対的なステップは temperatureRange に対するパーセンテージとして計算されます。

temperatureUnitForUX 文字列

必須。

ユーザーに対するレスポンスで使用される温度の単位。

サポートされている値:

C
F
commandOnlyTemperatureControl ブール値

(デフォルト: false

デバイスが一方向(true)または双方向(false)の通信の使用をサポートしているかどうかを示します。デバイスがこのトレイトの QUERY インテントまたは Report State に応答できない場合は、この属性を true に設定します。

queryOnlyTemperatureControl ブール値

(デフォルト: false

デバイスが問い合わせのみの実行をサポートしている場合、必須。この属性は、デバイスが状態情報の照会のみが可能で、制御はできないかどうかを示します。

華氏 150 ~ 500 度(5 度単位)の制御に対応するデバイス。

{
  "temperatureRange": {
    "minThresholdCelsius": 65.5,
    "maxThresholdCelsius": 260
  },
  "temperatureStepCelsius": 2.778,
  "temperatureUnitForUX": "F"
}

デバイスのステータス

このトレイトを持つエンティティは、QUERY オペレーションの一部として次の状態をレポートできます。QUERY インテントの処理方法については、インテントのフルフィルメントをご覧ください。

状態 タイプ 説明
temperatureSetpointCelsius 番号

現在の設定温度(摂氏)。temperatureRange 以内である必要があります。queryOnlyTemperatureControlfalse に設定した場合は必須

temperatureAmbientCelsius 番号

現在観測されている気温(摂氏)。temperatureRange 以内である必要があります。

デバイスはどのくらいの温度に設定されていますか?

{
  "temperatureSetpointCelsius": 150
}

デバイスのコマンド

このトレイトを持つデバイスは、EXECUTE オペレーションの一部として次のコマンドに応答できます。EXECUTE インテントの処理方法については、インテントのフルフィルメントをご覧ください。

action.devices.commands.SetTemperature

温度を特定の値に設定します。

パラメータ

パラメータ タイプ 説明
temperature 番号

必須。

設定する温度(摂氏)。temperatureRange 以内である必要があります。

デバイスを華氏 350 度に設定します。

{
  "command": "action.devices.commands.SetTemperature",
  "params": {
    "temperature": 176.67
  }
}

設定温度の設定中にエラーが発生しました。

サポートされている値:

alreadyAtMax
alreadyAtMin
valueOutOfRange

サンプル音声

de-DE

  • Erhöhe die Temperatur des Ofens
  • Stelle die Temperatur des Ofens auf 425 Grad
  • Wie warm ist der Ofen

en-US

  • I want the temperature of the oven higher
  • current temperature in the fridge
  • set the oven to 400

es-ES

  • pon la temperatura del horno a 180 grados
  • sube la temperatura del horno
  • ¿A qué temperatura está el horno ?

fr-FR

  • Le four est à quelle température ?
  • Mets la température du four à 180 degrés .
  • augmente la température du four

hi-IN

  • ओवन का टेम्परेचर कितना है
  • ओवन का तापमान 425 डिग्री पर करें

it-IT

  • Alza la temperatura del forno
  • Qual è la temperatura del frigo ?
  • metti il forno a 200 gradi

ja-JP

  • オーブン の温度は何度
  • オーブン の温度を 425度 に設定して
  • オーブン の温度を上げて

ko-KR

  • 오븐 온도 180 도로 맞춰
  • 오븐 온도 몇 도야
  • 오븐 온도 좀 높여 줄래

nl-NL

  • stel de oven in op 220 graden
  • verhoog de temperatuur van de oven
  • wat is de temperatuur van de oven

pt-BR

  • Diz-me qual é a temperatura da sala
  • Qual é a temperatura do forno ?
  • ajuste a temperatura do forno para 180 graus
  • aumenta a temperatura do forno
  • aumentar a temperatura do forno
  • define a temperatura do termostato nos 22 graus

sv-SE

  • Vad är det för temperatur i ugnen ?
  • höj temperaturen i ugnen
  • sätt ugnen 100 grader

デバイスエラー

エラーと例外の全リストをご覧ください。