Tplink device tracker supported devices, Archer D9?

Not sure where to ask, but I have been trying to use the tplink component with my Archer D9 modem/router and can’t get it to work. Is there are specific component area to ask questions in this forum?

I can see that the Archer C9 is supported and the D9 is a C9 with DSL modem capabilities so it seems it should work. I’ve cycled through all the different firmwares, tried a bunch of different settings and can’t get it to connect. Is it possible to see a list of supported devices anywhere, I’d like to know if anyone else has got it working before I spend any more time trying to get it working.

I would also like the D7 to be supported. The D7 doesn’t ask for a username on the login page, only a password (which I find bizarre and unsecure, but there you go) so I suspect the script just fails.

Have you tried “admin” as the username?

I’ve tried a few different firmwares on the modem, the earlier ones use username and password. I’m not sure if it’s relevant but when I was trying to work out the encrypted password as mentioned on the component page instructions for the C9 the element ID was reported as “pcPassword” rather than “password”

Have you tried using SNMP? I can’t get that working either - it seems TP-Link doesn’t make it easy to find the BASEOID or MIB files. I have the first half of the number from using the tools at https://www.paessler.com/tools/snmptester but haven’t worked out how to get the rest.

I have tried admin as the username, yes, and it doesn’t work. HA complains something about not receiving a JSON response, which I assume means it didn’t successfully log in and received some HTML instead.

I checked the encrypted password thing as well and the field is just labelled as password.

Not sure about the SNMP thing, not familiar with it :confused:

SNMP is here https://home-assistant.io/components/device_tracker.snmp/

Other than MQTT reporting with Owntracks or Locative the only other option I guess is pinging with NMAP https://home-assistant.io/components/device_tracker.nmap_scanner/

Once I’m indoors Owntracks tends to check me in and out far too often so I might try and check in using Tasker or something similar instead.

I’m having the same issue with my Archer D7. Is there a way to modify the tp-link platform script so that it doesn’t try to enter a username?

Looks like i have found my Archer D7 people, would also love to get this to work. I’ve tried both the snmp and tplink methods with no luck. yes snmp was enabled in the router.

How did you figure out the base OID number @tboss?

That was the bit I couldn’t work out.

I googled but couldn’t find anything. I basically went down the whole list of example OID’s hoping to get lucky but didn’t (including the tplink one). maybe an email to tplink might help?

When playing with the tplink platform I did the same as you trying admin and Admin usernames with no luck.

on the bright side nmap works fine:

  • platform: nmap_tracker
    hosts: 192.168.1.1/24

I was just hoping to cut out the middle man and use something that looked like it was specifically for my router/functions my router has.

Signed up to let everyone know that I have this working. Using an SNMP interface into my TPLink. It’s successfully polling for the presence of my Android device & my girlfriends iphone.

Currently at work (and don’t have remote access to my HA install), but I’ll post the OID if anyone requires in the next day or two…

1 Like

The OID for connected devices on my TPLink Archer D9 is .1.3.6.1.2.1.3.1.1.2.13.1

Im having the same trouble with my C9. Everything I do results in invalid config.

I also have Tile devices, same error, invalid config
so I tried nmap, again invalid config.
I’m on 90.2
before I switched to lovelace I had the same problems, invalid config.

Please, anyone. What is happening with my device tracker?

@jaltman056 I moved to bluetooth_tracker and ping for my presence detection. I haven’t had any problems since.

indent preformatted text by 4 spaces

device_tracker:

  • platform: bluetooth_tracker
    indent preformatted text by 4 spaces

I now have this in my configuration.yaml file. I’m still getting the same error. “invalid config”
I also put the ping into my file with the bluetooth and got the same error, so I removed the ping. No matter what device tracker I try, its the same error.

I’m not that tech savvy sorry all I can do is paste you my settings and wish you good luck. I have since moved on from that router but I did get it working with this config at the time.

device_tracker:
  - platform: bluetooth_tracker
    consider_home: 300
    interval_seconds: 30
    new_device_defaults:
      track_new_devices: no
      hide_if_away: false
  - platform: ping
    hosts:
      mewifi: 10.1.14.3
      gfwifi: 10.1.14.4
    consider_home: 300
    interval_seconds: 10

Thanks for your reply. Here is what I have now, still the same problem.

indent preformatted text by 4 spaces
device_tracker:

  • platform: bluetooth_tracker
    consider_home: 300
    interval_seconds: 30
    new_device_defaults:
    track_new_devices: true
    hide_if_away: false

  • platform: ping
    hosts:
    hostone: 107.77.207.96

    mewifi: 10.1.14.3

    gfwifi: 10.1.14.4

    consider_home: 300
    interval_seconds: 10
    indent preformatted text by 4 spaces

I have the archer c7, not sure how to even set it up for presence detection, let alone to see what devices connect to my wifi… anyone know?

The code for using a tplink router as a device tracker has been removed from Home Assistant. However if you are still interested in using that functionality, I have moved the code into a custom component here.