Yeelight_Bulb_Manager is a Python-based program that enables users to control their Yeelight bulbs from their computer. With this program, you can easily turn on/off the light, change its color, temperature, brightness, and choose from a variety of pre-defined scenes. Yeelight_Bulb_Manager is perfect for those who want to control their Yeelight bulbs without having to use a mobile app or physical switch.
- Clone the repository:
- Navigate to the repository directory:
- Install the required dependencies:
git clone https://github.com/Karol-2/Yeelight_Bulb_Manager.git
cd Yeelight_Bulb_Manager
pip install -r requirements.txt
- Preferably, enter your bulb ip address into 'BULB' environment variable
- Run the script:
- Choose the action you want to perform.
python app/main.py
- Turn the bulb on/off
- Change the color of the bulb
- Change the temperature of the bulb
- Adjust the brightness of the bulb
- Choose from a selection of pre-defined scenes
This repository includes unit tests that can be run using the following command:
python -m unittest
The tests verify the correct operation of individual functions in the script.