python-kasa 0.6.0.dev2__py3-none-any.whl → 0.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. kasa/__init__.py +2 -2
  2. kasa/aestransport.py +154 -101
  3. kasa/cli.py +42 -23
  4. kasa/device_factory.py +4 -3
  5. kasa/deviceconfig.py +19 -10
  6. kasa/discover.py +28 -11
  7. kasa/exceptions.py +15 -1
  8. kasa/httpclient.py +113 -0
  9. kasa/iotprotocol.py +30 -26
  10. kasa/json.py +5 -1
  11. kasa/klaptransport.py +60 -75
  12. kasa/modules/emeter.py +1 -1
  13. kasa/protocol.py +61 -16
  14. kasa/smartbulb.py +2 -2
  15. kasa/smartdevice.py +11 -7
  16. kasa/smartdimmer.py +2 -2
  17. kasa/smartlightstrip.py +2 -2
  18. kasa/smartplug.py +2 -2
  19. kasa/smartprotocol.py +16 -38
  20. kasa/smartstrip.py +2 -2
  21. kasa/tapo/tapodevice.py +19 -4
  22. kasa/tapo/tapoplug.py +2 -2
  23. kasa/tests/conftest.py +24 -8
  24. kasa/tests/fixtures/HS100(UK)_1.0_1.2.6.json +28 -0
  25. kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +3 -3
  26. kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +11 -23
  27. kasa/tests/fixtures/HS110(EU)_4.0_1.0.4.json +40 -0
  28. kasa/tests/fixtures/HS300(US)_2.0_1.0.12.json +90 -0
  29. kasa/tests/fixtures/KL125(US)_4.0_1.0.5.json +93 -0
  30. kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +15 -15
  31. kasa/tests/fixtures/KL430(US)_2.0_1.0.11.json +59 -0
  32. kasa/tests/fixtures/KP105(UK)_1.0_1.0.5.json +36 -0
  33. kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +4 -4
  34. kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +9 -9
  35. kasa/tests/fixtures/KP115(US)_1.0_1.0.21.json +42 -0
  36. kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +9 -25
  37. kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +414 -0
  38. kasa/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +263 -0
  39. kasa/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +295 -0
  40. kasa/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +267 -0
  41. kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +19 -19
  42. kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +12 -12
  43. kasa/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +439 -0
  44. kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +10 -10
  45. kasa/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +428 -0
  46. kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +98 -20
  47. kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +390 -0
  48. kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +397 -0
  49. kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +415 -0
  50. kasa/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +429 -0
  51. kasa/tests/fixtures/smart/P100_1.0.0_1.3.7.json +197 -0
  52. kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +28 -19
  53. kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +31 -31
  54. kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +11 -11
  55. kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +317 -0
  56. kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +317 -0
  57. kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +309 -0
  58. kasa/tests/newfakes.py +3 -0
  59. kasa/tests/test_aestransport.py +110 -22
  60. kasa/tests/test_cli.py +49 -2
  61. kasa/tests/test_device_factory.py +6 -4
  62. kasa/tests/test_deviceconfig.py +24 -9
  63. kasa/tests/test_discovery.py +126 -9
  64. kasa/tests/test_httpclient.py +100 -0
  65. kasa/tests/test_klapprotocol.py +70 -23
  66. kasa/tests/test_protocol.py +76 -2
  67. kasa/tests/test_smartprotocol.py +0 -1
  68. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/METADATA +37 -15
  69. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/RECORD +72 -49
  70. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/LICENSE +0 -0
  71. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/WHEEL +0 -0
  72. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/entry_points.txt +0 -0
@@ -86,7 +86,7 @@
86
86
  "factory_default": false,
87
87
  "ip": "127.0.0.123",
88
88
  "is_support_iot_cloud": true,
89
- "mac": "00-00-00-00-00-00",
89
+ "mac": "48-22-54-00-00-00",
90
90
  "mgt_encrypt_schm": {
91
91
  "encrypt_type": "AES",
92
92
  "http_port": 80,
@@ -140,7 +140,7 @@
140
140
  "lang": "en_US",
141
141
  "latitude": 0,
142
142
  "longitude": 0,
143
- "mac": "00-00-00-00-00-00",
143
+ "mac": "48-22-54-00-00-00",
144
144
  "model": "P110",
145
145
  "nickname": "I01BU0tFRF9OQU1FIw==",
146
146
  "oem_id": "00000000000000000000000000000000",
@@ -158,23 +158,23 @@
158
158
  "get_device_time": {
159
159
  "region": "Europe/Berlin",
160
160
  "time_diff": 60,
161
- "timestamp": 1704212614
161
+ "timestamp": 1705699998
162
162
  },
163
163
  "get_device_usage": {
164
164
  "power_usage": {
165
- "past30": 896,
166
- "past7": 259,
167
- "today": 0
165
+ "past30": 1010,
166
+ "past7": 368,
167
+ "today": 46
168
168
  },
169
169
  "saved_power": {
170
- "past30": 23138,
171
- "past7": 6684,
172
- "today": 0
170
+ "past30": 26144,
171
+ "past7": 9536,
172
+ "today": 1218
173
173
  },
174
174
  "time_usage": {
175
- "past30": 24034,
176
- "past7": 6943,
177
- "today": 0
175
+ "past30": 27154,
176
+ "past7": 9904,
177
+ "today": 1264
178
178
  }
179
179
  },
180
180
  "get_electricity_price_config": {
@@ -316,11 +316,11 @@
316
316
  0,
317
317
  0
318
318
  ],
319
- "local_time": "2024-01-02 17:23:34",
320
- "month_energy": 0,
321
- "month_runtime": 0,
322
- "today_energy": 0,
323
- "today_runtime": 0
319
+ "local_time": "2024-01-19 22:33:18",
320
+ "month_energy": 430,
321
+ "month_runtime": 11571,
322
+ "today_energy": 46,
323
+ "today_runtime": 1264
324
324
  },
325
325
  "get_fw_download_state": {
326
326
  "auto_upgrade": false,
@@ -341,7 +341,7 @@
341
341
  }
342
342
  },
343
343
  "get_max_power": {
344
- "max_power": 3847
344
+ "max_power": 3904
345
345
  },
346
346
  "get_next_event": {},
347
347
  "get_protection_power": {
@@ -356,7 +356,16 @@
356
356
  "sum": 0
357
357
  },
358
358
  "get_wireless_scan_info": {
359
- "ap_list": [],
359
+ "ap_list": [
360
+ {
361
+ "bssid": "000000000000",
362
+ "channel": 0,
363
+ "cipher_type": 2,
364
+ "key_type": "wpa_psk",
365
+ "signal_level": 3,
366
+ "ssid": "I01BU0tFRF9TU0lEIw=="
367
+ }
368
+ ],
360
369
  "wep_supported": false
361
370
  },
362
371
  "qs_component_nego": {
@@ -94,7 +94,7 @@
94
94
  "factory_default": false,
95
95
  "ip": "127.0.0.123",
96
96
  "is_support_iot_cloud": true,
97
- "mac": "00-00-00-00-00-00",
97
+ "mac": "48-22-54-00-00-00",
98
98
  "mgt_encrypt_schm": {
99
99
  "encrypt_type": "KLAP",
100
100
  "http_port": 80,
@@ -137,7 +137,7 @@
137
137
  ]
138
138
  },
139
139
  "get_current_power": {
140
- "current_power": 11
140
+ "current_power": 0
141
141
  },
142
142
  "get_device_info": {
143
143
  "auto_off_remain_time": 0,
@@ -148,7 +148,7 @@
148
148
  "type": "last_states"
149
149
  },
150
150
  "device_id": "0000000000000000000000000000000000000000",
151
- "device_on": true,
151
+ "device_on": false,
152
152
  "fw_id": "00000000000000000000000000000000",
153
153
  "fw_ver": "1.3.0 Build 230905 Rel.152200",
154
154
  "has_set_location_info": true,
@@ -158,17 +158,17 @@
158
158
  "lang": "en_US",
159
159
  "latitude": 0,
160
160
  "longitude": 0,
161
- "mac": "00-00-00-00-00-00",
161
+ "mac": "48-22-54-00-00-00",
162
162
  "model": "P110",
163
163
  "nickname": "I01BU0tFRF9OQU1FIw==",
164
164
  "oem_id": "00000000000000000000000000000000",
165
- "on_time": 3087,
165
+ "on_time": 0,
166
166
  "overcurrent_status": "normal",
167
167
  "overheated": false,
168
168
  "power_protection_status": "normal",
169
169
  "region": "Europe/London",
170
- "rssi": -50,
171
- "signal_level": 2,
170
+ "rssi": -45,
171
+ "signal_level": 3,
172
172
  "specs": "",
173
173
  "ssid": "I01BU0tFRF9TU0lEIw==",
174
174
  "time_diff": 0,
@@ -177,23 +177,23 @@
177
177
  "get_device_time": {
178
178
  "region": "Europe/London",
179
179
  "time_diff": 0,
180
- "timestamp": 1703934043
180
+ "timestamp": 1705742730
181
181
  },
182
182
  "get_device_usage": {
183
183
  "power_usage": {
184
- "past30": 2090,
185
- "past7": 1171,
186
- "today": 9
184
+ "past30": 3205,
185
+ "past7": 0,
186
+ "today": 0
187
187
  },
188
188
  "saved_power": {
189
- "past30": 31616,
190
- "past7": 5033,
191
- "today": 42
189
+ "past30": 26000,
190
+ "past7": 7265,
191
+ "today": 3
192
192
  },
193
193
  "time_usage": {
194
- "past30": 33706,
195
- "past7": 6204,
196
- "today": 51
194
+ "past30": 29205,
195
+ "past7": 7265,
196
+ "today": 3
197
197
  }
198
198
  },
199
199
  "get_electricity_price_config": {
@@ -329,17 +329,17 @@
329
329
  "type": "constant"
330
330
  },
331
331
  "get_energy_usage": {
332
- "current_power": 11300,
332
+ "current_power": 0,
333
333
  "electricity_charge": [
334
334
  0,
335
335
  0,
336
336
  0
337
337
  ],
338
- "local_time": "2023-12-30 11:00:43",
339
- "month_energy": 2090,
340
- "month_runtime": 33706,
341
- "today_energy": 9,
342
- "today_runtime": 51
338
+ "local_time": "2024-01-20 09:25:31",
339
+ "month_energy": 1421,
340
+ "month_runtime": 19742,
341
+ "today_energy": 0,
342
+ "today_runtime": 3
343
343
  },
344
344
  "get_fw_download_state": {
345
345
  "auto_upgrade": false,
@@ -360,17 +360,17 @@
360
360
  },
361
361
  "get_led_info": {
362
362
  "led_rule": "night_mode",
363
- "led_status": true,
363
+ "led_status": false,
364
364
  "night_mode": {
365
- "end_time": 550,
365
+ "end_time": 538,
366
366
  "night_mode_type": "sunrise_sunset",
367
- "start_time": 961,
367
+ "start_time": 989,
368
368
  "sunrise_offset": 62,
369
369
  "sunset_offset": 0
370
370
  }
371
371
  },
372
372
  "get_max_power": {
373
- "max_power": 3342
373
+ "max_power": 3379
374
374
  },
375
375
  "get_next_event": {
376
376
  "desired_states": {
@@ -378,7 +378,7 @@
378
378
  },
379
379
  "e_time": 0,
380
380
  "id": "S1",
381
- "s_time": 1703937000,
381
+ "s_time": 1705751400,
382
382
  "type": 1
383
383
  },
384
384
  "get_protection_power": {
@@ -389,7 +389,7 @@
389
389
  "enable": true,
390
390
  "rule_list": [
391
391
  {
392
- "day": 30,
392
+ "day": 20,
393
393
  "desired_states": {
394
394
  "on": true
395
395
  },
@@ -399,12 +399,12 @@
399
399
  "enable": true,
400
400
  "id": "S1",
401
401
  "mode": "repeat",
402
- "month": 12,
402
+ "month": 1,
403
403
  "s_min": 710,
404
404
  "s_type": "normal",
405
405
  "time_offset": 0,
406
406
  "week_day": 127,
407
- "year": 2023
407
+ "year": 2024
408
408
  }
409
409
  ],
410
410
  "schedule_rule_max_count": 32,
@@ -86,7 +86,7 @@
86
86
  "factory_default": false,
87
87
  "ip": "127.0.0.123",
88
88
  "is_support_iot_cloud": true,
89
- "mac": "00-00-00-00-00-00",
89
+ "mac": "48-22-54-00-00-00",
90
90
  "mgt_encrypt_schm": {
91
91
  "encrypt_type": "KLAP",
92
92
  "http_port": 80,
@@ -130,21 +130,21 @@
130
130
  "device_on": true,
131
131
  "fw_id": "00000000000000000000000000000000",
132
132
  "fw_ver": "1.1.0 Build 231009 Rel.155831",
133
- "has_set_location_info": false,
133
+ "has_set_location_info": true,
134
134
  "hw_id": "00000000000000000000000000000000",
135
135
  "hw_ver": "1.0",
136
136
  "ip": "127.0.0.123",
137
137
  "lang": "en_US",
138
138
  "latitude": 0,
139
139
  "longitude": 0,
140
- "mac": "00-00-00-00-00-00",
140
+ "mac": "48-22-54-00-00-00",
141
141
  "model": "P125M",
142
142
  "nickname": "I01BU0tFRF9OQU1FIw==",
143
143
  "oem_id": "00000000000000000000000000000000",
144
- "on_time": 76,
144
+ "on_time": 189479,
145
145
  "overheated": false,
146
146
  "region": "Pacific/Honolulu",
147
- "rssi": -49,
147
+ "rssi": -43,
148
148
  "signal_level": 3,
149
149
  "specs": "",
150
150
  "ssid": "I01BU0tFRF9TU0lEIw==",
@@ -154,13 +154,13 @@
154
154
  "get_device_time": {
155
155
  "region": "Pacific/Honolulu",
156
156
  "time_diff": -600,
157
- "timestamp": 1704406945
157
+ "timestamp": 1705991899
158
158
  },
159
159
  "get_device_usage": {
160
160
  "time_usage": {
161
- "past30": 16892,
162
- "past7": 4,
163
- "today": 4
161
+ "past30": 3163,
162
+ "past7": 3163,
163
+ "today": 1238
164
164
  }
165
165
  },
166
166
  "get_fw_download_state": {
@@ -184,9 +184,9 @@
184
184
  "led_rule": "always",
185
185
  "led_status": true,
186
186
  "night_mode": {
187
- "end_time": 420,
187
+ "end_time": 427,
188
188
  "night_mode_type": "sunrise_sunset",
189
- "start_time": 1140,
189
+ "start_time": 1092,
190
190
  "sunrise_offset": 0,
191
191
  "sunset_offset": 0
192
192
  }
@@ -0,0 +1,317 @@
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": "schedule",
30
+ "ver_code": 2
31
+ },
32
+ {
33
+ "id": "countdown",
34
+ "ver_code": 2
35
+ },
36
+ {
37
+ "id": "antitheft",
38
+ "ver_code": 1
39
+ },
40
+ {
41
+ "id": "account",
42
+ "ver_code": 1
43
+ },
44
+ {
45
+ "id": "synchronize",
46
+ "ver_code": 1
47
+ },
48
+ {
49
+ "id": "sunrise_sunset",
50
+ "ver_code": 1
51
+ },
52
+ {
53
+ "id": "led",
54
+ "ver_code": 1
55
+ },
56
+ {
57
+ "id": "cloud_connect",
58
+ "ver_code": 1
59
+ },
60
+ {
61
+ "id": "iot_cloud",
62
+ "ver_code": 1
63
+ },
64
+ {
65
+ "id": "device_local_time",
66
+ "ver_code": 1
67
+ },
68
+ {
69
+ "id": "default_states",
70
+ "ver_code": 1
71
+ },
72
+ {
73
+ "id": "brightness",
74
+ "ver_code": 1
75
+ },
76
+ {
77
+ "id": "preset",
78
+ "ver_code": 1
79
+ },
80
+ {
81
+ "id": "on_off_gradually",
82
+ "ver_code": 2
83
+ },
84
+ {
85
+ "id": "dimmer_calibration",
86
+ "ver_code": 1
87
+ },
88
+ {
89
+ "id": "overheat_protection",
90
+ "ver_code": 1
91
+ },
92
+ {
93
+ "id": "matter",
94
+ "ver_code": 2
95
+ }
96
+ ]
97
+ },
98
+ "discovery_result": {
99
+ "device_id": "00000000000000000000000000000000",
100
+ "device_model": "P135(US)",
101
+ "device_type": "SMART.TAPOPLUG",
102
+ "factory_default": false,
103
+ "ip": "127.0.0.123",
104
+ "is_support_iot_cloud": true,
105
+ "mac": "F0-A7-31-00-00-00",
106
+ "mgt_encrypt_schm": {
107
+ "encrypt_type": "AES",
108
+ "http_port": 80,
109
+ "is_support_https": false,
110
+ "lv": 2
111
+ },
112
+ "obd_src": "tplink",
113
+ "owner": "00000000000000000000000000000000"
114
+ },
115
+ "get_antitheft_rules": {
116
+ "antitheft_rule_max_count": 1,
117
+ "enable": false,
118
+ "rule_list": []
119
+ },
120
+ "get_auto_update_info": {
121
+ "enable": true,
122
+ "random_range": 120,
123
+ "time": 180
124
+ },
125
+ "get_connect_cloud_state": {
126
+ "status": 0
127
+ },
128
+ "get_countdown_rules": {
129
+ "countdown_rule_max_count": 1,
130
+ "enable": false,
131
+ "rule_list": []
132
+ },
133
+ "get_device_info": {
134
+ "avatar": "plug",
135
+ "brightness": 100,
136
+ "default_states": {
137
+ "re_power_type": "always_off",
138
+ "re_power_type_capability": [
139
+ "last_states",
140
+ "always_on",
141
+ "always_off"
142
+ ],
143
+ "type": "last_states"
144
+ },
145
+ "device_id": "0000000000000000000000000000000000000000",
146
+ "device_on": false,
147
+ "fw_id": "00000000000000000000000000000000",
148
+ "fw_ver": "1.0.5 Build 230801 Rel.095702",
149
+ "has_set_location_info": true,
150
+ "hw_id": "00000000000000000000000000000000",
151
+ "hw_ver": "1.0",
152
+ "ip": "127.0.0.123",
153
+ "lang": "",
154
+ "latitude": 0,
155
+ "longitude": 0,
156
+ "mac": "F0-A7-31-00-00-00",
157
+ "model": "P135",
158
+ "nickname": "I01BU0tFRF9OQU1FIw==",
159
+ "oem_id": "00000000000000000000000000000000",
160
+ "on_time": 0,
161
+ "overheat_status": "normal",
162
+ "region": "Pacific/Honolulu",
163
+ "rssi": -43,
164
+ "signal_level": 3,
165
+ "specs": "",
166
+ "ssid": "I01BU0tFRF9TU0lEIw==",
167
+ "time_diff": -600,
168
+ "type": "SMART.TAPOPLUG"
169
+ },
170
+ "get_device_time": {
171
+ "region": "Pacific/Honolulu",
172
+ "time_diff": -600,
173
+ "timestamp": 1705975451
174
+ },
175
+ "get_device_usage": {
176
+ "time_usage": {
177
+ "past30": 0,
178
+ "past7": 0,
179
+ "today": 0
180
+ }
181
+ },
182
+ "get_fw_download_state": {
183
+ "auto_upgrade": false,
184
+ "download_progress": 0,
185
+ "reboot_time": 5,
186
+ "status": 0,
187
+ "upgrade_time": 5
188
+ },
189
+ "get_inherit_info": null,
190
+ "get_latest_fw": {
191
+ "fw_size": 0,
192
+ "fw_ver": "1.0.5 Build 230801 Rel.095702",
193
+ "hw_id": "",
194
+ "need_to_upgrade": false,
195
+ "oem_id": "",
196
+ "release_date": "",
197
+ "release_note": "",
198
+ "type": 0
199
+ },
200
+ "get_led_info": {
201
+ "led_rule": "always",
202
+ "led_status": false,
203
+ "night_mode": {
204
+ "end_time": 427,
205
+ "night_mode_type": "sunrise_sunset",
206
+ "start_time": 1092,
207
+ "sunrise_offset": 0,
208
+ "sunset_offset": 0
209
+ }
210
+ },
211
+ "get_next_event": {},
212
+ "get_preset_rules": {
213
+ "brightness": [
214
+ 100,
215
+ 75,
216
+ 50,
217
+ 25,
218
+ 1
219
+ ]
220
+ },
221
+ "get_schedule_rules": {
222
+ "enable": false,
223
+ "rule_list": [],
224
+ "schedule_rule_max_count": 32,
225
+ "start_index": 0,
226
+ "sum": 0
227
+ },
228
+ "get_wireless_scan_info": {
229
+ "ap_list": [
230
+ {
231
+ "bssid": "000000000000",
232
+ "channel": 0,
233
+ "cipher_type": 2,
234
+ "key_type": "wpa_psk",
235
+ "signal_level": 2,
236
+ "ssid": "I01BU0tFRF9TU0lEIw=="
237
+ },
238
+ {
239
+ "bssid": "000000000000",
240
+ "channel": 0,
241
+ "cipher_type": 2,
242
+ "key_type": "wpa_psk",
243
+ "signal_level": 3,
244
+ "ssid": "I01BU0tFRF9TU0lEIw=="
245
+ },
246
+ {
247
+ "bssid": "000000000000",
248
+ "channel": 0,
249
+ "cipher_type": 2,
250
+ "key_type": "wpa_psk",
251
+ "signal_level": 2,
252
+ "ssid": "I01BU0tFRF9TU0lEIw=="
253
+ },
254
+ {
255
+ "bssid": "000000000000",
256
+ "channel": 0,
257
+ "cipher_type": 2,
258
+ "key_type": "wpa_psk",
259
+ "signal_level": 2,
260
+ "ssid": "I01BU0tFRF9TU0lEIw=="
261
+ },
262
+ {
263
+ "bssid": "000000000000",
264
+ "channel": 0,
265
+ "cipher_type": 2,
266
+ "key_type": "wpa_psk",
267
+ "signal_level": 1,
268
+ "ssid": "I01BU0tFRF9TU0lEIw=="
269
+ },
270
+ {
271
+ "bssid": "000000000000",
272
+ "channel": 0,
273
+ "cipher_type": 2,
274
+ "key_type": "wpa_psk",
275
+ "signal_level": 1,
276
+ "ssid": "I01BU0tFRF9TU0lEIw=="
277
+ }
278
+ ],
279
+ "wep_supported": false
280
+ },
281
+ "qs_component_nego": {
282
+ "component_list": [
283
+ {
284
+ "id": "quick_setup",
285
+ "ver_code": 3
286
+ },
287
+ {
288
+ "id": "sunrise_sunset",
289
+ "ver_code": 1
290
+ },
291
+ {
292
+ "id": "ble_whole_setup",
293
+ "ver_code": 1
294
+ },
295
+ {
296
+ "id": "matter",
297
+ "ver_code": 2
298
+ },
299
+ {
300
+ "id": "iot_cloud",
301
+ "ver_code": 1
302
+ },
303
+ {
304
+ "id": "inherit",
305
+ "ver_code": 1
306
+ },
307
+ {
308
+ "id": "firmware",
309
+ "ver_code": 2
310
+ }
311
+ ],
312
+ "extra_info": {
313
+ "device_model": "P135",
314
+ "device_type": "SMART.TAPOPLUG"
315
+ }
316
+ }
317
+ }