afancontrol/tests/data/afancontrol-example.conf
2021-10-26 12:58:36 +02:00

54 lines
907 B
Plaintext

[daemon]
pidfile = /run/afancontrol.pid
logfile = /var/log/afancontrol.log
interval = 5
exporter_listen_host = 127.0.0.1:8083
[actions]
[temp:mobo]
type = file
path = /sys/class/hwmon/hwmon0/device/temp1_input
min = 30
max = 40
[temp: hdds]
type = hdd
path = /dev/sd?
min = 35
max = 48
panic = 55
[fan: hdd]
pwm = /sys/class/hwmon/hwmon0/device/pwm2
fan_input = /sys/class/hwmon/hwmon0/device/fan2_input
pwm_line_start = 100
pwm_line_end = 240
never_stop = no
[fan:cpu]
pwm = /sys/class/hwmon/hwmon0/device/pwm1
fan_input = /sys/class/hwmon/hwmon0/device/fan1_input
pwm_line_start = 100
pwm_line_end = 240
never_stop = yes
[arduino: mymicro]
serial_url = /dev/ttyACM0
baudrate = 115200
status_ttl = 5
[fan: my_arduino_fan]
type = arduino
arduino_name = mymicro
pwm_pin = 9
tacho_pin = 3
[mapping:1]
fans = cpu, hdd*0.6, my_arduino_fan * 0.222
temps = mobo, hdds
[mapping:2]
fans = hdd
temps = hdds