This project enables monitoring of temperature and CPU utilization on DeepCool's AK series digital air cooler for Linux systems.
This script requires the following dependencies:
- Python 3
hidapipsutil
Available supported models:
ak620ak500s
AUR is available. You can use AUR helper or makepkg to install if you use Arch Linux.
Using AUR helper:
yay -S deepcool-ak620-digital-linux-gitUsing makepkg:
git clone https://aur.archlinux.org/deepcool-ak620-digital-linux-git.git
cd deepcool-ak620-digital-linux-git
makepkg -siYou can skip these steps if you have installed the package from AUR.
-
Install Python Dependencies: First, you need to install the necessary Python libraries,
hidapiandpsutil. These libraries allow the script to interact with the hardware and monitor system resources.Open a terminal and run the following commands:
pip install hid pip install psutil
Note: If you encounter permission errors, try adding --user to install the packages for your user only or use sudo to install them system-wide (not recommended for
pip). -
Clone the Repository: The script and necessary configuration files are hosted on GitHub. Use git to clone the repository to your local machine.
git clone https://github.com/hikyae/deepcool-ak620-digital-linux
-
Navigate to the Project Directory: Change your current directory to the newly cloned project folder.
cd deepcool-ak620-digital-linux -
Run the Setup Script: The
setup.shscript will install the script and systemd service files. Run the script by executing:chmod +x setup.sh ./setup.sh
-
Look up the hardware temperature sensor: Retrieve hardware temperature sensor label in the system. Run the following Python code snippet.
import psutil print(psutil.sensors_temperatures().keys())
-
Edit the service file: Edit ExecStart part in the drop-in file (
/etc/systemd/system/deepcool-ak620-digital.service.d/override.conf) to configure the service by executingsudo systemctl edit deepcool-ak620-digital.service: Example:[Service] ExecStart= ExecStart=/usr/bin/deepcool-ak620-digital --product ak500s --no-show-util --interval 3Command-line arguments are shown by executing
deepcool-ak620-digital -hBy default the default arguments are as follows:
- --product: ak620
- --sensor: k10temp
- --show-temp: True
- --show-util: True
- --interval: 2
-
Enable and start the services
sudo systemctl enable --now deepcool-ak620-digital.service sudo systemctl enable --now deepcool-ak620-digital-restart.service
- If you encounter any errors related to HIDAPI or psutil, ensure that the dependencies are installed correctly by running the setup.sh script.
- Make sure the AK620 digital air cooler is properly connected to your system and that the correct Vendor ID and Product ID are set in the script.
- How to verify Product ID and Vendor ID? Use lsusb -v to get the list of devices and search for your cooler.
lsusb -v | less
...
Bus 001 Device 005: ID 3633:0002 DeepCool AK620-DIGITAL
...