Comments (2)
I create a batch file and then set up a new scheduled task for (every) log on.
The batch file could be really simple, just listing the various invocations of liquidctl you would otherwise do by hand. But it could also do a bit more, for example use the LEDs to convey progress or eventual errors.
Mine looks a lot like this:
rem Use VID/PID to filter the device we want; this way, if we add a new device,
rem or if a new version of liquidctl includes new drivers, our script remains stable
set KRAKEN=--vendor 0x1e71 --product 0x170e
rem Configure the cooler (1/3)
liquidctl %KRAKEN% set sync color off || goto :error
rem Configure the cooler (2/3)
liquidctl %KRAKEN% set fan speed 35 60 45 100 || goto :error
liquidctl %KRAKEN% set ring color super-fixed 000000 8C5A24 8C5A24 8C5A24 || goto :error
rem Configure the cooler (3/3)
liquidctl %KRAKEN% set pump speed 30 50 40 100 || goto :error
liquidctl %KRAKEN% set sync color fixed 8C5A24 || goto :error
rem To finalize wait a second and use a single color covering marquee for dramatic effect
timeout /t 1 /nobreak > NUL
liquidctl %KRAKEN% set ring color covering-marquee 8C5A24 || goto :error
goto :EOF
rem If a liquidctl invocation has failed we'll have jumped here; to communicate that
rem visually, we (try to) set the cooler to pulse red
:error
set code=%errorlevel%
liquidctl %KRAKEN% set ring color pulse ff2608 --speed faster
exit /b %code%
Make sure that Python and executables from its packages are available in the context where the batch file will run: in short, python --version
and liquidctl --version
should work within a normal Command Prompt window.
If necessary, try installing Python with the option to set the PATH variable enabled, or manually add the necessary folders to the PATH. Alternatively, if you're using Anaconda, try adding the following line to the beginning of the file:
call %homepath%\Anaconda3\Scripts\activate.bat
I'll leave the issue open to remind me to add a short section about this to the documentation.
from liquidctl.
edit
from liquidctl.
Related Issues (20)
- Opening any GUI software (Firefox, VSCode, etc...) makes the fans spin at max speed for a couple of seconds HOT 3
- Octo PWM functionality unavailable in d5 next kernel driver, fallback HOT 1
- unable to set speeds git version | octo HOT 11
- Arctic Liquid Freezer III/II HOT 6
- Input power curve for HX1500i is absurd HOT 3
- ASUS ROG RYUJIN III 360 ARGB HOT 14
- Unable to control the Pump on my H150i cappllix LCD HOT 1
- Add support for MSI MPG Coreliquid K240 **V2**
- Replace use of `crcmod` by something else HOT 4
- [Solved] ModuleNotFoundError: No module named 'smbus' HOT 4
- Asus ROG Strix LC III 360 HOT 14
- Self-contained executable for downloading? HOT 3
- Cant set Pump&fan speed on Kraken Elite 2023 HOT 4
- Add support for ICUE LINK System Hub HOT 4
- Unable to control NZXT Kraken 360 Black
- AIO RGB turns off and on once per CLI command to change speeds HOT 3
- Corsair Commander Pro occasional unexpected OS error HOT 28
- Liquidctl broken on python 3.12.3 HOT 2
- Kraken X60 error on initialize HOT 6
- Corsair Commander ST: fan curve still not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidctl.