|
| 1 | +{ |
| 2 | + "component_nego": { |
| 3 | + "component_list": [ |
| 4 | + { |
| 5 | + "id": "device", |
| 6 | + "ver_code": 2 |
| 7 | + }, |
| 8 | + { |
| 9 | + "id": "firmware", |
| 10 | + "ver_code": 2 |
| 11 | + }, |
| 12 | + { |
| 13 | + "id": "quick_setup", |
| 14 | + "ver_code": 3 |
| 15 | + }, |
| 16 | + { |
| 17 | + "id": "inherit", |
| 18 | + "ver_code": 1 |
| 19 | + }, |
| 20 | + { |
| 21 | + "id": "time", |
| 22 | + "ver_code": 1 |
| 23 | + }, |
| 24 | + { |
| 25 | + "id": "wireless", |
| 26 | + "ver_code": 1 |
| 27 | + }, |
| 28 | + { |
| 29 | + "id": "account", |
| 30 | + "ver_code": 1 |
| 31 | + }, |
| 32 | + { |
| 33 | + "id": "synchronize", |
| 34 | + "ver_code": 1 |
| 35 | + }, |
| 36 | + { |
| 37 | + "id": "sunrise_sunset", |
| 38 | + "ver_code": 1 |
| 39 | + }, |
| 40 | + { |
| 41 | + "id": "led", |
| 42 | + "ver_code": 1 |
| 43 | + }, |
| 44 | + { |
| 45 | + "id": "cloud_connect", |
| 46 | + "ver_code": 1 |
| 47 | + }, |
| 48 | + { |
| 49 | + "id": "iot_cloud", |
| 50 | + "ver_code": 1 |
| 51 | + }, |
| 52 | + { |
| 53 | + "id": "child_device", |
| 54 | + "ver_code": 1 |
| 55 | + }, |
| 56 | + { |
| 57 | + "id": "child_quick_setup", |
| 58 | + "ver_code": 1 |
| 59 | + }, |
| 60 | + { |
| 61 | + "id": "child_inherit", |
| 62 | + "ver_code": 1 |
| 63 | + }, |
| 64 | + { |
| 65 | + "id": "control_child", |
| 66 | + "ver_code": 1 |
| 67 | + }, |
| 68 | + { |
| 69 | + "id": "alarm", |
| 70 | + "ver_code": 1 |
| 71 | + }, |
| 72 | + { |
| 73 | + "id": "device_load", |
| 74 | + "ver_code": 1 |
| 75 | + }, |
| 76 | + { |
| 77 | + "id": "device_local_time", |
| 78 | + "ver_code": 1 |
| 79 | + }, |
| 80 | + { |
| 81 | + "id": "alarm_logs", |
| 82 | + "ver_code": 1 |
| 83 | + } |
| 84 | + ] |
| 85 | + }, |
| 86 | + "discovery_result": { |
| 87 | + "device_id": "00000000000000000000000000000000", |
| 88 | + "device_model": "KH100(EU)", |
| 89 | + "device_type": "SMART.KASAHUB", |
| 90 | + "factory_default": false, |
| 91 | + "ip": "127.0.0.123", |
| 92 | + "is_support_iot_cloud": true, |
| 93 | + "mac": "A8-42-A1-00-00-00", |
| 94 | + "mgt_encrypt_schm": { |
| 95 | + "encrypt_type": "AES", |
| 96 | + "http_port": 80, |
| 97 | + "is_support_https": false, |
| 98 | + "lv": 2 |
| 99 | + }, |
| 100 | + "obd_src": "tplink", |
| 101 | + "owner": "00000000000000000000000000000000" |
| 102 | + }, |
| 103 | + "get_alarm_configure": { |
| 104 | + "duration": 300, |
| 105 | + "type": "Doorbell Ring 1", |
| 106 | + "volume": "high" |
| 107 | + }, |
| 108 | + "get_auto_update_info": { |
| 109 | + "enable": true, |
| 110 | + "random_range": 120, |
| 111 | + "time": 180 |
| 112 | + }, |
| 113 | + "get_child_device_component_list": { |
| 114 | + "child_component_list": [], |
| 115 | + "start_index": 0, |
| 116 | + "sum": 0 |
| 117 | + }, |
| 118 | + "get_child_device_list": { |
| 119 | + "child_device_list": [], |
| 120 | + "start_index": 0, |
| 121 | + "sum": 0 |
| 122 | + }, |
| 123 | + "get_connect_cloud_state": { |
| 124 | + "status": 1 |
| 125 | + }, |
| 126 | + "get_device_info": { |
| 127 | + "avatar": "", |
| 128 | + "device_id": "0000000000000000000000000000000000000000", |
| 129 | + "fw_id": "00000000000000000000000000000000", |
| 130 | + "fw_ver": "1.2.3 Build 221012 Rel.103821", |
| 131 | + "has_set_location_info": false, |
| 132 | + "hw_id": "00000000000000000000000000000000", |
| 133 | + "hw_ver": "1.0", |
| 134 | + "in_alarm": false, |
| 135 | + "in_alarm_source": "", |
| 136 | + "ip": "127.0.0.123", |
| 137 | + "lang": "", |
| 138 | + "latitude": 0, |
| 139 | + "longitude": 0, |
| 140 | + "mac": "A8-42-A1-00-00-00", |
| 141 | + "model": "KH100", |
| 142 | + "nickname": "I01BU0tFRF9OQU1FIw==", |
| 143 | + "oem_id": "00000000000000000000000000000000", |
| 144 | + "overheated": false, |
| 145 | + "region": "", |
| 146 | + "rssi": -61, |
| 147 | + "signal_level": 2, |
| 148 | + "specs": "EU", |
| 149 | + "ssid": "I01BU0tFRF9TU0lEIw==", |
| 150 | + "time_diff": 0, |
| 151 | + "type": "SMART.KASAHUB" |
| 152 | + }, |
| 153 | + "get_device_load_info": { |
| 154 | + "cur_load_num": 0, |
| 155 | + "load_level": "light", |
| 156 | + "max_load_num": 64, |
| 157 | + "total_memory": 4352, |
| 158 | + "used_memory": 250 |
| 159 | + }, |
| 160 | + "get_device_time": { |
| 161 | + "region": "", |
| 162 | + "time_diff": 0, |
| 163 | + "timestamp": 1725109066 |
| 164 | + }, |
| 165 | + "get_device_usage": {}, |
| 166 | + "get_fw_download_state": { |
| 167 | + "auto_upgrade": false, |
| 168 | + "download_progress": 0, |
| 169 | + "reboot_time": 5, |
| 170 | + "status": 0, |
| 171 | + "upgrade_time": 5 |
| 172 | + }, |
| 173 | + "get_inherit_info": null, |
| 174 | + "get_led_info": { |
| 175 | + "led_rule": "always", |
| 176 | + "led_status": true, |
| 177 | + "night_mode": { |
| 178 | + "end_time": 420, |
| 179 | + "night_mode_type": "sunrise_sunset", |
| 180 | + "start_time": 1140, |
| 181 | + "sunrise_offset": 0, |
| 182 | + "sunset_offset": 0 |
| 183 | + } |
| 184 | + }, |
| 185 | + "get_support_alarm_type_list": { |
| 186 | + "alarm_type_list": [ |
| 187 | + "Doorbell Ring 1", |
| 188 | + "Doorbell Ring 2", |
| 189 | + "Doorbell Ring 3", |
| 190 | + "Doorbell Ring 4", |
| 191 | + "Doorbell Ring 5", |
| 192 | + "Doorbell Ring 6", |
| 193 | + "Doorbell Ring 7", |
| 194 | + "Doorbell Ring 8", |
| 195 | + "Doorbell Ring 9", |
| 196 | + "Doorbell Ring 10", |
| 197 | + "Phone Ring", |
| 198 | + "Alarm 1", |
| 199 | <
93C6
code class="diff-text syntax-highlighted-line addition">+ "Alarm 2", |
| 200 | + "Alarm 3", |
| 201 | + "Alarm 4", |
| 202 | + "Dripping Tap", |
| 203 | + "Alarm 5", |
| 204 | + "Connection 1", |
| 205 | + "Connection 2" |
| 206 | + ] |
| 207 | + }, |
| 208 | + "get_support_child_device_category": { |
| 209 | + "device_category_list": [ |
| 210 | + { |
| 211 | + "category": "subg.trv" |
| 212 | + }, |
| 213 | + { |
| 214 | + "category": "subg.trigger" |
| 215 | + }, |
| 216 | + { |
| 217 | + "category": "subg.plugswitch" |
| 218 | + } |
| 219 | + ] |
| 220 | + }, |
| 221 | + "get_wireless_scan_info": { |
| 222 | + "ap_list": [], |
| 223 | + "start_index": 0, |
| 224 | + "sum": 0, |
| 225 | + "wep_supported": false |
| 226 | + }, |
| 227 | + "qs_component_nego": { |
| 228 | + "component_list": [ |
| 229 | + { |
| 230 | + "id": "quick_setup", |
| 231 | + "ver_code": 3 |
| 232 | + }, |
| 233 | + { |
| 234 | + "id": "sunrise_sunset", |
| 235 | + "ver_code": 1 |
| 236 | + }, |
| 237 | + { |
| 238 | + "id": "iot_cloud", |
| 239 | + "ver_code": 1 |
| 240 | + }, |
| 241 | + { |
| 242 | + "id": "inherit", |
| 243 | + "ver_code": 1 |
| 244 | + }, |
| 245 | + { |
| 246 | + "id": "firmware", |
| 247 | + "ver_code": 2 |
| 248 | + } |
| 249 | + ], |
| 250 | + "extra_info": { |
| 251 | + "device_model": "KH100", |
| 252 | + "device_type": "SMART.KASAHUB" |
| 253 | + } |
| 254 | + } |
| 255 | +} |
0 commit co 31AF mments