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:
This will print the information about the Kraken device - including current fan and pump speed, liquid temp and the firmware version.
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.
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.
This command reports the current liquid temperature in degrees celcius.
This was developed referencing the NZXT Kraken protocol documentation by Ksenijas@.