jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
918 stars 165 forks source link

Hey, I have one question! #314

Open temtekmedia opened 1 year ago

temtekmedia commented 1 year ago

Sorry, this is not directly an issue with your software, first of all thank you so much its amazing !!

But one thing I dont know if i misunderstood something:

The tuya developer account/iot platform is only trial and after I noticed that its $25K ??? I'm just trying to automatize few smart lights at home, is there any way to keep this thing working after the trial?

Thank you !

jasonacox commented 1 year ago

Hi @temtekmedia ! That's a common question. There is a recent discussion here that might be helpful: https://github.com/jasonacox/tinytuya/discussions/286

I don't have any insight into what Tuya plans to do, but those rates are for commercial customers developing Tuya devices and services. For smarthome hobbyist like us, many of us have found that it doesn't expire or they allow renewals. As I mention in that discussion above, we believe that selecting "Skip this step" may actually help indicate that. Worse case, you can create a new account or use another method to get your local keys like this.

Keep in mind that there is a limit to the rate/number of calls you can make to the IoT Tuya Cloud. It is helpful for getting local keys (e.g. TinyTuya wizard) and the occasional calls to the Cloud for troubleshooting but I recommend polling and controlling your Tuya devices using the local API calls. That is where TinyTuya can help. 👍

jasonacox commented 1 year ago

is there any way to keep this thing working after the trial?

Just noticed this bit. You only need the iot platform to get the local keys. Once you have those (the devices.json file), it will continue to work until you remove or re-pair your devices. You won't need the iot account for that.