| Key | Value Type | Description |
|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| deviceType | String | device type. Plug |
| 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. Plug |
| power | String | ON/OFF state |
| version | String | the current Wi-Fi firmware version, e.g. V4.2 |
| hubDeviceId | String | device's parent Hub ID. 000000000000 when the device itself is a Hub or it is connected through Wi-Fi. |
| deviceType | commandType | Command | command parameter | Description |
|---|
| Plug | command | turnOn | default | set to ON state |
| Plug | command | turnOff | default | set to OFF state |