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 line 16 of the code (shown below) with:
- Your Tuya/SmartLife login and password (e.g replace 'LOGIN' with '[email protected]')
- 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)
api.init('LOGIN','PASSWORD',"44","tuya")
- Implement colour wheel to lights
- Light percentages (25,50,75)