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.
Run from terminal: curl https://raw.githubusercontent.com/gwylanscheeren/argonone_dietpi/master/argon1.sh | bash
Run from terminal: argoneone-config
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