Wine Cellar
Device Profile
Supported features may vary by model and country.
Property
Resource |
Property |
Value | ||||
---|---|---|---|---|---|---|
Module Class |
Type |
Name |
Type |
R/W |
Value |
Description |
temperature |
List<Object> |
targetTemperature |
Range |
RW |
- |
Desired Temperature |
unit |
Enum |
R |
C |
Celsius |
||
R |
F |
Fahrenheit |
||||
locationName |
Enum |
R |
WINE_UPPER |
- | ||
R |
WINE_MIDDLE |
- | ||||
R |
WINE_LOWER |
- | ||||
operation | Object |
lightBrightness |
Enum |
RW |
OFF |
- |
RW |
35% |
- | ||||
RW |
70% |
- | ||||
RW |
100% |
- | ||||
RW |
MAIN ROOM |
-- | ||||
RW |
AUTO |
|||||
lightStatus |
Range |
RW |
||||
optimalHumidity
|
Enum |
RW |
ON |
- | ||
RW |
OFF |
- | ||||
sabbathMode |
Boolean |
R |
TRUE |
Sabbath Mode On |
||
R |
FALSE |
Sabbath Mode Off |
Notification (Push Message)
Push Code |
Description |
---|---|
DOOR_IS_OPEN |
The door is open. |
JSON
General Example
#Wine Cellar { "notification": { "push": [ "DOOR_IS_OPEN" ] }, "property": { "operation": { "optimalHumidity": { "mode": [ "r", "w" ], "type": "enum", "value": { "r": [ "OFF", "ON" ], "w": [ "OFF", "ON" ] } } }, "temperature": [ { "locationName": "WINE_UPPER", "targetTemperature": { "mode": [ "r", "w" ], "type": "range", "value": { "r": { "except": [], "max": 18, "min": 11, "step": 1 }, "w": { "except": [], "max": 18, "min": 11, "step": 1 } } }, "unit": "C" }, { "locationName": "WINE_LOWER", "targetTemperature": { "mode": [ "r", "w" ], "type": "range", "value": { "r": { "except": [], "max": 11, "min": 5, "step": 1 }, "w": { "except": [], "max": 11, "min": 5, "step": 1 } } }, "unit": "C" } ] } }
enum - lightBrightness
{ "notification": { "push": [ "DOOR_IS_OPEN" ] }, "property": { "operation": { "lightBrightness": { "mode": [ "r", "w" ], "type": "enum", "value": { "r": [ "100%", "35%", "70%", "OFF", "MAIN_ROOM" ], "w": [ "100%", "35%", "70%", "OFF", "MAIN_ROOM" ] } }, "optimalHumidity": { "mode": [ "r", "w" ], "type": "enum", "value": { "r": [ "OFF", "ON" ], "w": [ "OFF", "ON" ] } }, "sabbathMode": { "mode": [ "r" ], "type": "boolean", "value": { "r": [ false, true ] } } }, "temperature": [{ "locationName": "WINE_UPPER", "targetTemperature": { "mode": [ "r", "w" ], "type": "range", "value": { "r": { "except": [], "max": 18, "min": 5, "step": 1 }, "w": { "except": [], "max": 18, "min": 5, "step": 1 } } }, "unit": "C" }, { "locationName": "WINE_LOWER", "targetTemperature": { "mode": [ "r", "w" ], "type": "range", "value": { "r": { "except": [], "max": 18, "min": 5, "step": 1 }, "w": { "except": [], "max": 18, "min": 5, "step": 1 } } }, "unit": "C" } ] } }
range - lightStatus
{ "property": { "temperature": [{ "locationName": "WINE_UPPER", "unit": "C", "targetTemperature": { "type": "range", "mode": [ "r", "w" ], "value": { "r": { "max": 18, "min": 5, "step": 1, "except": [] }, "w": { "max": 18, "min": 5, "step": 1, "except": [] } } } }, { "locationName": "WINE_LOWER", "unit": "C", "targetTemperature": { "type": "range", "mode": [ "r", "w" ], "value": { "r": { "max": 18, "min": 5, "step": 1, "except": [] }, "w": { "max": 18, "min": 5, "step": 1, "except": [] } } } } ], "operation": { "lightStatus": { "type": "range", "mode": [ "r", "w" ], "value": { "r": { "max": 100, "min": 0, "step": 10 }, "w": { "max": 100, "min": 0, "step": 10 } } } } }, "notification": { "push": [ "DOOR_IS_OPEN" ] } }
Status Inquiry Result
Example
{ "operation": { "optimalHumidity": "OFF" }, "temperature": [{ "locationName": "WINE_UPPER", "targetTemperature": 18, "unit": "C" }, { "locationName": "WINE_LOWER", "targetTemperature": 11, "unit": "C" } ] }
enum - lightBrightness
{ "operation": { "lightBrightness": "OFF", "optimalHumidity": "OFF", "sabbathMode": false }, "temperature": [{ "locationName": "WINE_UPPER", "targetTemperature": 41, "unit": "F" }, { "locationName": "WINE_LOWER", "targetTemperature": 64, "unit": "F" } ] }
range - lightStatus
{ "temperature": [{ "targetTemperature": 18, "unit": "C", "locationName": "WINE_UPPER" }, { "targetTemperature": 18, "unit": "C", "locationName": "WINE_LOWER" } ], "operation": { "lightStatus": 100 } }
Control Command
Example
Temperature Control
{ "temperature": { "locationName": "WINE_LOWER", "targetTemperature": 6, "unit": "C" } }
Brightness Control
enum - lightBrightness
{ "operation": { "lightBrightness": "70%" } }
range - lightStatus
{ "operation": { "lightStatus": 90 } }