Skip to main content

A Python Package to controll TP-Link Routers

Project description

TP-link WiFi Router Controller

  • Based on Selenium.
  • Uses the WebUI as you would normally do.
  • Made due to the lack of any kind of API to interact with any TP-Link Routers.

Tested On:

    • Hardware: Archer C1200 v2.0
    • Firmware Version: 2.0.2 Build 20180118 rel.38979 (EU)

To get started:

  1. Clone the repository.
  2. Create a virtual environment.
  3. Install all the packages from requirements.txt
  4. Install JDK-8
    • Using Chocolatey
    choco install jdk8
    
  5. Download Browsermob-proxy.
    • For windows, leave it as default, should work out of the box.
    • Pass it to the instance in code.
    • tplink = TP_Link_Controller(email, password, browsermobproxy_location=r"bin\browsermob-proxy-2.1.4\bin\browsermob-proxy", DEBUG_MODE=True)
      
  6. Download the Chrome webdriver and place it in ./bin/ folder for windows.
  7. For Raspberry Pi install .deb packages from here. No need to set bin path, packages will be installed in right directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tp-link-controller-0.0.1.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

tp_link_controller-0.0.1-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page