| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| deviceType | String | device type. Circulator Fan |
| 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 |
| deviceName | String | device name |
| deviceType | String | device type. Circulator Fan |
| mode | String | fan mode. direct mode: direct; natural mode: "natural"; sleep mode: "sleep"; ultra quiet mode: "baby" |
| version | String | the current firmware version, e.g. V4.2 |
| power | String | ON/OFF state |
| nightStatus | String | set nightlight status. turn off: off; mode 1: 1; mode 2: 2 |
| oscillation | String | set horizontal oscillation. turn on: on; turn off: off |
| verticalOscillation | String | set vertical oscillation. turn on: on; turn off: off |
| fanSpeed | Integer | fan speed. 1~100 |
| deviceType | commandType | Command | command parameter | Description |
|---|
| Circulator Fan | command | turnOff | default | Set to OFF state |
| Circulator Fan | command | turnOn | default | Set to ON state |
| Circulator Fan | command | setNightLightMode | off, 1, or 2 | off, turn off nightlight,
1, bright
2, dim |
| Circulator Fan | command | setWindMode | direct, natural, sleep, or baby | Set fan mode. direct: direct mode. natural: natural mode. sleep: sleep mode. baby: ultra quiet mode |
| Circulator Fan | command | setWindSpeed | {1-100} e.g. 10 | Set fan speed.1~100 |
| Circulator Fann | command | closeDelay | {1-36000} e.g. 10 | Set fan close time |
| 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 mode: direct; natural mode: "natural"; sleep mode: "sleep"; ultra quiet mode: "baby" |
| version | String | the current firmware version, e.g. V4.2 |
| powerState | String | ON/OFF state |
| nightStatus | Integer | set nightlight status. turn off: off; mode 1: 1; mode 2: 2 |
| oscillation | String | set horizontal oscillation. turn on: on; turn off: off |
| verticalOscillation | String | set vertical oscillation. turn on: on; turn off: off |
| fanSpeed | Integer | fan speed. 1~100 |
| timeOfSample | Long | the time stamp when the event is sent |
{
"eventType": "changeReport",
"eventVersion": "1",
"context": {
"deviceType": "WoFan2",
"deviceMac": DEVICE_MAC_ADDR,
"mode": "direct",
"version": "V3.1",
"powerState": "ON",
"nightStatus": "off",
"oscillation": "on",
"verticalOscillation": "on",
"fanSpeed": 3,
"timeOfSample": 123456789
}
}