Skip to content

💨 Fan controller which uses HDD & CPU avg. to determine fan speed.

License

Notifications You must be signed in to change notification settings

StormYudi/r710-fancontroller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

R710 Fan controller

This python script checks the HDD sensors of an R710 (HDD's connected via raid controller supported in MegaCLI) and the CPU temperatures (Using LM-Sensors).

It check this to predefined temperture values and sends an IPMI command to the controller (ip, username, password required.)

It's recommended to install this script via systemd, see the .service file provided. You can install it as follows:

# Place the file in the systemd directory
nano /etc/systemd/system/fan-controller.service

# Make executable
chmod 644 fan-controller.service

# Reload systemd, enable the service and start it.
systemctl daemon-reload
systemctl enable fan-controller.service
systemctl start fan-controller.service

# Check to see if it's running
service fan-controller status

This allows the script to be enabled at boot.

This script is provided as is. I am not responsible for any damage done to your server. See the license for more information.

Dependency

The script heavily depends on megacli, it will not run without the dependency. Instead you will see the following error: ZeroDivisionError: division by zero. Make sure you install megacli and test it manually before running the script. See issue #1 for further instructions.

By Marcusvb on Gitlab or Github.

About

💨 Fan controller which uses HDD & CPU avg. to determine fan speed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%