Skip to content

Tray application for Smartlife/Tuya

Notifications You must be signed in to change notification settings

mattanorak/tuya_tray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tuya Tray

Tuya Tray is an application utilising the Tuya API to automatically create a taskbar application to control SmartLife/Tuya lights.

Installation

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:

  1. Your Tuya/SmartLife login and password (e.g replace 'LOGIN' with '[email protected]')
  2. Your country code ("44" for UK users, "1" for US/Canadian users, etc)
  3. The application you're using ('tuya' for tuya users and 'smart_life' for smart life users)
api.init('LOGIN','PASSWORD',"44","tuya")

In Action!

Gif

Todos

  • Implement colour wheel to lights
  • Light percentages (25,50,75)

About

Tray application for Smartlife/Tuya

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%