And I can confirm that it actually works to exclude NVME devices, when you add them directly to the config file.
BUT be careful with the UI... the setting will not be shown if you add a NVME device in the config AND the config file will be overwritten, if you change something in the GUI (so the NVME drive is gone).
before changing the file via terminal please be sure that the service has stopped.
to kill all services run:
/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/autofan -q
maybe you have to run it more than once. for me it just stopped only one instance of the service. I have 2 fan controllers configured.
Check with 'htop' if everything stopped, otherwise kill them in 'htop'.
after that change your config file with:
nano /flash/config/plugins/dynamix.system.autofan/dynamix.system.autofan*.cfg
replace the * with your corresponding config file.
In the config file I changed two lines...
Here is an example of one of my controllers config with a NVME devices excluded.
options="-c /sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm4 -f /sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input -l 30 -t 30 -T 40 -m 1 -e sdp,nvme0n1"
service="1"
controller="/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm4"
fan="/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input"
pwm="30"
low="30"
high="40"
interval="1"
exclude="sdp,nvme0n1"
Please notice that I changed it once in the 'exclude' parameter (last line) and once in the 'options' parameter which constructs the service I guess.
Restart your service with:
/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan restart
or
/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan start
I saw here in the forums that some people had also problems excluding there NVME devices.
Hope that the developer will take care of it, but it seems that there is a workaround until then.
Kind regards from Berlin