Hood
Device Profile
Supported features may vary by model and country.
Property
Resource |
Property |
Value | ||||
---|---|---|---|---|---|---|
Module Class |
Type |
Name |
Type |
R/W |
Value |
Description |
ventilation |
Object |
fanSpeed |
Range |
RW |
- |
Fan Speed |
lamp | Object |
lampBrightness |
Range |
RW |
- |
Lamp Brightness |
operation | Object |
hoodOperationMode |
Enum |
R |
POWER_ON |
Hood On |
R |
POWER_OFF |
Hood Off |
||||
timer | Object |
remainMinute |
Range |
R |
- |
Remaining Time (Minutes) |
remainSecond |
Range |
R |
- |
Remaining Time (Seconds) |
Notification (Push Message)
N/A
JSON
{ "property": { "ventilation": { "fanSpeed": { "type": "range", "mode": [ "r", "w" ], "value": { "r": { "max": 5, "min": 0, "step": 1 }, "w": { "max": 5, "min": 0, "step": 1 } } } }, "lamp": { "lampBrightness": { "type": "range", "mode": [ "r", "w" ], "value": { "r": { "max": 2, "min": 0, "step": 1 }, "w": { "max": 2, "min": 0, "step": 1 } } } }, "operation": { "hoodOperationMode": { "type": "enum", "mode": [ "r" ], "value": { "r": [ "POWER_OFF", "POWER_ON" ] } } }, "timer": { "remainMinute": { "type": "range", "mode": [ "r" ], "value": { "r": { "max": 59, "min": 0, "step": 1 } } }, "remainSecond": { "type": "range", "mode": [ "r" ], "value": { "r": { "max": 59, "min": 0, "step": 1 } } } } } }
Status Inquiry Result
Example
{ "operation": { "hoodOperationMode": "POWER_ON" }, "lamp": { "lampBrightness": 2 }, "ventilation": { "fanSpeed": 1 }, "timer": { "remainMinute": 3, "remainSecond": 25 } }
Control Command
Example
Setting lamp brightness and fan speed
The lampBrightness
and fanSpeed
must be commanded at the same time to be controlled.
{ "lamp": { "lampBrightness": 1 }, "ventilation": { "fanSpeed": 0 } }