| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| deviceType | String | device type. Battery Circulator Fan 2 Pro |
| 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. Battery Circulator Fan 2 Pro |
| hubDeviceId | String | device's parent Hub ID |
| mode | String | fan mode. direct, natural, sleep, hurricane, or custom |
| version | String | the current firmware version, e.g. V6.3 |
| power | String | ON/OFF state. on or off |
| onlineStatus | String | the connection status. online or offline |
| nightStatus | String | nightlight state. on or off |
| oscillation | String | horizontal oscillation. on or off |
| verticalOscillation | String | vertical oscillation. on or off |
| chargingStatus | String | battery charge status. charging or uncharged |
| fanSpeed | Integer | fan speed. 1-100 |
| deviceType | commandType | Command | command parameter | Description |
|---|
| Battery Circulator Fan 2 Pro | command | turnOff | default | set to OFF state |
| Battery Circulator Fan 2 Pro | command | turnOn | default | set to ON state |
| Battery Circulator Fan 2 Pro | command | setNightLightMode | off, 0, or 1 | off, turn off; 0, bright; 1, soft |
| Battery Circulator Fan 2 Pro | command | setWindMode | direct, natural, sleep, or hurricane | set fan mode |
| Battery Circulator Fan 2 Pro | command | setWindSpeed | {1-100}, e.g. 10 | set fan speed |
| 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 |
| mode | String | fan mode. direct, natural, sleep, or hurricane |
| powerState | String | ON/OFF state |
| nightStatus | String | nightlight state. on or off |
| oscillation | String | horizontal oscillation. on or off |
| verticalOscillation | String | vertical oscillation. on or off |
| fanSpeed | Integer | fan speed |
| timeOfSample | Long | the time stamp when the event is sent |
{
"eventType": "changeReport",
"eventVersion": "1",
"context": {
"deviceType": "Battery Circulator Fan 2 Pro",
"deviceMac": DEVICE_MAC_ADDR,
"mode": "direct",
"powerState": "ON",
"nightStatus": "off",
"oscillation": "on",
"verticalOscillation": "on",
"fanSpeed": 3,
"timeOfSample": 123456789
}
}