PWM Fan Control Python Script
#1
I am written a python script to control my fan with pwm. The script is inspirated by shell script from the armbian forum.
You can set the pwm period and duty_cycle.

The script monitoring cpu and all disks an activate the fan when required.

https://github.com/mh-superbox/pwm-fan-control

period
The total period of the PWM signal (read/write). Value is in nanoseconds and is the sum of the active and inactive time of the PWM.

duty_cycle

The active time of the PWM signal (read/write). Value is in nanoseconds and must be less than the period.

More info about pwm: https://www.kernel.org/doc/Documentation/pwm.txt
  Reply


Messages In This Thread
PWM Fan Control Python Script - by superbox - 02-04-2022, 10:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tool to Control Fan - fanctl tuxd3v 198 305,366 04-05-2021, 02:02 AM
Last Post: Neo2018
  save config snapshot script Vikk42 2 3,719 10-06-2018, 08:46 AM
Last Post: Vikk42

Forum Jump:


Users browsing this thread: 1 Guest(s)