From 3122a75f646252f44d11b2e86ef10d1c269e175d Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 2 Jan 2019 17:31:19 -0700 Subject: [PATCH] Skip fan RPMs * Avoids reporting fan RPMs as 6000+ *C --- .bin/Scripts/functions/sensors.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bin/Scripts/functions/sensors.py b/.bin/Scripts/functions/sensors.py index a50f8941..8b2b8b03 100644 --- a/.bin/Scripts/functions/sensors.py +++ b/.bin/Scripts/functions/sensors.py @@ -134,6 +134,9 @@ def get_sensor_data(): ## current temp is labeled xxxx_input for _source, _labels in _sources.items(): for _label, _temp in _labels.items(): + if _label.startswith('fan'): + # Skip fan RPMs + continue if 'input' in _label: sensor_data[_section][_adapter][_source] = { 'Current': _temp,