Skip to content

frozenbits/pylight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pylight

A home project to control my Yeelight lamp.

How to use:

Modify the IP in the "if __name__ == "__main__"" block.
After that, you can call it from the commandline.
The default action will only turn it on or off.

python pylight.py

To use the more advanced options, use the -m parameter

python pylight.py -m

The available options are:

1: "Turn on",
2: "Turn off",
3: "Toggle power",
4: "Set brightness",
5: "Set RGB value",
6: "Set HSV value",
7: "Set color temperature",
8: "Select preset",
9: "Change lamp",
10: "Get lamp properties",
0: "Exit",

About

A home project to control my Yeelight lamp.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages