tplinkrouterc6u 5.12.1__py3-none-any.whl → 5.12.2__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.
@@ -240,6 +240,7 @@ class TplinkBaseRouter(AbstractRouter, TplinkRequest):
240
240
  self._url_firmware = 'admin/firmware?form=upgrade&operation=read'
241
241
  self._url_ipv4_reservations = 'admin/dhcps?form=reservation&operation=load'
242
242
  self._url_ipv4_dhcp_leases = 'admin/dhcps?form=client&operation=load'
243
+ self._url_smart_network = 'admin/smart_network?form=game_accelerator&operation=loadDevice'
243
244
  self._url_openvpn = 'admin/openvpn?form=config&operation=read'
244
245
  self._url_pptpd = 'admin/pptpd?form=config&operation=read'
245
246
  self._url_vpnconn_openvpn = 'admin/vpnconn?form=config&operation=list&vpntype=openvpn'
@@ -341,7 +342,7 @@ class TplinkBaseRouter(AbstractRouter, TplinkRequest):
341
342
  smart_network = None
342
343
  if self._smart_network:
343
344
  try:
344
- smart_network = self.request('admin/smart_network?form=game_accelerator', 'operation=loadDevice')
345
+ smart_network = self.request(self._url_smart_network, 'operation=loadDevice')
345
346
  except Exception:
346
347
  self._smart_network = False
347
348
 
@@ -483,6 +484,7 @@ class TplinkRouter(TplinkEncryption, TplinkBaseRouter):
483
484
  self._url_firmware = 'admin/firmware?form=upgrade'
484
485
  self._url_ipv4_reservations = 'admin/dhcps?form=reservation'
485
486
  self._url_ipv4_dhcp_leases = 'admin/dhcps?form=client'
487
+ self._url_smart_network = 'admin/smart_network?form=game_accelerator'
486
488
  self._url_openvpn = 'admin/openvpn?form=config'
487
489
  self._url_pptpd = 'admin/pptpd?form=config'
488
490
  self._url_vpnconn_openvpn = 'admin/vpnconn?form=config'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tplinkrouterc6u
3
- Version: 5.12.1
3
+ Version: 5.12.2
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
@@ -49,7 +49,9 @@ Python package for API access and management for TP-Link and Mercusys Routers. S
49
49
  - [pycryptodome](https://pypi.org/project/pycryptodome/)
50
50
 
51
51
  ## Usage
52
- Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
52
+ - Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
53
+ - Use Local Password which is for Log In with Local Password. Login with TP-LINK ID doesnt work
54
+ - If you use `https` connection - You need to turn on "Local Management via HTTPS" (advanced->system->administration) in the router web UI
53
55
 
54
56
  ```python
55
57
  from tplinkrouterc6u import (
@@ -304,7 +306,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
304
306
  - [TP-LINK routers](#tplink)
305
307
  - [MERCUSYS routers](#mercusys)
306
308
  ### <a id="tplink">TP-LINK routers</a>
307
- - Archer A6 V2.0
309
+ - Archer A6 (2.0, 4.0)
308
310
  - Archer A7 V5
309
311
  - Archer A8 (1.0, 2.20)
310
312
  - Archer A9 V6
@@ -15,7 +15,7 @@ tplinkrouterc6u/provider.py,sha256=lqxw_pQ4VBYKS3jKrG1zVd4zVnlA6T8MaIRcqq3JAtM,2
15
15
  tplinkrouterc6u/client/__init__.py,sha256=KBy3fmtA9wgyFrb0Urh2x4CkKtWVnESdp-vxmuOvq0k,27
16
16
  tplinkrouterc6u/client/c1200.py,sha256=4XEYidEGmVIJk0YQLvmTnd0Gqa7glH2gUWvjreHpWrk,3178
17
17
  tplinkrouterc6u/client/c5400x.py,sha256=9E0omBSbWY_ljrs5MTCMu5brmrLtzsDB5O62Db8lP8Q,4329
18
- tplinkrouterc6u/client/c6u.py,sha256=n4OMAxg0NXChYaVpWCvx3ZFUxVfynTMy-pyd1CTj9s4,19694
18
+ tplinkrouterc6u/client/c6u.py,sha256=Lh0YktqD4mRdQ_Q6b-fy_s_bgLx3cEdyoD5doOIbOzI,19851
19
19
  tplinkrouterc6u/client/c80.py,sha256=efE0DEjEfzRFr35fjKA_hsv9YaWy_2dgLAaurDM-WQk,17665
20
20
  tplinkrouterc6u/client/deco.py,sha256=cpKRggKD2RvSmMZuD6tzsZmehAUCU9oLiTTHcZBW81Y,8898
21
21
  tplinkrouterc6u/client/ex.py,sha256=tOcMugCViAcISULg8otp3NjdkPyuUXihcoe_0lql3AQ,14886
@@ -31,8 +31,8 @@ tplinkrouterc6u/common/encryption.py,sha256=EWfgGafOz0YgPilBndVaupnjw6JrzhVBdZkB
31
31
  tplinkrouterc6u/common/exception.py,sha256=_0G8ZvW5__CsGifHrsZeULdl8c6EUD071sDCQsQgrHY,140
32
32
  tplinkrouterc6u/common/helper.py,sha256=23b04fk9HuVinrZXMCS5R1rmF8uZ7eM-Cdnp7Br9NR0,572
33
33
  tplinkrouterc6u/common/package_enum.py,sha256=CMHVSgk4RSZyFoPi3499-sJDYg-nfnyJbz1iArFU9Hw,1644
34
- tplinkrouterc6u-5.12.1.dist-info/licenses/LICENSE,sha256=YF6QR6Vjxcg5b_sYIyqkME7FZYau5TfEUGTG-0JeRK0,35129
35
- tplinkrouterc6u-5.12.1.dist-info/METADATA,sha256=NouSjagT1VJU9WCS5HXt9ltRavcTduMKjMDsAFDcw5A,17330
36
- tplinkrouterc6u-5.12.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- tplinkrouterc6u-5.12.1.dist-info/top_level.txt,sha256=1iSCCIueqgEkrTxtQ-jiHe99jAB10zqrVdBcwvNfe_M,21
38
- tplinkrouterc6u-5.12.1.dist-info/RECORD,,
34
+ tplinkrouterc6u-5.12.2.dist-info/licenses/LICENSE,sha256=YF6QR6Vjxcg5b_sYIyqkME7FZYau5TfEUGTG-0JeRK0,35129
35
+ tplinkrouterc6u-5.12.2.dist-info/METADATA,sha256=8g0QXyvFJ1l5gRmUKnKqtubRiClQOVMU7KX8QHpNOvI,17573
36
+ tplinkrouterc6u-5.12.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ tplinkrouterc6u-5.12.2.dist-info/top_level.txt,sha256=1iSCCIueqgEkrTxtQ-jiHe99jAB10zqrVdBcwvNfe_M,21
38
+ tplinkrouterc6u-5.12.2.dist-info/RECORD,,