Skip to content

dfraska/PyWraithPrism

Repository files navigation

About

PyWraithPrism allows control of the AMD Wraith Prism CPU fan RGB LEDs from within Python from "any" platform (specifically tested on Windows, but this should also work on Linux or any other platform that supports hidapi).

Other projects exist for controlling the Wraith Prism cooler (see the Acknowledgements section for some examples). These are either written for other platforms, or are not feature-complete enough for my uses.

Installation

Install the package using pip

python -m pip install git+https://github.com/dfraska/PyWraithPrism#egg=py_wraith_prism

or pipenv

pipenv install git+https://github.com/dfraska/PyWraithPrism#egg=py_wraith_prism

On Linux, add a udev rule to allow user-mode access to the USB device. You can do this automatically by running the included script as sudo

sudo python -m py_wraith_prism.add_udev_rule

Usage

See the examples under tests for a basic usage example.

The primary methods for controlling the LEDs are through the ring, fan, and logo components. When you're done modifying settings, call prism.submit_all_components() to apply the current settings, and prism.save() to save the values to the hardware.

Acknowledgements

About

Control the Wraith Prism CPU fan from Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages