This is a rewritten version of the Argon One daemon.
Only the fan speed control feature was implemented.
Due to a hardware "bug" the fan speed control might not work.
Please see the following thread.
I replaced the capacitor mentioned there (10uF -> 10nF).
The default config file location is /etc/default/argonone.toml
.
This location can be changed by the CONFIG_FILE
environment variable.
Requirements:
- smartctl (smartmontools)
- lsblk
- awk
Also requires additional python libraries:
- smbus2
- RPi.GPIO
- toml
- Download the
argonone.py
file and place it in/usr/local/bin/
. - Run
chmod 755 /usr/local/bin/argonone.py
. - Download
argonone-example.toml
, move it to/etc/default/argonone.toml
, and adjust the configuration options. - Set up the systemd unit.
Please see this unit file.
You can copy it to /etc/systemd/system/
and adjust locations of the python3 binary and argonone.py
if necessary.
Then execute the following as root:
systemctl daemon-reload
systemctl enable argonone.service
systemctl start argonone.service