| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| deviceType | String | device type. RGBICWW Ceiling Light |
| enableCloudService | Boolean | determines if Cloud Service is enabled or not for the current device |
| hubDeviceId | String | device's parent Hub ID |
| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceType | String | device type. RGBICWW Ceiling Light |
| hubDeviceId | String | device's parent Hub ID |
| version | String | the current firmware version, e.g. V6.3 |
| power | String | total power state. on, off, or partial |
| onlineStatus | String | the connection status. online or offline |
| mainLightPower | String | main light power state. on or off |
| mainLightBrightness | Integer | main light brightness |
| mainLightColorTemp | Integer | main light color temperature |
| colorLightPower | String | color light power state. on or off |
| colorLightBrightness | Integer | color light brightness |
| colorLightRGB | String | color light RGB value |
| deviceType | commandType | Command | command parameter | Description |
|---|
| RGBICWW Ceiling Light | command | turnOn | default | turn on all lights |
| RGBICWW Ceiling Light | command | turnOff | default | turn off all lights |
| RGBICWW Ceiling Light | command | toggle | default | toggle all lights |
| RGBICWW Ceiling Light | command | turnOnMainLight | default | turn on main light |
| RGBICWW Ceiling Light | command | turnOffMainLight | default | turn off main light |
| RGBICWW Ceiling Light | command | turnOnColorLight | default | turn on color light |
| RGBICWW Ceiling Light | command | turnOffColorLight | default | turn off color light |
| RGBICWW Ceiling Light | command | setMainLightBrightness | {1-100} | set main light brightness |
| RGBICWW Ceiling Light | command | setMainLightColorTemp | {2700-6500} | set main light color temp |
| RGBICWW Ceiling Light | command | setColorLightBrightness | {1-100} | set color light brightness |
| RGBICWW Ceiling Light | command | setColorLightRGB | "{0-255}:{0-255}:{0-255}" | set color light RGB value |
| 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 | main light state. ON or OFF |
| brightness | Integer | main light brightness |
| colorTemperature | Integer | main light color temperature |
| colorLightPowerState | String | color light state. ON or OFF |
| colorLightBrightness | Integer | color light brightness |
| colorLightColor | String | color light RGB value |
| timeOfSample | Long | the time stamp when the event is sent |
{
"eventType": "changeReport",
"eventVersion": "1",
"context": {
"deviceType": "RGBICWW Ceiling Light",
"deviceMac": DEVICE_MAC_ADDR,
"powerState": "ON",
"brightness": 10,
"colorTemperature": 3000,
"colorLightPowerState": "ON",
"colorLightBrightness": 30,
"colorLightColor": "255:134:3",
"timeOfSample": 123456789
}
}