tplink platform allows you to detect presence by looking at connected devices to a TP-Link device.
Currently supported devices includes the following:
- Archer C7 firmware version 150427
- Archer C9 firmware version 150811
- EAP-225 AP with latest firmware version
- Archer D9 firmware version 0.9.1 0.1 v0041.0 Build 160224 Rel.59129n
TP-Link devices typically only allow one login at a time to the admin console. This component will count towards your one allowed login. Depending on how aggressively you configure device_tracker you may not be able to access the admin console of your TP-Link device without first stopping Home Assistant. Home Assistant takes a few seconds to login, collect data, and log out. If you log into the admin console manually, remember to log out so that Home Assistant can log in again.
# Example configuration.yaml entry device_tracker: - platform: tplink host: YOUR_ROUTER_IP username: YOUR_ADMIN_USERNAME password: YOUR_ADMIN_PASSWORD
For Archer C9 models running firmware version 150811 or later please use the encrypted password you can retrieve like this:
- Go to the login page of your router. (default: 192.168.0.1)
- Type in the password you use to login into the password field.
- Click somewhere else on the page so that the password field is not selected anymore.
document.getElementById("pcPassword").value;, depending on your firmware version.
- Copy the returned value to your Home Assistant configuration as password.
See the device tracker component page for instructions how to configure the people to be tracked.
For Archer D9 model the default ip is 192.168.1.1, the username is not necessary and you can leave that field blank.