Update temp.inc.sh

This commit is contained in:
2023-12-26 15:10:28 -06:00
parent b9e7ccc103
commit 12f4f0367e

View File

@@ -334,6 +334,7 @@ CHECKTEMP_SERVICE(){
temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input)
temp_h=''
echo "EX: ${temp_c}"
cat /sys/class/hwmon/hwmon2/fan1_input
fi
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
@@ -366,7 +367,6 @@ CHECKTEMP_SERVICE(){
fi
[ "${last_temp[${SENSOR//-/}]}" == "" ] && last_temp[${SENSOR//-/}]=0
echo "EX: ${temp_c}"
logtemp=${PW_LOGFOLDER}/log-temp-${SENSOR}
if [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]; then