Giter VIP home page Giter VIP logo

Comments (9)

ericpignet avatar ericpignet commented on June 15, 2024

Was it working with previous Home Assistant versions, or has it never worked?

from home-assistant-tplink_router.

Loki321 avatar Loki321 commented on June 15, 2024

It has never worked, I moved over from a different router a couple of months ago and tried it then and have never been able to get it to work. Does the v3 have a different interface maybe? Happy to give you temporary access if it would help.

from home-assistant-tplink_router.

Loki321 avatar Loki321 commented on June 15, 2024

I just noticed you asked about home-assistant versions (I assumed you meant tp-link component versions), I am running 0.114.4 and it's the only version I've tried this component with, I'm avoiding upgrading at the moment because I don't really have the time to deal with the breaking changes, is the component meant to work with version 3 hardware? If so, I'll try the upgrade.

I can give you secure access to the EAP web interface through a reverse proxy if it is different.

from home-assistant-tplink_router.

nervx avatar nervx commented on June 15, 2024

Same problem for me :/.

from home-assistant-tplink_router.

nervx avatar nervx commented on June 15, 2024

Problem solved i think.

Url has changed between EAP225 V2 & EAP225 V3 and some json parameters too :

Line 459 i changed "/data/monitor.client.client.json" by "/data/status.client.user.json"
Line 479 i changed "device['MAC'].replace('-', ':'): device['DeviceName']" by "device['MAC'].replace('-', ':'): device['hostname']"

And now in HA, i have some device like it :

device_tracker.31_A1_7b_eb_cc_55
source_type: router
latitude: XX.X
longitude: XX.X
gps_accuracy: 0
scanner: EAP225TplinkDeviceScanner
friendly_name: 31_A1_7b_eb_cc_55

from home-assistant-tplink_router.

Loki321 avatar Loki321 commented on June 15, 2024

Excellent work, I've just made the same changes and it is working. The only problem is it's now not possible to stay logged in through the web interface but it's rare I need to make changes so I can work around that.

Thanks.

from home-assistant-tplink_router.

nervx avatar nervx commented on June 15, 2024

Yes i don't know if it's possible to change that in settings but on the main page of this github repository, it's written :

TP-Link devices typically only allow one login at a time to the admin console. This integration 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.

I will wait but currently, it seems that my devices don't update their states and you ?

from home-assistant-tplink_router.

Loki321 avatar Loki321 commented on June 15, 2024

I've just tested by putting my phone on airplane mode and it changes to 'not_home', changing it back goes back to 'home' so it seems to be working correctly so far.

Edit: It takes a couple of minutes to go to 'not_home' but that has been the case with all of the router based device trackers I've used, changing to 'home' is pretty quick.

from home-assistant-tplink_router.

nervx avatar nervx commented on June 15, 2024

Yes, you have reason. I thought the attribute "last_updated" changed for each device when the the device tracker system do a request to the tp link router.

So it's perfect, i can now add a new condition to my automation and to be sure there is no people at home and launch my vacuum :)

from home-assistant-tplink_router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.