Skip to content

vilkoz/yeelight_screen_backlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yeelight_screen_backlight

Use yeelight smart bulb as backlight for your screen

Requirements

  • Python3

Currently using scrot to take screen shot.

Instalation and usage

python3 -m venv venv
source vevn/bin/activate
pip install -r requirements.txt
python3 main.py # stop with Ctrl-C

Explanation

Linux demo from yeelight developer site is used to control the bulb.

Color selection is made by performing K-means clustering algorithm with number of clusters = 3, on scaled down screen shots, then selecting the largest cluster.

Usefull links

Yeelight API specs Yeelight Developer page

About

Use yeelight smart bulb as backlight for your screen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages