martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
688 stars 79 forks source link

Validate temperatures. #456

Closed PartialVolume closed 1 year ago

PartialVolume commented 1 year ago

Now validates temperatures rather than assuming the data is valid, checking the following:

Temperature is displayed in 5 different ways.

Test code showing temperature cycling between +10 and -10 with critical at +8 and -8 and min/max at -5 & +5. The colors of the temperature text and background change when those settings are reached. As this is a test, those values are low for test purposes, on a actual disc they are more like critical +65, max +60, min -2 critical min -5

showing_new_temperature_style-2023-03-15_23 26 27 mp4