Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gwylanscheeren/argonone_dietpi

Argon One fan control script, adapted for the DietPi operating system
https://github.com/gwylanscheeren/argonone_dietpi

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://www.argon40.com/argon-one-raspberry-pi-4-case.html).

## 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