added fan interval per thermalzone and pid interval global

This commit is contained in:
2021-04-29 09:27:14 +02:00
parent 7b1760ff58
commit 098807db09
2 changed files with 38 additions and 20 deletions

View File

@@ -6,8 +6,10 @@
# otherwise INFO is a good value.
loglevel: DEBUG
# Set interval (seconds) in which PyFan is checking your temp sources and adjusts PWM values.
interval: 1
# Frequency in seconds of feeding sensors values into PID. Higher frequency (lower value) means PID can react faster.
# Fans only get set every thermalzones->interval seconds, regardless of this value.
# Must be lower then your lowest thermalzone interval.
pid_interval: 0.2
thermalzones:
- name: GPU+SYSTEM
@@ -19,6 +21,11 @@ thermalzones:
# If not, check what you sensor is outputting if you try to read from it.
factor: 1000
# Frequency in which fan speed should be adjusted in seconds.
# PyFan reads sensors values from hwmon every pid_interval, but only sets fan speeds in this interval.
# Can't be lower then pid_interval.
interval: 3
# Define all fans that this thermal zone is going to control.
# There is no limit to how many fans one thermal zone can control.
# You can have different limitations on your fans, for example:
@@ -50,6 +57,7 @@ thermalzones:
- coretemp/temp1_input
- amdgpu/temp1_input
factor: 1000
interval: 3
fan:
- it8686/pwm1: [ 100, 200 ]
target: 50