python-kasa 0.6.2__py3-none-any.whl → 0.7.0.dev0__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.
- kasa/__init__.py +88 -27
- kasa/aestransport.py +51 -34
- kasa/cli.py +326 -130
- kasa/device.py +406 -0
- kasa/device_factory.py +83 -44
- kasa/device_type.py +7 -3
- kasa/deviceconfig.py +16 -9
- kasa/discover.py +100 -81
- kasa/emeterstatus.py +12 -7
- kasa/exceptions.py +41 -26
- kasa/feature.py +201 -0
- kasa/httpclient.py +21 -14
- kasa/interfaces/__init__.py +16 -0
- kasa/interfaces/fan.py +20 -0
- kasa/interfaces/led.py +38 -0
- kasa/interfaces/light.py +133 -0
- kasa/interfaces/lighteffect.py +80 -0
- kasa/interfaces/lightpreset.py +76 -0
- kasa/iot/__init__.py +18 -0
- kasa/{effects.py → iot/effects.py} +4 -2
- kasa/{smartbulb.py → iot/iotbulb.py} +100 -147
- kasa/{smartdevice.py → iot/iotdevice.py} +157 -286
- kasa/{smartdimmer.py → iot/iotdimmer.py} +42 -33
- kasa/iot/iotlightstrip.py +71 -0
- kasa/{modules/module.py → iot/iotmodule.py} +22 -42
- kasa/iot/iotplug.py +94 -0
- kasa/{smartstrip.py → iot/iotstrip.py} +57 -75
- kasa/{modules → iot/modules}/__init__.py +10 -2
- kasa/{modules → iot/modules}/ambientlight.py +31 -3
- kasa/{modules → iot/modules}/antitheft.py +1 -0
- kasa/{modules → iot/modules}/cloud.py +25 -6
- kasa/{modules → iot/modules}/countdown.py +1 -0
- kasa/iot/modules/emeter.py +210 -0
- kasa/iot/modules/led.py +32 -0
- kasa/iot/modules/light.py +221 -0
- kasa/iot/modules/lighteffect.py +122 -0
- kasa/iot/modules/lightpreset.py +151 -0
- kasa/{modules → iot/modules}/motion.py +8 -8
- kasa/{modules → iot/modules}/rulemodule.py +11 -12
- kasa/{modules → iot/modules}/schedule.py +1 -0
- kasa/{modules → iot/modules}/time.py +5 -4
- kasa/{modules → iot/modules}/usage.py +10 -8
- kasa/iotprotocol.py +22 -20
- kasa/klaptransport.py +25 -15
- kasa/module.py +136 -0
- kasa/modulemapping.py +25 -0
- kasa/modulemapping.pyi +96 -0
- kasa/protocol.py +6 -4
- kasa/smart/__init__.py +6 -0
- kasa/smart/effects.py +429 -0
- kasa/smart/modules/__init__.py +57 -0
- kasa/smart/modules/alarm.py +142 -0
- kasa/smart/modules/autooff.py +96 -0
- kasa/smart/modules/batterysensor.py +54 -0
- kasa/smart/modules/brightness.py +66 -0
- kasa/smart/modules/childdevice.py +10 -0
- kasa/smart/modules/cloud.py +42 -0
- kasa/smart/modules/color.py +96 -0
- kasa/smart/modules/colortemperature.py +78 -0
- kasa/smart/modules/contactsensor.py +42 -0
- kasa/smart/modules/devicemodule.py +22 -0
- kasa/smart/modules/energy.py +101 -0
- kasa/smart/modules/fan.py +80 -0
- kasa/smart/modules/firmware.py +216 -0
- kasa/smart/modules/frostprotection.py +59 -0
- kasa/smart/modules/humiditysensor.py +55 -0
- kasa/smart/modules/led.py +49 -0
- kasa/smart/modules/light.py +139 -0
- kasa/smart/modules/lighteffect.py +115 -0
- kasa/smart/modules/lightpreset.py +142 -0
- kasa/smart/modules/lightstripeffect.py +135 -0
- kasa/smart/modules/lighttransition.py +183 -0
- kasa/smart/modules/reportmode.py +36 -0
- kasa/smart/modules/temperaturecontrol.py +177 -0
- kasa/smart/modules/temperaturesensor.py +77 -0
- kasa/smart/modules/time.py +57 -0
- kasa/smart/modules/waterleaksensor.py +66 -0
- kasa/smart/smartchilddevice.py +65 -0
- kasa/smart/smartdevice.py +653 -0
- kasa/smart/smartmodule.py +112 -0
- kasa/smartprotocol.py +107 -41
- kasa/tests/conftest.py +27 -551
- kasa/tests/device_fixtures.py +427 -0
- kasa/tests/discovery_fixtures.py +197 -0
- kasa/tests/{newfakes.py → fakeprotocol_iot.py} +61 -291
- kasa/tests/fakeprotocol_smart.py +318 -0
- kasa/tests/fixtureinfo.py +154 -0
- kasa/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +221 -0
- kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +547 -0
- kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +391 -0
- kasa/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +1557 -0
- kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +899 -0
- kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +479 -0
- kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +449 -0
- kasa/tests/fixtures/smart/P100_1.0.0_1.1.3.json +173 -0
- kasa/tests/fixtures/smart/P100_1.0.0_1.4.0.json +204 -0
- kasa/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +566 -0
- kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +13 -23
- kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +6 -6
- kasa/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +295 -0
- kasa/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +423 -0
- kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +170 -0
- kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +171 -0
- kasa/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +171 -0
- kasa/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +526 -0
- kasa/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +533 -0
- kasa/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +530 -0
- kasa/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +537 -0
- kasa/tests/smart/__init__.py +0 -0
- kasa/tests/smart/features/__init__.py +0 -0
- kasa/tests/smart/features/test_brightness.py +55 -0
- kasa/tests/smart/features/test_colortemp.py +30 -0
- kasa/tests/smart/modules/__init__.py +0 -0
- kasa/tests/smart/modules/test_contact.py +28 -0
- kasa/tests/smart/modules/test_fan.py +79 -0
- kasa/tests/smart/modules/test_firmware.py +108 -0
- kasa/tests/smart/modules/test_humidity.py +28 -0
- kasa/tests/smart/modules/test_light_effect.py +41 -0
- kasa/tests/smart/modules/test_temperature.py +47 -0
- kasa/tests/smart/modules/test_temperaturecontrol.py +137 -0
- kasa/tests/smart/modules/test_waterleak.py +42 -0
- kasa/tests/test_aestransport.py +115 -25
- kasa/tests/test_bulb.py +169 -86
- kasa/tests/test_childdevice.py +84 -0
- kasa/tests/test_cli.py +452 -100
- kasa/tests/test_common_modules.py +216 -0
- kasa/tests/test_device.py +268 -0
- kasa/tests/test_device_factory.py +61 -41
- kasa/tests/test_device_type.py +1 -1
- kasa/tests/test_deviceconfig.py +2 -5
- kasa/tests/test_dimmer.py +33 -24
- kasa/tests/test_discovery.py +112 -69
- kasa/tests/test_emeter.py +39 -12
- kasa/tests/test_feature.py +205 -0
- kasa/tests/test_httpclient.py +9 -9
- kasa/tests/test_iotdevice.py +286 -0
- kasa/tests/test_klapprotocol.py +94 -41
- kasa/tests/test_lightstrip.py +24 -19
- kasa/tests/test_plug.py +51 -9
- kasa/tests/test_protocol.py +8 -12
- kasa/tests/test_readme_examples.py +86 -27
- kasa/tests/test_smartdevice.py +211 -247
- kasa/tests/test_smartprotocol.py +129 -26
- kasa/tests/test_strip.py +15 -6
- kasa/tests/test_usage.py +1 -3
- kasa/xortransport.py +15 -12
- {python_kasa-0.6.2.dist-info → python_kasa-0.7.0.dev0.dist-info}/METADATA +45 -141
- python_kasa-0.7.0.dev0.dist-info/RECORD +239 -0
- {python_kasa-0.6.2.dist-info → python_kasa-0.7.0.dev0.dist-info}/WHEEL +1 -1
- kasa/modules/emeter.py +0 -111
- kasa/smartlightstrip.py +0 -143
- kasa/smartplug.py +0 -91
- kasa/tapo/__init__.py +0 -7
- kasa/tapo/childdevice.py +0 -44
- kasa/tapo/tapobulb.py +0 -262
- kasa/tapo/tapodevice.py +0 -383
- kasa/tapo/tapoplug.py +0 -45
- kasa/tests/fixtures/HS105(US)_1.0_mocked.json +0 -47
- kasa/tests/fixtures/HS110(EU)_2.0_mocked.json +0 -50
- kasa/tests/fixtures/HS110(US)_1.0_mocked.json +0 -50
- kasa/tests/fixtures/HS200(US)_1.0_mocked.json +0 -47
- kasa/tests/fixtures/HS220(US)_1.0_mocked.json +0 -75
- kasa/tests/fixtures/LB100(US)_1.0_mocked.json +0 -103
- kasa/tests/fixtures/LB120(US)_1.0_mocked.json +0 -103
- kasa/tests/fixtures/LB130(US)_1.0_mocked.json +0 -104
- python_kasa-0.6.2.dist-info/RECORD +0 -163
- {python_kasa-0.6.2.dist-info → python_kasa-0.7.0.dev0.dist-info}/LICENSE +0 -0
- {python_kasa-0.6.2.dist-info → python_kasa-0.7.0.dev0.dist-info}/entry_points.txt +0 -0
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"ver_code": 1
|
|
171
171
|
}
|
|
172
172
|
],
|
|
173
|
-
"device_id": "
|
|
173
|
+
"device_id": "000000000000000000000000000000000000000001"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"component_list": [
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"ver_code": 1
|
|
236
236
|
}
|
|
237
237
|
],
|
|
238
|
-
"device_id": "
|
|
238
|
+
"device_id": "000000000000000000000000000000000000000002"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
"component_list": [
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"ver_code": 1
|
|
301
301
|
}
|
|
302
302
|
],
|
|
303
|
-
"device_id": "
|
|
303
|
+
"device_id": "000000000000000000000000000000000000000003"
|
|
304
304
|
}
|
|
305
305
|
],
|
|
306
306
|
"start_index": 0,
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
"default_states": {
|
|
316
316
|
"type": "last_states"
|
|
317
317
|
},
|
|
318
|
-
"device_id": "
|
|
318
|
+
"device_id": "000000000000000000000000000000000000000001",
|
|
319
319
|
"device_on": true,
|
|
320
320
|
"fw_id": "00000000000000000000000000000000",
|
|
321
321
|
"fw_ver": "1.0.7 Build 220715 Rel.200458",
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
"default_states": {
|
|
345
345
|
"type": "last_states"
|
|
346
346
|
},
|
|
347
|
-
"device_id": "
|
|
347
|
+
"device_id": "000000000000000000000000000000000000000002",
|
|
348
348
|
"device_on": true,
|
|
349
349
|
"fw_id": "00000000000000000000000000000000",
|
|
350
350
|
"fw_ver": "1.0.7 Build 220715 Rel.200458",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"default_states": {
|
|
374
374
|
"type": "last_states"
|
|
375
375
|
},
|
|
376
|
-
"device_id": "
|
|
376
|
+
"device_id": "000000000000000000000000000000000000000003",
|
|
377
377
|
"device_on": true,
|
|
378
378
|
"fw_id": "00000000000000000000000000000000",
|
|
379
379
|
"fw_ver": "1.0.7 Build 220715 Rel.200458",
|
|
@@ -0,0 +1,295 @@
|
|
|
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": "time",
|
|
18
|
+
"ver_code": 1
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "wireless",
|
|
22
|
+
"ver_code": 1
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "schedule",
|
|
26
|
+
"ver_code": 2
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "countdown",
|
|
30
|
+
"ver_code": 2
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "antitheft",
|
|
34
|
+
"ver_code": 1
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "account",
|
|
38
|
+
"ver_code": 1
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "synchronize",
|
|
42
|
+
"ver_code": 1
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "sunrise_sunset",
|
|
46
|
+
"ver_code": 1
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "led",
|
|
50
|
+
"ver_code": 1
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "cloud_connect",
|
|
54
|
+
"ver_code": 1
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "iot_cloud",
|
|
58
|
+
"ver_code": 1
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "device_local_time",
|
|
62
|
+
"ver_code": 1
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "default_states",
|
|
66
|
+
"ver_code": 1
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "auto_off",
|
|
70
|
+
"ver_code": 2
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "matter",
|
|
74
|
+
"ver_code": 1
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"discovery_result": {
|
|
79
|
+
"device_id": "00000000000000000000000000000000",
|
|
80
|
+
"device_model": "TP15(US)",
|
|
81
|
+
"device_type": "SMART.TAPOPLUG",
|
|
82
|
+
"factory_default": false,
|
|
83
|
+
"ip": "127.0.0.123",
|
|
84
|
+
"is_support_iot_cloud": true,
|
|
85
|
+
"mac": "5C-62-8B-00-00-00",
|
|
86
|
+
"mgt_encrypt_schm": {
|
|
87
|
+
"encrypt_type": "AES",
|
|
88
|
+
"http_port": 80,
|
|
89
|
+
"is_support_https": false,
|
|
90
|
+
"lv": 2
|
|
91
|
+
},
|
|
92
|
+
"obd_src": "tplink",
|
|
93
|
+
"owner": "00000000000000000000000000000000"
|
|
94
|
+
},
|
|
95
|
+
"get_antitheft_rules": {
|
|
96
|
+
"antitheft_rule_max_count": 1,
|
|
97
|
+
"enable": false,
|
|
98
|
+
"rule_list": []
|
|
99
|
+
},
|
|
100
|
+
"get_auto_off_config": {
|
|
101
|
+
"delay_min": 120,
|
|
102
|
+
"enable": false
|
|
103
|
+
},
|
|
104
|
+
"get_auto_update_info": {
|
|
105
|
+
"enable": false,
|
|
106
|
+
"random_range": 120,
|
|
107
|
+
"time": 180
|
|
108
|
+
},
|
|
109
|
+
"get_connect_cloud_state": {
|
|
110
|
+
"status": 0
|
|
111
|
+
},
|
|
112
|
+
"get_countdown_rules": {
|
|
113
|
+
"countdown_rule_max_count": 1,
|
|
114
|
+
"enable": false,
|
|
115
|
+
"rule_list": []
|
|
116
|
+
},
|
|
117
|
+
"get_device_info": {
|
|
118
|
+
"auto_off_remain_time": 0,
|
|
119
|
+
"auto_off_status": "off",
|
|
120
|
+
"avatar": "plug",
|
|
121
|
+
"default_states": {
|
|
122
|
+
"state": {},
|
|
123
|
+
"type": "last_states"
|
|
124
|
+
},
|
|
125
|
+
"device_id": "0000000000000000000000000000000000000000",
|
|
126
|
+
"device_on": true,
|
|
127
|
+
"fw_id": "00000000000000000000000000000000",
|
|
128
|
+
"fw_ver": "1.0.3 Build 230112 Rel.124621",
|
|
129
|
+
"has_set_location_info": true,
|
|
130
|
+
"hw_id": "00000000000000000000000000000000",
|
|
131
|
+
"hw_ver": "1.0",
|
|
132
|
+
"ip": "127.0.0.123",
|
|
133
|
+
"lang": "en_US",
|
|
134
|
+
"latitude": 0,
|
|
135
|
+
"longitude": 0,
|
|
136
|
+
"mac": "5C-62-8B-00-00-00",
|
|
137
|
+
"model": "TP15",
|
|
138
|
+
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
139
|
+
"oem_id": "00000000000000000000000000000000",
|
|
140
|
+
"on_time": 83,
|
|
141
|
+
"overheated": false,
|
|
142
|
+
"region": "America/Chicago",
|
|
143
|
+
"rssi": -53,
|
|
144
|
+
"signal_level": 2,
|
|
145
|
+
"specs": "",
|
|
146
|
+
"ssid": "I01BU0tFRF9TU0lEIw==",
|
|
147
|
+
"time_diff": -360,
|
|
148
|
+
"type": "SMART.TAPOPLUG"
|
|
149
|
+
},
|
|
150
|
+
"get_device_time": {
|
|
151
|
+
"region": "America/Chicago",
|
|
152
|
+
"time_diff": -360,
|
|
153
|
+
"timestamp": 1706719971
|
|
154
|
+
},
|
|
155
|
+
"get_device_usage": {
|
|
156
|
+
"time_usage": {
|
|
157
|
+
"past30": 0,
|
|
158
|
+
"past7": 0,
|
|
159
|
+
"today": 0
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"get_fw_download_state": {
|
|
163
|
+
"auto_upgrade": false,
|
|
164
|
+
"download_progress": 0,
|
|
165
|
+
"reboot_time": 5,
|
|
166
|
+
"status": 0,
|
|
167
|
+
"upgrade_time": 5
|
|
168
|
+
},
|
|
169
|
+
"get_latest_fw": {
|
|
170
|
+
"fw_size": 786432,
|
|
171
|
+
"fw_ver": "1.1.0 Build 231009 Rel.155831",
|
|
172
|
+
"hw_id": "00000000000000000000000000000000",
|
|
173
|
+
"need_to_upgrade": true,
|
|
174
|
+
"oem_id": "00000000000000000000000000000000",
|
|
175
|
+
"release_date": "2023-11-24",
|
|
176
|
+
"release_note": "Modifications and Bug Fixes:\n1. Enhanced local communication security.\n2. Improved Matter setup process.\n3. Optimized stability and performance.\n4. Fixed some minor bugs.",
|
|
177
|
+
"type": 2
|
|
178
|
+
},
|
|
179
|
+
"get_led_info": {
|
|
180
|
+
"led_rule": "always",
|
|
181
|
+
"led_status": true,
|
|
182
|
+
"night_mode": {
|
|
183
|
+
"end_time": 433,
|
|
184
|
+
"night_mode_type": "sunrise_sunset",
|
|
185
|
+
"start_time": 1079,
|
|
186
|
+
"sunrise_offset": 0,
|
|
187
|
+
"sunset_offset": 0
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"get_next_event": {},
|
|
191
|
+
"get_schedule_rules": {
|
|
192
|
+
"enable": false,
|
|
193
|
+
"rule_list": [],
|
|
194
|
+
"schedule_rule_max_count": 32,
|
|
195
|
+
"start_index": 0,
|
|
196
|
+
"sum": 0
|
|
197
|
+
},
|
|
198
|
+
"get_wireless_scan_info": {
|
|
199
|
+
"ap_list": [
|
|
200
|
+
{
|
|
201
|
+
"bssid": "000000000000",
|
|
202
|
+
"channel": 0,
|
|
203
|
+
"cipher_type": 2,
|
|
204
|
+
"key_type": "wpa_psk",
|
|
205
|
+
"signal_level": 1,
|
|
206
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"bssid": "000000000000",
|
|
210
|
+
"channel": 0,
|
|
211
|
+
"cipher_type": 2,
|
|
212
|
+
"key_type": "wpa_psk",
|
|
213
|
+
"signal_level": 1,
|
|
214
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"bssid": "000000000000",
|
|
218
|
+
"channel": 0,
|
|
219
|
+
"cipher_type": 2,
|
|
220
|
+
"key_type": "wpa_psk",
|
|
221
|
+
"signal_level": 1,
|
|
222
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"bssid": "000000000000",
|
|
226
|
+
"channel": 0,
|
|
227
|
+
"cipher_type": 2,
|
|
228
|
+
"key_type": "wpa_psk",
|
|
229
|
+
"signal_level": 2,
|
|
230
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"bssid": "000000000000",
|
|
234
|
+
"channel": 0,
|
|
235
|
+
"cipher_type": 2,
|
|
236
|
+
"key_type": "wpa_psk",
|
|
237
|
+
"signal_level": 1,
|
|
238
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"bssid": "000000000000",
|
|
242
|
+
"channel": 0,
|
|
243
|
+
"cipher_type": 2,
|
|
244
|
+
"key_type": "wpa_psk",
|
|
245
|
+
"signal_level": 2,
|
|
246
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"bssid": "000000000000",
|
|
250
|
+
"channel": 0,
|
|
251
|
+
"cipher_type": 2,
|
|
252
|
+
"key_type": "wpa_psk",
|
|
253
|
+
"signal_level": 2,
|
|
254
|
+
"ssid": "I01BU0tFRF9TU0lEIw=="
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"wep_supported": false
|
|
258
|
+
},
|
|
259
|
+
"qs_component_nego": {
|
|
260
|
+
"component_list": [
|
|
261
|
+
{
|
|
262
|
+
"id": "quick_setup",
|
|
263
|
+
"ver_code": 3
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "sunrise_sunset",
|
|
267
|
+
"ver_code": 1
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "ble_whole_setup",
|
|
271
|
+
"ver_code": 1
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "matter",
|
|
275
|
+
"ver_code": 1
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "iot_cloud",
|
|
279
|
+
"ver_code": 1
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "inherit",
|
|
283
|
+
"ver_code": 1
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"id": "firmware",
|
|
287
|
+
"ver_code": 2
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"extra_info": {
|
|
291
|
+
"device_model": "TP15",
|
|
292
|
+
"device_type": "SMART.TAPOPLUG"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|