スマートホーム TemperatureControl の特性スキーマ
action.devices.traits.TemperatureControl
- デバイスの内部または周囲で、温度の制御をサポートするデバイス(サーモスタット以外)の特性。
これは、特にサーモスタット スタイルのコントロールに特化した TemperatureSetting トレイトとは異なります。TemperatureSetting トレイトは、周囲温度(室外/屋外)の温度を表します。特定のデバイスの温度制御には使用しないでください。特定のデバイスの温度を制御するには、TemperatureControl トレイトを使用する必要があります。
デバイスの属性
この特性を持つデバイスは、SYNC
オペレーションの一部として次の属性を報告する可能性があります。SYNC
インテントの処理の詳細については、インテント フルフィルメントをご覧ください。
属性 | タイプ | 説明 |
---|---|---|
temperatureRange |
オブジェクト |
必須。 デバイスでサポートされている温度範囲。 |
minThresholdCelsius |
Number |
必須。 範囲の最低気温(摂氏)。 |
maxThresholdCelsius |
Number |
必須。 範囲の最高気温(摂氏)。 |
temperatureStepCelsius |
Number |
相対温度のステップを指定します。これは、デバイスがサポートする最小調整間隔です。指定しない場合、相対ステップは |
temperatureUnitForUX |
文字列 |
必須。 ユーザーへのレスポンスで使用されている温度の単位。 サポートされている値:
|
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 |
Number |
現在の設定温度(摂氏)。 |
temperatureAmbientCelsius |
Number |
現在観測している温度(摂氏)。 |
例
デバイスに設定されている温度は?
{ "temperatureSetpointCelsius": 150 }
デバイスのコマンド
この特性を持つデバイスは、EXECUTE
オペレーションの一部として次のコマンドに応答できます。EXECUTE
インテントの処理の詳細については、インテント フルフィルメントをご覧ください。
action.devices.commands.SetTemperature
温度を特定の値に設定します。
パラメータ
パラメータ | タイプ | 説明 |
---|---|---|
temperature |
Number |
必須。 設定する温度(摂氏)。 |
例
デバイスを 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 auf425 Grad -
Wie warm ist
der Ofen
en-US
-
I want the temperature of
the oven higher -
current temperature in
the fridge -
set
the oven to400
es-ES
-
pon la temperatura del
horno a180 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 a200 gradi
ja-JP
-
オーブン の温度は何度 -
オーブン の温度を425度 に設定して -
オーブン の温度を上げて
ko-KR
-
오븐 온도180 도로 맞춰 -
오븐 온도 몇 도야 -
오븐 온도 좀 높여 줄래
nl-NL
-
stel
de oven in op220 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 para180 graus -
aumenta a temperatura do
forno -
aumentar a temperatura do
forno -
define a temperatura do
termostato nos22 graus
sv-SE
-
Vad är det för temperatur i
ugnen ? -
höj temperaturen i
ugnen -
sätt
ugnen på100 grader