This project provides a Python script to control the RGB lighting of Asiahorse CosmicQ fans and RGB PSU cables using the OpenRGB API. The script is designed to run on startup for a one time effect and then run continuously.
https://youtube.com/shorts/fA4bk8Mo7QM?si=u8027rDWWo5T-s0F
- Detects connected RGB devices.
- Manages LED configurations for Asiahorse CosmicQ fans and RGB PSU cables and GSkill Neo Trident Ram.
- Has startup animation and infinite animations.
-
Clone the Repository
git clone https://github.com/sahilmtayade/my-openrgb-python.git cd my-openrgb-python -
Install Dependencies Ensure you have Python installed, then run:
pip install -r requirements.txt
-
Run the Script You can run the script manually using:
python src/main.py
To run the script on Windows startup, you can create a scheduled task or place a shortcut in the Startup folder.
-
Configure Environment Variables
Create a.envfile in the project root to set environment variables. For example, to enable debug mode:DEBUG=1You can leave this as is for basic debugging. Additional options may be added in the future.
- Modify the
src/main.pyfile to set your desired lighting effects and colors. - Use the
src/utils/openrgb_helper.pyfor additional functionality and customization.
- The Asiahorse CosmicQ fans can be configured for various lighting effects such as static colors, breathing effects, and color cycling.
- RGB PSU cables can also be customized to match the fans or set to different effects.
Feel free to submit issues or pull requests for improvements and additional features.
This project is licensed under the MIT License. See the LICENSE file for more details.