menahishayan / Home-Assistant-TP-Link-Router

Home Assistant component for complete router administration of the TP Link Archer C50 and the TP Link N600
GNU General Public License v3.0
45 stars 6 forks source link

Home Assistant TP Link Router

Home Assistant component for complete router administration of the TP Link Archer C50 and the TP Link N600 based on the TP-Link Router API

Looking for Maintainers

Between full-time work and commitments, I no longer find the time to maintain this project. As a result you'll find a number of open issues. If you're interested to contribute, feel free to open a PR! Until then, this project is stale and likely won't recieve updates.

Installation

HACS (recommended)

  1. Go to the Community Store.
  2. Search for Home Assistant TP Link Router.
  3. Navigate to Home Assistant TP Link Router integration
  4. Press Install.

Manual

  1. Clone this repository
    git clone https://github.com/menahishayan/Home-Assistant-TP-Link-Router.git
  2. Move tplink_router to custom_components
    mv Home-Assistant-TP-Link-Router/custom_components/tplink_router <HA_ROOT>/custom_components/

Setup

Add the following to your configuration.yaml:

  1. For Switches:
    switch:
    - platform: tplink_router
    host: 'hostname or IP'
    username: 'username'
    password: 'password'
  2. For Sensors:
    sensor:
    - platform: tplink_router
    host: 'hostname or IP'
    username: 'username'
    password: 'password'
  3. Device Tracker:
    device_tracker:
    - platform: tplink_router
    host: 'hostname or IP'
    username: 'username'
    password: 'password'

Components

Switches

Sensors

Device Tracker

Adding Support For More Models

Head over to CONTRIBUTING.md

Troubleshooting/Error Reporting/Contributing

PRs and Commit Template

PRs and commits that you make to this repo must include the following:

Contributing

This integration is merely a Home Assistant interface for the TP-Link Router API. To help improve the core API itself, such as adding more controls, or supporting more routers, head over to the API's repo and create a pull request there.

For improvements in how this integration actually interfaces the API with Home Assisant's developer modules, you may make a pull request here.

Changelog

v1.0.3