jasonacox / tuyapower

Python module to read status and energy monitoring data from Tuya based WiFi smart devices. This includes state (on/off), current (mA), voltage (V), and power (wattage).
MIT License
136 stars 20 forks source link

extra Tuya developer API settings required #10

Open clmcavaney opened 3 years ago

clmcavaney commented 3 years ago

G'day, Thanks so much for this project.

I found that I had to turn on some extra API settings before the tuya-cli wizard worked.

Under API Setting in the Tuya iot.tuya.com site: image

I had to turn on Authorization management, Device Management and Device Control. image

After that I was able to get the keys from the tuya-cli wizard command.

Maybe that could be added to the "3. For Device KEY" section of the README.md file?

Thanks and regards, Christopher

jasonacox commented 3 years ago

Hi @clmcavaney, thanks for this suggestion! I have added a note to section 3 as you mention. When I set it up, all of the API groups where set to "Open" by default but just in case others experience the same thing you do, I added:

Thank you!

salu210 commented 3 years ago

Now you have to subscribe to Device Management API (for free) and authorize the project. immagine