Change your yeelight lamp color to scene atmosphere.
Project description
# 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:
cd yeelight-atmosphere python main.py
Use –choose flag to force choose a bulb by network scanning otherwise previous bulb if exists will be used.
python main.py –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 main.py –strategy 0
To modify delay of changing color use –dalay (seconds). The less the smoother.
python main.py –delay 0.3
# Dependencies: - Pillow - sqlalchemy - yeelight - colorthief
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file yeelight-atmosphere-0.3.tar.gz
.
File metadata
- Download URL: yeelight-atmosphere-0.3.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1df428e41f717048d1cf7eccf6341bdd7cf9f09fa2ce80c4239ea2e8650fc517 |
|
MD5 | 42810991f3bc0c70a3ec673b340181aa |
|
BLAKE2b-256 | e6d622c7703456464d928c83b06ebe0f3c6e6fa81858492dfa1a50119a0a0689 |