| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| deviceType | String | device type. Candle Warmer Lamp |
| enableCloudService | Boolean | determines if Cloud Service is enabled or not for the current device |
| hubDeviceId | String | device's parent Hub ID. 000000000000 when the device itself is a Hub or it is connected through Wi-Fi. |
| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceType | String | device type. Candle Warmer Lamp |
| hubDeviceId | String | device's parent Hub ID |
| onlineStatus | String | the connection status of the device. online or offline |
| brightness | Integer | the brightness value, range from 1 to 100 |
| version | String | the current BLE and Wi-Fi firmware version, e.g. V3.1-6.3 |
| power | String | ON/OFF state |
| deviceType | commandType | Command | command parameter | Description |
|---|
| Candle Warmer Lamp | command | turnOn | default | set to ON state |
| Candle Warmer Lamp | command | turnOff | default | set to OFF state |
| Candle Warmer Lamp | command | toggle | default | toggle state |
| Candle Warmer Lamp | command | setBrightness | {0-100} | set brightness |
| Key Name | Value Type | Description |
|---|
| eventType | String | the type of events |
| eventVersion | String | the current event version |
| context | Object | the detail info of the event |
| deviceType | String | the type of the device |
| deviceMac | String | the MAC address of the device |
| powerState | String | ON/OFF state |
| brightness | Integer | attributes of the context object. the brightness value, range from 1 to 100 |
| timeOfSample | Long | the time stamp when the event is sent |
{
"eventType": "changeReport",
"eventVersion": "1",
"context": {
"brightness": 100,
"deviceMac": "3C842777C07E",
"deviceType": "Candle Warmer Lamp",
"powerState": "ON",
"timeOfSample": 1759136920594
}
}