update
This commit is contained in:
1 parent
791d9075cd
commit
41f5f44851
2 files changed
+15
-5
No files matched your search
+7
-3
@@ -20,12 +20,16 @@ START_POWERWALL_FAN(){
|
||||
temp_c=$(cat ${PW_FANINPUT})
|
||||
if [ ${temp_c} -gt 0 ]; then
|
||||
fs=$(IDS_NUMBER_FORMAT ${temp_c})
|
||||
SENDNOTICE "Starting up the ${SENSOR}" "Startup confirmed, the fan is now reading: ${fs}'RPM"
|
||||
SENDNOTICE "Starting up the ${SENSOR}" "Startup confirmed, the fan is now reading: ${fs}'RPM
|
||||
|
||||
FAN: ${PW_FANINPUT}"
|
||||
else
|
||||
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!" 1
|
||||
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!
|
||||
|
||||
FAN: ${PW_FANINPUT}" 1
|
||||
fi
|
||||
else
|
||||
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot find hardware (${PW_FANINPUT}), ERROR ERROR ERROR... DOES NOT COMPUTE... YOU SUCK" 1
|
||||
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot find hardware, ERROR ERROR ERROR... DOES NOT COMPUTE... YOU SUCK" 1
|
||||
fi
|
||||
}
|
||||
CHECKTEMP(){
|
||||
|
||||
Reference in new issue
Block a user