update
This commit is contained in:
@@ -72,7 +72,6 @@ fi
|
|||||||
|
|
||||||
SENDNOTICE(){
|
SENDNOTICE(){
|
||||||
if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then
|
if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then
|
||||||
echo "sending notice"
|
|
||||||
if [ "${TEST_INPUTACV}" != "" ] || [ "${TEST_BATTVOLT}" != "" ]; then
|
if [ "${TEST_INPUTACV}" != "" ] || [ "${TEST_BATTVOLT}" != "" ]; then
|
||||||
PUSH_TO_MOBILE "***TEST MODE***
|
PUSH_TO_MOBILE "***TEST MODE***
|
||||||
|
|
||||||
|
|||||||
@@ -418,6 +418,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
|||||||
rm -f ${PW_TMPFOLDER}/${SENSOR}-error.*
|
rm -f ${PW_TMPFOLDER}/${SENSOR}-error.*
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
[ ! -f ${PW_TMPFOLDER}/${SENSOR}-error* ] && rm -f ${PW_TMPFOLDER}/${SENSOR}-error*
|
||||||
|
|
||||||
if [ "${SENSOR}" == "ServerRoomTH" ]; then
|
if [ "${SENSOR}" == "ServerRoomTH" ]; then
|
||||||
temp_f=`echo "scale=2; ${temp_c}*1.8+32+${PW_ServerRoomTH_Dev}" | bc`
|
temp_f=`echo "scale=2; ${temp_c}*1.8+32+${PW_ServerRoomTH_Dev}" | bc`
|
||||||
|
|||||||
Reference in New Issue
Block a user