Closed gordonaspin closed 8 months ago
@gordonaspin Thank you! 60 seconds too much I think. Could you test on your router timeout for 10 seconds?
10s works. It takes what it takes ... !
@gordonaspin Great. Could you also update README.md with you new additions? Also, what is version of your router? Archer A6 v2?
Mine is:
firmware version: 1.2.1 Build 20220714 rel.75573(5553) hardware version: Archer A7 v5.0
I'll update readme with my second commit. I added APIs to get dhcp lease info and a couple of others. I also used macaddress and ipaddress libs to have a client program be able sort by ip (vs a lexical sort). I'll send another pull request maybe tomorrow.
I updated the README and cleaned up naming conventions, added requirements.txt.
Thank you!
As 10 sec works for you - Ill reduce 60 sec to 10 ok?
code as-is would throw timeout exception with my Archer A6 when calling get_status(). I added timeout to TpLinkRouter defaulted to 60 seconds