Update temp.inc.sh
This commit is contained in:
@@ -431,7 +431,11 @@ 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=''
|
||||||
echo "HERE: ${temp_c}"
|
if [ "${SENSOR}" == "Powerwall-FAN" ] && [ "${temp_c}" == "0" ]; then
|
||||||
|
pwmconfig &
|
||||||
|
sleep 4s
|
||||||
|
killall pwmconfig
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
|
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user