Samsagax / hhfc

Hwmon Handheld Fan Controller (hhfc) is a user space driver for fans based on hwmon sysfs
GNU General Public License v3.0
8 stars 1 forks source link

Make lower duty cycle cut-off configurable #2

Closed Samsagax closed 1 year ago

Samsagax commented 1 year ago

Currently the lower cutoff for the duty cycle of the fan is not configurable. Ideally we should have a lower threshold for the minimum alowed fan duty cycle (for durability reasons) and a flag to be able to completely shut it off.

This could look like:

FAN:
  - name: fan
    ...
    allow_shutoff: yes # yes | no
    minimum_duty_cycle: 30 # should be a percentage

This could change the behaviour of the lower cutoff. By default it should be not allowed to shutoff and minimum set to 30% for safe values when not set in the configuration.