Closed ndg63276 closed 3 years ago
Hi @ndg63276 thanks for your post!
In answer to your questions:
Hi @piekstra, thanks for getting back to me. I've tried the bulb with the Kasa app, and it is not found, so not a big surprise it doesn't work with your library. I've had a look at those repo's, and tested the first one, it does work with my bulb. However, all these Tapo resources only work on the local network, whereas your Kasa one works via the cloud, which is what I would like. I guess the only way forward would be packet sniffing what the app sends, so I will look into that. If anyone has any advice, I'm listening!
Thanks anyway.
Hi @piekstra, thanks for getting back to me. I've tried the bulb with the Kasa app, and it is not found, so not a big surprise it doesn't work with your library. I've had a look at those repo's, and tested the first one, it does work with my bulb. However, all these Tapo resources only work on the local network, whereas your Kasa one works via the cloud, which is what I would like. I guess the only way forward would be packet sniffing what the app sends, so I will look into that. If anyone has any advice, I'm listening!
Thanks anyway.
Thanks for following up again. I haven't had much time to invest in looking at the Tapo resources but if you end up being able to do some packet sniffing to figure out the API contracts then it would be far easier for me to try and make an integration within this library, or even setup a separate library for the Tapo devices (dependent on how much overlap there ends up being between Kasa and Tapo). As I do not have any Tapo devices currently I am not readily able to do that investigation myself.
For now I will be closing the issue but please feel free to open it up again, or start a new issue if you end up being able to gather that information about their API. I am sorry that I could not be of greater help to your efforts.
Until then, best of luck!
Hello, trying to get this to work with my Tapo L530 bulb, I can log in and get the device list, but don't seem to get the relay_state:
Trying to look through the code, I can log in and get device list using requests, but then I get this error:
The bulb is definitely online, and controllable through the Tapo app. It doesn't matter what I send in the requestData, it always returns the same error.
So I guess my questions are:
I feel like I'm close but can't get the last step.