Tim Connors
ddf19529c1
Actually tested the hddtemp and sensors regexp against both debian 10 and 11 now
2021-12-08 10:50:22 +11:00
Tim Connors
506a94a402
sensors and hddtemp changed to proper unicode "°"
...
sensors and hddtemp changed to proper unicode "°" from ascii symbol,
but that broke the regexp. Proxmox 7/debian 11 comes with such a fix.
Thanks /u/FreelancerJ for reporting
2021-12-07 22:17:16 +11:00
Tim Connors
0785a260e9
warn about non-numbers even when -q(uiet).
2021-12-06 22:35:25 +11:00
Tim Connors
2fcb2160d3
add "-q" flag to allow script to be quieter and suppress most
...
diagnostic info to STDOUT
2021-12-06 22:32:14 +11:00
Tim Connors
11bd6fa398
don't try to add non-numbers (particularly since will break the
...
average calcualtion), but do warn about them.
2021-12-06 22:31:37 +11:00
Tim Connors
a45d13b353
output less frequent statistics - once per minute, or when a command
...
is changed. Would ideally refactor so outputs all stats rather than
just the final command when demand is changed
2021-06-20 20:52:57 +10:00
Tim Connors
5e0266ae12
hddtemp sometimes prints one drive as having a temperature as 255!
...
(rather than just marking it invalid some *sane* way). Filter those
out
2021-06-19 22:01:18 +10:00
Tim Connors
9a99c112c1
rescale fan velocities after further tuning
2021-06-19 16:27:34 +10:00
Tim Connors
3f7cdab8ff
forgot to set tempfile in /tmp
2020-12-09 00:31:03 +11:00
Tim Connors
eb9ed2a82b
if no valid temps, fallback to default
2020-12-08 13:40:17 +11:00
Tim Connors
c05926d433
Interpret degreeC slightly better (but not yet failsafe)
...
Gah! Software update or locale update, and the degree signs all
changed encoding. Temperature overall got interpreted as 0degreeC,
which I still need to fix.
2020-12-08 13:35:18 +11:00
Tim Connors
cf3a9c347c
make more robust against ipmitool failing
...
in default fallback case (which includes when a fault has occurred or
when the script exits) - keep retrying for a bit, and in servo case,
just allow the next loop to proceed ASAP, without resetting variables
and hysteresis
2020-11-16 12:04:56 +11:00
Tim Connors
e41c1aa38e
ipmitool often fails - just keep using the previous result til it succeeds
2020-11-14 23:33:09 +11:00
Tim Connors
50cfcf0bc5
different fan curve to try to weight lower fans at more optimal temperature
2020-09-15 21:31:48 +10:00
Tim Connors
02255cc345
correct how hdd and expensive temperature tests are done
2020-09-15 20:09:18 +10:00
Tim Connors
a8b0f5ed7c
be more robust against hddtemp not exiting in time because stuck in D state, and not able to be killed
2020-02-08 15:53:43 +11:00
Tim Connors
320f489649
add couple of comments
2020-01-02 00:02:52 +11:00
Tim Connors
ead6ea755a
Protect against divide by zero, plus have a die handler anyway that makes sure fans reset back to default control
2019-12-29 17:45:13 +11:00
Tim Connors
1e4fb4497a
include FIXMEs on my roadmap
2019-12-20 17:55:47 +11:00
Tim Connors
b9d75f2b9a
converted from bash to perl, and made it servoing to setpoints based on component temperatures
2019-12-20 17:40:17 +11:00