Crates.io | kraken_rs |
lib.rs | kraken_rs |
version | 0.2.0 |
source | src |
created_at | 2020-03-31 05:08:20.922422 |
updated_at | 2020-03-31 05:22:42.242662 |
description | A crate to manipulate the NZXT Kraken X series device under Linux, and CLI tool |
homepage | |
repository | https://github.com/rthomas/kraken |
max_upload_size | |
id | 224665 |
size | 15,549 |
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.
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.