Open Gipssik opened 2 years ago
@Gipssik what model of device are you trying to find? I wonder if this is an issue with compatibility of the library.
@piekstra I'm trying to find my router Archer A8(EU), it's connected to my Tether app. The library finds it and I can get its device_info
@piekstra I'm trying to find my router Archer A8(EU), it's connected to my Tether app. The library finds it and I can get its
device_info
Ahhh that explains it. While this library works with the TP-Link API, it's currently only written to support certain TP-Link Kasa devices. At this time, any other devices are unlikely to be properly accessed via this library. To add support for your device would be a matter of reverse engineering the Tether app or monitoring its network requests and figuring out the API contracts since they are not officially documented.
I get TypeError every time I use some functions that are coroutines.
Configuration:
Code:
Traceback:
UPD
I started to debug it and found some strange places and the cause of exception I guess.
request_data
atline 53, file device.py
looks strange:And the cause of exception at
line 36, file device_client.py
: