Metadata-Version: 2.1
Name: yeelight-atmosphere
Version: 0.4.0
Summary: Change your yeelight lamp color to scene atmosphere.
Home-page: https://github.com/NikSavilov/yeelight-atmosphere/
Author: Nikita Savilov
Author-email: niksavilov@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE.md

# yeelight-atmosphere
The package allows you to control yeelight smart bulbs, 
changes color according to the color scheme of the image on the screen. 

##  Installation 

    pip install yeelight-atmosphere

## Usage:

    python -m yeelight-atmosphere

Use --choose flag to force choose a bulb by network scanning 
otherwise previous bulb if exists will be used. 

    python -m yeelight-atmosphere --choose

To choose a part of screen to parse for a color use --strategy flag. Full screen needs more CPU.
- Center area of screen = 0
- Top and bottom borders = 1
- Full screen = 2 
  
    
    python -m yeelight-atmosphere --strategy 0


To modify delay of changing color use --dalay (seconds). The less the smoother.

    python -m yeelight-atmosphere --delay 0.3


# Dependencies:
- Pillow
- sqlalchemy
- yeelight
- colorthief

