Update temp.inc.sh
This commit is contained in:
@@ -586,9 +586,9 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
|||||||
elif [[ "${SENSOR}" = *"FAN"* ]]; then
|
elif [[ "${SENSOR}" = *"FAN"* ]]; then
|
||||||
temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input)
|
temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input)
|
||||||
temp_h=''
|
temp_h=''
|
||||||
# if [ "${SENSOR}" == "Powerwall-FAN" ] && [ ${temp_c} -lt 1000 ]; then
|
if [ "${SENSOR}" == "Powerwall-FAN" ] && [ ${temp_c} -lt 1000 ]; then
|
||||||
# START_POWERWALL_FAN >/dev/null 2>&1 &
|
START_POWERWALL_FAN >/dev/null 2>&1 &
|
||||||
# fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
|
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user