Skip to content

Argon One fan control script, adapted for the DietPi operating system

License

Notifications You must be signed in to change notification settings

gwylanscheeren/argonone_dietpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Argon ONE fan script for DietPi

This script adapted for the DietPi operating system, installs the scripts and services required to control the fan and power button behaviour for the Argon ONE mini Case.

Installation instruction:

Run from terminal: curl https://raw.githubusercontent.com/gwylanscheeren/argonone_dietpi/master/argon1.sh | bash

Change fan settings:

Run from terminal: argoneone-config

 
 
 
 

Changes made to the original script:

In order to adapt the script to the DietPi operating system I replaced the following lines:

sudo raspi-config nonint do_i2c 0
sudo raspi-config nonint do_serial 0

to:

sudo /DietPi/dietpi/func/dietpi-set_hardware i2c enable || sudo /boot/dietpi/func/dietpi-set_hardware i2c enable
sudo /DietPi/dietpi/func/dietpi-set_hardware serialconsole enable || sudo /boot/dietpi/func/dietpi-set_hardware serialconsole enable

Furthermore I removed the warning and confirmation step before the menu appears from argonone-config. And changed initial temperature=fan speed pairs to:

50=1
55=20
60=80
65=100

About

Argon One fan control script, adapted for the DietPi operating system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages