tplinkrouterc6u 5.12.3__py3-none-any.whl → 5.12.4__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.
- test/test_client_c6u.py +1 -1
- tplinkrouterc6u/client/c6u.py +2 -1
- tplinkrouterc6u/client/ex.py +1 -1
- tplinkrouterc6u/client/mr.py +1 -1
- {tplinkrouterc6u-5.12.3.dist-info → tplinkrouterc6u-5.12.4.dist-info}/METADATA +3 -1
- {tplinkrouterc6u-5.12.3.dist-info → tplinkrouterc6u-5.12.4.dist-info}/RECORD +9 -9
- {tplinkrouterc6u-5.12.3.dist-info → tplinkrouterc6u-5.12.4.dist-info}/WHEEL +0 -0
- {tplinkrouterc6u-5.12.3.dist-info → tplinkrouterc6u-5.12.4.dist-info}/licenses/LICENSE +0 -0
- {tplinkrouterc6u-5.12.3.dist-info → tplinkrouterc6u-5.12.4.dist-info}/top_level.txt +0 -0
test/test_client_c6u.py
CHANGED
|
@@ -508,7 +508,7 @@ class TestTPLinkClient(TestCase):
|
|
|
508
508
|
self.assertEqual(status.wired_total, 2)
|
|
509
509
|
self.assertEqual(status.wifi_clients_total, 2)
|
|
510
510
|
self.assertEqual(status.guest_clients_total, 0)
|
|
511
|
-
self.assertEqual(status.clients_total,
|
|
511
|
+
self.assertEqual(status.clients_total, 7)
|
|
512
512
|
self.assertEqual(status.iot_clients_total, 3)
|
|
513
513
|
self.assertEqual(status.guest_2g_enable, True)
|
|
514
514
|
self.assertEqual(status.guest_5g_enable, None)
|
tplinkrouterc6u/client/c6u.py
CHANGED
|
@@ -376,7 +376,8 @@ class TplinkBaseRouter(AbstractRouter, TplinkRequest):
|
|
|
376
376
|
pass
|
|
377
377
|
|
|
378
378
|
status.devices = list(devices.values())
|
|
379
|
-
status.clients_total = status.wired_total + status.wifi_clients_total + status.guest_clients_total
|
|
379
|
+
status.clients_total = (status.wired_total + status.wifi_clients_total + status.guest_clients_total
|
|
380
|
+
+ (status.iot_clients_total or 0))
|
|
380
381
|
|
|
381
382
|
return status
|
|
382
383
|
|
tplinkrouterc6u/client/ex.py
CHANGED
|
@@ -141,7 +141,7 @@ class TPLinkEXClient(TPLinkMRClientBase):
|
|
|
141
141
|
status.wifi_clients_total += 1
|
|
142
142
|
devices[val['physAddress']] = Device(conn,
|
|
143
143
|
EUI48(val['physAddress']),
|
|
144
|
-
|
|
144
|
+
get_ip(val['IPAddress']),
|
|
145
145
|
val['hostName'])
|
|
146
146
|
|
|
147
147
|
total = int(values[4]['total'])
|
tplinkrouterc6u/client/mr.py
CHANGED
|
@@ -371,7 +371,7 @@ class TPLinkMRClientBase(AbstractRouter):
|
|
|
371
371
|
lines = response.split('\n')
|
|
372
372
|
for line in lines:
|
|
373
373
|
if line.startswith('['):
|
|
374
|
-
regexp = search(r'\[\d
|
|
374
|
+
regexp = search(r'\[\d+,\d+,\d+,\d+,\d+,\d+](\d+)', line)
|
|
375
375
|
if regexp is not None:
|
|
376
376
|
obj = {}
|
|
377
377
|
index = regexp.group(1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.12.
|
|
3
|
+
Version: 5.12.4
|
|
4
4
|
Summary: TP-Link Router API (supports also Mercusys Router)
|
|
5
5
|
Home-page: https://github.com/AlexandrErohin/TP-Link-Archer-C6U
|
|
6
6
|
Author: Alex Erohin
|
|
@@ -372,6 +372,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
372
372
|
- Deco P7
|
|
373
373
|
- Deco X20
|
|
374
374
|
- Deco X50 v1.3
|
|
375
|
+
- Deco X50-5G 1.20
|
|
375
376
|
- Deco X55 1.0
|
|
376
377
|
- Deco X60 V3
|
|
377
378
|
- Deco X90
|
|
@@ -403,6 +404,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
403
404
|
- AC10 1.20
|
|
404
405
|
- MR47BE v1.0
|
|
405
406
|
- MR50G 1.0
|
|
407
|
+
- ME30 1.0
|
|
406
408
|
- H60XR 1.0
|
|
407
409
|
- H47BE 2.0
|
|
408
410
|
- Halo H80X 1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
test/__init__.py,sha256=McQmUjeN3AwmwdS6QNfwGXXE77OKoPK852I2BM9XsrU,210
|
|
2
2
|
test/test_client_c1200.py,sha256=Sl-85JGqINNg-ckBZCIVqY0CC-V1UOc-yiIUljtePRM,7582
|
|
3
|
-
test/test_client_c6u.py,sha256=
|
|
3
|
+
test/test_client_c6u.py,sha256=u-8mnPF18RBgU-rx06L_M-RYTXYKZY6B3mmkXgq8mZg,40399
|
|
4
4
|
test/test_client_c80.py,sha256=RY_1SgRVcQQdN9h0_IXA0YW4_0flEB_uel05QvDDfws,42359
|
|
5
5
|
test/test_client_deco.py,sha256=YPLKRD8GoyDYHfRgdXvCk8iVNw8zdMJW-AHVnNbpdTM,31719
|
|
6
6
|
test/test_client_ex.py,sha256=Kg6svEKtyGAfyF9yrLh2qZa2tK1mlEBJJwXRsq1MAjo,26591
|
|
@@ -16,11 +16,11 @@ tplinkrouterc6u/provider.py,sha256=gzsWGgkxqOSxxLcCjx3eHVkTQteE6DG1XuYziBp6C6s,2
|
|
|
16
16
|
tplinkrouterc6u/client/__init__.py,sha256=KBy3fmtA9wgyFrb0Urh2x4CkKtWVnESdp-vxmuOvq0k,27
|
|
17
17
|
tplinkrouterc6u/client/c1200.py,sha256=4XEYidEGmVIJk0YQLvmTnd0Gqa7glH2gUWvjreHpWrk,3178
|
|
18
18
|
tplinkrouterc6u/client/c5400x.py,sha256=ID9jC-kLUBBeETvOh8cxyQpKmJBIzdwNYR03DmvMN0s,4289
|
|
19
|
-
tplinkrouterc6u/client/c6u.py,sha256=
|
|
19
|
+
tplinkrouterc6u/client/c6u.py,sha256=wGxqXiqOA6-Vt1shSygYiJAnFgjgx6gPYUuALJ-KO8k,19919
|
|
20
20
|
tplinkrouterc6u/client/c80.py,sha256=efE0DEjEfzRFr35fjKA_hsv9YaWy_2dgLAaurDM-WQk,17665
|
|
21
21
|
tplinkrouterc6u/client/deco.py,sha256=cpKRggKD2RvSmMZuD6tzsZmehAUCU9oLiTTHcZBW81Y,8898
|
|
22
|
-
tplinkrouterc6u/client/ex.py,sha256=
|
|
23
|
-
tplinkrouterc6u/client/mr.py,sha256=
|
|
22
|
+
tplinkrouterc6u/client/ex.py,sha256=iVLTtLe1uNwNtv43zHzbLJkZL3SHsBllVBM-MVlnseE,14881
|
|
23
|
+
tplinkrouterc6u/client/mr.py,sha256=kNXk0bzBIIIM-4jMZOFp370vDPMJKwt2HmWGMjktguk,28954
|
|
24
24
|
tplinkrouterc6u/client/mr200.py,sha256=febM1Eoc2_8NGJu-NrrAdj9zrlP_n7dOU6EVKktzMnw,5801
|
|
25
25
|
tplinkrouterc6u/client/re330.py,sha256=9Wj4VpYJbVwZJUh9s3magdeL3Jl-B7qyrWfrVBxRk4A,17465
|
|
26
26
|
tplinkrouterc6u/client/vr.py,sha256=7Tbu0IrWtr4HHtyrnLFXEJi1QctzhilciL7agtwQ0R8,5025
|
|
@@ -33,8 +33,8 @@ tplinkrouterc6u/common/encryption.py,sha256=EWfgGafOz0YgPilBndVaupnjw6JrzhVBdZkB
|
|
|
33
33
|
tplinkrouterc6u/common/exception.py,sha256=_0G8ZvW5__CsGifHrsZeULdl8c6EUD071sDCQsQgrHY,140
|
|
34
34
|
tplinkrouterc6u/common/helper.py,sha256=23b04fk9HuVinrZXMCS5R1rmF8uZ7eM-Cdnp7Br9NR0,572
|
|
35
35
|
tplinkrouterc6u/common/package_enum.py,sha256=CMHVSgk4RSZyFoPi3499-sJDYg-nfnyJbz1iArFU9Hw,1644
|
|
36
|
-
tplinkrouterc6u-5.12.
|
|
37
|
-
tplinkrouterc6u-5.12.
|
|
38
|
-
tplinkrouterc6u-5.12.
|
|
39
|
-
tplinkrouterc6u-5.12.
|
|
40
|
-
tplinkrouterc6u-5.12.
|
|
36
|
+
tplinkrouterc6u-5.12.4.dist-info/licenses/LICENSE,sha256=YF6QR6Vjxcg5b_sYIyqkME7FZYau5TfEUGTG-0JeRK0,35129
|
|
37
|
+
tplinkrouterc6u-5.12.4.dist-info/METADATA,sha256=c3pEsJxHJhU-xNBwxD8l8TocAPojogYWBm4-FrqF5Rg,17634
|
|
38
|
+
tplinkrouterc6u-5.12.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
39
|
+
tplinkrouterc6u-5.12.4.dist-info/top_level.txt,sha256=1iSCCIueqgEkrTxtQ-jiHe99jAB10zqrVdBcwvNfe_M,21
|
|
40
|
+
tplinkrouterc6u-5.12.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|