Newer
Older
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
106
107
108
109
110
111
112
113
114
<?php
return [
'fans' => [
[
'name' => 'exhaust fans',
'type' => 'App\\Model\\Fan\\HwmonFan',
'options' => [
'hwmon' => 'nct6798',
'fan' => 'fan1',
'pwm' => 'pwm1',
'start' => 70,
'max' => 200,
],
],
[
'name' => 'cpu fan',
'type' => 'App\\Model\\Fan\\HwmonFan',
'options' => [
'hwmon' => 'nct6798',
'fan' => 'fan2',
'pwm' => 'pwm2',
'start' => 40,
'max' => 255,
],
],
[
'name' => 'radiator fans',
'type' => 'App\\Model\\Fan\\HwmonFan',
'options' => [
'hwmon' => 'nct6798',
'fan' => 'fan3',
'pwm' => 'pwm3',
'start' => 60,
'max' => 255,
],
],
[
'name' => 'bottom fans',
'type' => 'App\\Model\\Fan\\HwmonFan',
'options' => [
'hwmon' => 'nct6798',
'fan' => 'fan4',
'pwm' => 'pwm4',
'start' => 65,
'max' => 160,
],
],
[
'name' => 'water pump',
'type' => 'App\\Model\\Fan\\HwmonFan',
'options' => [
'hwmon' => 'nct6798',
'fan' => 'fan6',
'pwm' => 'pwm6',
'start' => 20,
'max' => 128,
],
],
],
'sensors' => [
[
'name' => 'cpu',
'type' => 'App\\Model\\Sensor\\HwmonSensor',
'options' => [
'hwmon' => 'k10temp',
'temp' => 'temp1',
],
],
[
'name' => 'gpu',
'type' => 'App\\Model\\Sensor\\CommandSensor',
'options' => [
'command' => 'nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader',
'conversion' => NULL,
],
],
],
'rules' => [
[
'fans' => [
'exhaust fans',
'cpu fan',
'bottom fans',
],
'sensor' => 'cpu',
'type' => 'App\\Model\\Rule\\CurveRule',
'options' => [
'alwaysOn' => true,
'points' => [
0 => 55,
60 => 80,
100 => 90,
],
],
],
[
'fans' => [
'radiator fans',
'water pump',
],
'sensor' => 'gpu',
'type' => 'App\\Model\\Rule\\CurveRule',
'options' => [
'alwaysOn' => true,
'points' => [
0 => 35,
60 => 55,
100 => 90,
],
],
],
],
];