diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 87560680..5b0e487c 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -105,11 +105,9 @@ CHECKTEMPSENSOR(){ if [ "${PW_SENSOR_TYPE[${1}]}" == "mqtt" ]; then mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1` echo ${mqtt_message} | cut -d':' -f 6 | cut -d',' -f 1 | read temp_c - echo "HERE: ${1} - ${temp_c}" elif [ "${PW_SENSOR_TYPE[${1}]}" == "lacrosse" ]; then temp_c=$(GET_LACROSSE_INFO "${PW_LACROSSE_ID[${1}]}") - echo "HERE1: ${temp_f}" elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ]; then temp_c=$(vcgencmd measure_temp) @@ -145,7 +143,7 @@ CHECKTEMPSENSOR(){ temp_f=${temp_c} echo "HERE2: ${temp_f}" fi - # echo "HERE: '${temp_c}' -> '${temp_f}'" + echo "HERE: '${temp_c}' -> '${temp_f}'" # echo -en "" c=0; spct=''; spc1=`expr 6 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done