スマートホーム TemperatureControl の特性スキーマ
action.devices.traits.TemperatureControl - デバイス内または周辺の温度調節を行うデバイス(サーモスタットは除く)に使用するトレイト。
これは、サーモスタット スタイルのコントロール専用の TemperatureSetting トレイトとは異なります。TemperatureSetting トレイトは周囲温度(室内/屋外)を表します。特定のデバイスの温度を制御するために使用しないでください。特定のデバイスの温度を制御するには、TemperatureControl トレイトを使用する必要があります。
デバイスの属性
このトレイトを持つデバイスは、SYNC オペレーションの一部として次の属性を報告できます。SYNC インテントの処理の詳細については、インテントのフルフィルメントをご覧ください。
| 属性 | タイプ | 説明 |
|---|---|---|
temperatureRange |
オブジェクト |
必須。 デバイスでサポートされている温度範囲。 |
minThresholdCelsius |
数値 |
必須。 範囲の最低温度(摂氏)。 |
maxThresholdCelsius |
数値 |
必須。 範囲の最高温度(摂氏)。 |
temperatureStepCelsius |
数値 |
相対温度の刻みを指定します。これは、デバイスでサポートされている最小調整間隔です。指定しない場合、相対ステップは |
temperatureUnitForUX |
String |
必須。 ユーザーへのレスポンスで使用される温度の単位。 サポートされている値:
|
commandOnlyTemperatureControl |
ブール値 |
(デフォルト: デバイスが一方向(true)または双方向(false)の通信の使用をサポートしているかどうかを示します。デバイスがこのトレイトの QUERY インテントまたは Report State に応答できない場合は、この属性を true に設定します。 |
queryOnlyTemperatureControl |
ブール値 |
(デフォルト: デバイスが問い合わせのみの実行をサポートしている場合、必須。デバイスが、ステータス情報の問い合わせができるだけで、制御はできないかどうかを示します。 |
例
華氏 150 ~ 500 度(5 度刻み)の温度調節に対応しているデバイス。
{
"temperatureRange": {
"minThresholdCelsius": 65.5,
"maxThresholdCelsius": 260
},
"temperatureStepCelsius": 2.778,
"temperatureUnitForUX": "F"
}デバイスのステータス
このトレイトを持つエンティティは、QUERY オペレーションの一部として次のステータスを報告できます。QUERY インテントの処理の詳細については、インテントのフルフィルメントをご覧ください。
| 州 | タイプ | 説明 |
|---|---|---|
temperatureSetpointCelsius |
数値 |
現在の設定温度(摂氏)。 |
temperatureAmbientCelsius |
数値 |
現在の気温(摂氏)。 |
例
デバイスの設定温度は?
{
"temperatureSetpointCelsius": 150
}デバイスのコマンド
このトレイトを持つデバイスは、EXECUTE オペレーションの一部として次のコマンドに応答する場合があります。EXECUTE インテントの処理の詳細については、インテントのフルフィルメントをご覧ください。
action.devices.commands.SetTemperature
温度を特定の値に設定する。
パラメータ
| パラメータ | タイプ | 説明 |
|---|---|---|
temperature |
数値 |
必須。 設定する温度(摂氏)。 |
例
デバイスを 180 度に設定します。
{
"command": "action.devices.commands.SetTemperature",
"params": {
"temperature": 176.67
}
}関連するエラー
設定温度の設定中にエラーが発生しました。
サポートされている値:
alreadyAtMaxalreadyAtMinvalueOutOfRange
サンプル音声
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 på 100 grader