I refactored your code to use Retrofit, and made a library/SDK for interacting with Kasa devices. Here is the repo, let me know what you think (I think I made it a bit more user-friendly to use): https://github.com/Sternbach-Software/KasaTPLinkAndroidSDK
I refactored your code to use Retrofit, and made a library/SDK for interacting with Kasa devices. Here is the repo, let me know what you think (I think I made it a bit more user-friendly to use): https://github.com/Sternbach-Software/KasaTPLinkAndroidSDK