Skip to content

Set Dell PowerEdge R210 ii fan speed (automatic/manual/speed) using Python3 script with web interface

License

Notifications You must be signed in to change notification settings

HetorusNL/server_fan_speed

Repository files navigation

Server Fan Speed

Set Dell PowerEdge R210 ii fan speed (automatic/manual/speed) using Python3 with web interface

Usage

Recommended

  • Install Docker
  • Clone the repository
  • Modify the environment in config.env
  • Run the included docker compose file, e.g.: sudo docker compose up or in detached mode: sudo docker compose up -d
  • After the docker container has started, the website is available at localhost:8000

Alternative (not recommended)

  • python3 should be installed, and callable via /usr/bin/python3.
  • ipmitool should be installed (can be installed by running: sudo apt install ipmitool)
  • this directory could be moved into the /opt/ directory (optional)
  • the server-fan-speed.service should be modified to:
    • have the correct WorkingDirectory specified
    • have the correct ExecStart specified (python3 launchable via /usr/bin/python3)
    • change User to <your-username>
  • the server-fan-speed.service service should be moved to /etc/systemd/system/

Enabling / Starting the Service

the service can be enabled and started on boot by the following commands:
sudo systemctl enable server-fan-speed.service
sudo systemctl start server-fan-speed.service

after the service is started, the website should be available on localhost:8000

Debugging

logs are shown in the docker logs or in /var/log/syslog when not using the recommended method, and more debugging information is available by manually running poetry run python3 main.py in the root directory of this repository, and observing the output.

License

MIT License, Copyright (c) 2023 Tim Klein Nijenhuis [email protected]

About

Set Dell PowerEdge R210 ii fan speed (automatic/manual/speed) using Python3 script with web interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published