May 17, 20251 yr Hello Unraid Community, I’ve made several enhancements to the Dynamix Auto Fan Control plugin and wanted to share them with you. Building on the original plugin, I’ve added the following features: New Features: 1. Support for GPU and Array Card Temperatures: The plugin now supports using GPU and array card temperatures to control fan speed. You can choose to include or exclude these temperatures in the fan control logic. 2. Fan Speed Display in the Settings Page: The settings page now displays the fan speed for the selected controller, making it easier to identify which fan is being controlled. 3. Multi-GPU Support: Added support for multiple GPUs, allowing you to exclude specific GPUs from temperature calculations independently. Usage Instructions: 1. Place the Files: Copy the modified files into the /boot/config/plugins/dynamix.system.autofan directory on your Unraid system. 2. Copy Files to the Plugin Directory: Use the following commands to copy the files to the original plugin directory: cp /boot/config/plugins/dynamix.system.autofan/FanSettings.page /usr/local/emhttp/plugins/dynamix.system.autofan/FanSettings.page cp /boot/config/plugins/dynamix.system.autofan/scripts/get_fan_speed.sh /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/get_fan_speed.sh cp /boot/config/plugins/dynamix.system.autofan/scripts/rc.autofan /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan cp /boot/config/plugins/dynamix.system.autofan/scripts/autofan /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/autofan 3. Set File Permissions: Ensure the files have the correct permissions: chmod 644 /usr/local/emhttp/plugins/dynamix.system.autofan/FanSettings.page chmod 755 /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/get_fan_speed.sh chmod 755 /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan chmod 755 /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/autofan 4. Restart the Plugin: Restart the plugin to apply the changes: /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan restart Notes: Dependencies: Ensure nvidia-smi is installed if you’re using GPU temperature control. You may also need get_storcli_temp.sh for array card temperature support. Persistence: To make the plugin start automatically on boot, add the following line to your /boot/config/go file: /usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan start Testing: After restarting, visit the Fan Settings page (Settings > Fan Auto Control) to verify that the fan speed is displayed and that GPU/array card temperature options are available in the "Exclude drives/array card/GPU temperatures" dropdown. Feedback: I’d love to hear your feedback or suggestions for further improvements! If you encounter any issues, please share your logs (tail -f /var/log/syslog | grep autofan) or screenshots of the Fan Settings page. Happy cooling! _dynamix.zip
October 31, 2025Oct 31 On 5/17/2025 at 3:02 AM, vvlang said:chmod 644 /usr/local/emhttp/plugins/dynamix.system.autofan/FanSettings.pageI decided to give this a try as I've been looking for a way to control certain fans based on GPU temp.I'm happy to report it works without any problems, and I'm on 7.2.0. I followed the instructions fully. I haven't added the auto-start line to the go file just yet -- do any of these changes impact the typical behavior of the auto-start? As it was before, all plugins, including Auto Fan Control, would auto-start on Array start already.Otherwise, this is a great feature to have, and thank you for making it work!
March 17Mar 17 I have a problem with this. It works fine untill the server is restarted.Then despite being enabled, autofan doesn't work. The first PWM is always on disabled as its for the CPU. PWM2 is enabled, but they don't function untill I cycle something and disable/enable the plugin again.Which has led to 65C drives without me knowing untill it is too late.How do I resolve this? Edited March 17Mar 17 by Napoleon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.