ericpignet / home-assistant-tplink_router

TPLink router device tracker for Home Assistant
41 stars 28 forks source link

Archer C7 version #1

Open smhgit opened 4 years ago

smhgit commented 4 years ago

First, thx for the integration!

I have archer C& and the version I see is:

image

Is it supported?

ericpignet commented 4 years ago

Hi, I've only repackaged the old TP-Link router integration in HACS, so that people can keep using it even though it was officially removed from Home Assistant. I've only implemented support for the N600, which is my own router. The list of compatible devices is coming from the old documentation on HA website and from comments in the code. I don't have more information and I don't own any other router so I can't test. The firmware listed is for Archer C7 v2, and you have v5, so I don't know if the interface changed and if v5 is supported.

I think you should give it a try, and let me know if it works, so that I can update the documentation. If it does, it should generate a known_devices.yaml file in your config directory, and create the entity for each device in HA. If it doesn't work but you are able to find the URL of the page which includes the MAC address of connected devices and test it with curl or wget, I can do the parsing and integrate in the code.

Eric

Rivsenn commented 3 years ago

And did it worked ?

pytz commented 3 years ago

I can confirm it works for my Archer C7 (older version)

Firmware Version: 3.15.3 Build 180305 Rel.51282n
Hardware Version: Archer C7 v2 00000000

without any further changes necessary.

Only one minor inconvenience: with this addon enabled you cannot login to the router interface anymore as only one simultanous login is permitted. In case you need to access the interface you have to stop homeassistant for a moment.

steveothesane commented 2 years ago

So I'm getting this error when trying to validate the configuration:

Configuration validation Validate your configuration if you recently made some changes to your configuration and want to make sure that it is all valid. Configuration invalid

Platform error device_tracker.tplink_router - Integration 'tplink_router' not found.

This is what is in my configuration.yaml:

device_tracker:

  • platform: tplink_router host: 10.0.0.1 username: password: ########### interval_seconds: 10 consider_home: 180 new_device_defaults: track_new_devices: true

Firmware Version: 1.1.4 Build 20211022 rel.59103(5553) Hardware Version: Archer C7 v5.0

I also have this in my configuration.yaml:

tplink: discovery: true

I tried commenting that out but still have the same error. Any ideas? If you need anything else to help let me know. Thank you.

AlexandrErohin commented 7 months ago

If you are still looking for a Home Assistant Integration for Archer C7 v5.0 - I have one https://github.com/AlexandrErohin/home-assistant-tplink-router

steveothesane commented 7 months ago

@AlexandrErohin thank you. I have since upgraded to the TP-Link AX3000 but I installed your interation anyway and it works. Again thank you for this integration.