Tuya Tray is an application utilising the Tuya API to automatically create a taskbar application to control SmartLife/Tuya lights.
Tuya Tray requires Python 3 to run.
Install the requirements and run the script.
$ pip install -r requirements.txt
$ python tuya-tray.py
You will also need to alter the config.json file with the following:
- Your Tuya/SmartLife login and password so it looks like this {"username":"[email protected]","password":"YOURPASS"...}
- Your country code ("44" for UK users, "1" for US/Canadian users, etc)
- The application you're using ('tuya' for tuya users and 'smart_life' for smart life users)
{"username":"[email protected]","password":"YOURPASS","country_code":"44","application":"tuya"}
- Implement colour wheel to lights
- Light percentages (25,50,75)