Open DinuruSeniya opened 1 month ago
I'm not too sure if this would be possible, as the Tuya API requires a token from your account to be passed with every single call to it. If you think it could be possible however, I'd be happy for you to help me set it up.
The token for Local Tuya can be obtained by creating a developer account and I believe it does not change (until a network change or a firmware update?). I only have a WiFi plug that I need to control from my laptop at home through the local network without reaching for my phone. I also created a Github actions workflow to build the project.
This would theoretically be doable, however would require a lot of work and adjustments to the core functionality of the app. As for now, its a bit out of scope as for where I wanted this to go, but it's definitely something that could be implemented in the future. I'm planning on rewriting the app at some point so I can take a look into it then. In the mean time, you should be able to still control your device by logging into the same account is was setup on, although I haven't tested a smart plug currently so any feedback would be great!
Hi, I was wondering if we could include a local-only mode to control Tuya WiFi devices (using the API key) instead of logging into the smart life account.