-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmi.yaml
executable file
·105 lines (99 loc) · 2.39 KB
/
tmi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# disable the modules that you don't use.
active_modules:
ipmi: true
commanderpro: true
# Number of seconds to sleep between checks.
# Check configuration changes and sensors data every x seconds.
check_interval: 6
# Create a targets map to be used as reference inside the controllers configuration below.
# <arbitrary_name>: <fan_controller>.<fan_controller_channel>
targets_map:
pump: ipmi.0
side: commanderpro.0
top: commanderpro.1
front: commanderpro.2
rear: commanderpro.3
controllers:
# name is arbitrary, will be printed in logs.
- name: CPU
# The minimum change in °C from the last update to actually cause another fan speed change.
min_temp_change: 4
# IPMI sensor entityID to look for.
# Get the ipmi sensor entityID with: `sudo ipmitool sdr elist full` at the fourth column in result.
# ... or with: `sudo ipmitool sensor get <sensor_id>` (eg.: sudo ipmitool sensor get 'CPU Temp')
temp:
# commanderpro, ipmi, cli
method: ipmi
# commanderpro: sensor_channel (uint8 as string), ipmi: entityID, cli: custom_command
arg: 3.1
# Control multiple target zones with the same sensor...
targets:
pump:
0: 30
36: 50
54: 72
60: 100
side:
0: 0
35: 30
45: 50
55: 75
65: 100
top:
0: 18
35: 30
45: 50
55: 75
65: 100
- name: GPU
min_temp_change: 2
# CLI command to extract NVIDIA GPU temp.
# Should return a string representing a valid float number,
# leading and trailing spaces will be automatically removed.
temp:
method: cli
arg: nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
targets:
pump:
0: 30
45: 50
55: 75
65: 100
side:
0: 0
35: 30
45: 50
55: 75
65: 100
top:
0: 18
35: 30
45: 50
55: 75
65: 100
- name: PCH
min_temp_change: 3
# temp_corsair_channel grab the temperature from a channel of the corsair commander pro
temp:
method: ipmi
arg: 7.1
targets:
side:
0: 0
53: 34
56: 50
63: 100
top:
0: 0
53: 34
56: 50
63: 100
front:
0: 34
56: 70
63: 100
rear:
0: 18
53: 30
56: 50
63: 100