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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)