#devices #speed #fan #pump #linux #liquid #series

bin+lib kraken_rs

A crate to manipulate the NZXT Kraken X series device under Linux, and CLI tool

2 unstable releases

0.2.0 Mar 31, 2020
0.1.0 Mar 31, 2020

#18 in #fan

MIT license

11KB
203 lines

NZXT Kraken X Series API and CLI.

API

The API is centred around the Kraken struct and allows you to read the current data with the read() method.

Consumers can also set the fan and pump speeds with the set_fan_speed and set_pump_speed methods.

CLI

This also includes a binary for interacting with the API from the command line under linux.

The CLI provides the following commands:

info

This will print the information about the Kraken device - including current fan and pump speed, liquid temp and the firmware version.

fan

The command takes the optional argument SPEED and will set the fan speed to the given value (as a percent) or print the current fan speed if none is provided.

pump

The command operates the same as fan and takes the optional argument SPEED, this will set the pump speed to the given value (as a percent) or print the current pump speed if none is provided.

temp

This command reports the current liquid temperature in degrees celcius.

Dependencies

~1.9–2.7MB
~42K SLoC