Here are the steps I took to get the argon1_0.2.1_all.deb package working on DietPi V7.4.2.
All steps are done with the user dietpi
sudo adduser pi Add user "pi". During the process, the password for the user "pi" is set
mkdir download Create the directory "download" in the home directory of the user dietpi
Put the file "argon1_0.2.1_all.deb" on a USB stick formatted with FAT32 and plug it into the Rapberry Pi.
sudo dietpi-drive_manager Mount the USB stick with the drive manager in a directory (for example -> /mnt/USB-stick).
USB-Stick ist mounted:
sudo dietpi-software -> Browse Software -> select file manager "mc" (package no. 3) -> install.
sudo mc Start the file manager
Use "mc" to copy the argon1_0.2.1_all.deb file from the USB stick to the "download" directory.
/mnt/USB-Stick/ -> /home/dietpi/download/
Leave "mc"
Install the following packages
sudo apt-get install --reinstall python3-pkg-resourcessudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0cd download Change to the "download" folder
sudo apt install ./argon1_0.2.1_all.deb The fan control is installed
sudo mc Mark the file /lib/python3/dist-packages/argonone/init.py -> Edit -> Select editor "nano".
The following entry must be changed in the file so that the fan also starts when the temperature is reached:
Old:
def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
Could raise IOError, according to "official" scripts
Ctrl & o -> Enter -> Ctrl & x Save the file under the same name and exit the editor
Leave "mc"
sudo adduser dietpi argononesudo rebootsudo cat /etc/group
• i2c has entered the user "argonone"
• gpio has entered the user "argonone"
• argonone has entered the user "pi" & "dietpi"
All of the following commands should now work without an error message
argonctl speedargonctl tempargonctl pauseargonctl set_speed 50argonctl resumesudo systemctl status argonone looks like this now
Here are the steps I took to get the argon1_0.2.1_all.deb package working on DietPi V7.4.2. All steps are done with the user dietpi
sudo adduser pi
Add user "pi". During the process, the password for the user "pi" is setmkdir download
Create the directory "download" in the home directory of the user dietpi Put the file "argon1_0.2.1_all.deb" on a USB stick formatted with FAT32 and plug it into the Rapberry Pi.sudo dietpi-drive_manager
Mount the USB stick with the drive manager in a directory (for example -> /mnt/USB-stick). USB-Stick ist mounted:sudo dietpi-software
-> Browse Software -> select file manager "mc" (package no. 3) -> install.sudo mc
Start the file manager Use "mc" to copy the argon1_0.2.1_all.deb file from the USB stick to the "download" directory. /mnt/USB-Stick/ -> /home/dietpi/download/ Leave "mc" Install the following packagessudo apt-get install --reinstall python3-pkg-resources
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
cd download
Change to the "download" foldersudo apt install ./argon1_0.2.1_all.deb
The fan control is installedsudo mc
Mark the file /lib/python3/dist-packages/argonone/init.py -> Edit -> Select editor "nano". The following entry must be changed in the file so that the fan also starts when the temperature is reached:Old: def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
Could raise IOError, according to "official" scripts
New: def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
Could raise IOError, according to "official" scripts
Ctrl & o -> Enter -> Ctrl & x Save the file under the same name and exit the editor Leave "mc"
sudo adduser dietpi argonone
sudo reboot
sudo cat /etc/group
• i2c has entered the user "argonone" • gpio has entered the user "argonone" • argonone has entered the user "pi" & "dietpi" All of the following commands should now work without an error messageargonctl speed
argonctl temp
argonctl pause
argonctl set_speed 50
argonctl resume
sudo systemctl status argonone
looks like this nowI wish you success