diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index e8771ce1..d721ddaa 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -431,7 +431,11 @@ CHECKTEMP_SERVICE_RUNSENSOR(){ elif [[ "${SENSOR}" = *"FAN"* ]]; then temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input) temp_h='' - echo "HERE: ${temp_c}" + if [ "${SENSOR}" == "Powerwall-FAN" ] && [ "${temp_c}" == "0" ]; then + pwmconfig & + sleep 4s + killall pwmconfig + fi fi elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then