Update powerwall.sh
This commit is contained in:
@@ -213,7 +213,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 3 | read temp_crit_sys
|
echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 3 | read temp_crit_sys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit}"
|
# echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit}"
|
||||||
|
|
||||||
if [ "${last_temp[${SENSOR}]}" != "" ]; then
|
if [ "${last_temp[${SENSOR}]}" != "" ]; then
|
||||||
temp_diff=`expr ${last_temp[${SENSOR}]%.*} - ${temp_f%.*}`
|
temp_diff=`expr ${last_temp[${SENSOR}]%.*} - ${temp_f%.*}`
|
||||||
|
|||||||
Reference in New Issue
Block a user