diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ca7c3cfa..6a4e6639 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -86,6 +86,9 @@ CHECKTEMP(){ [ "${PW_ACTION}" != "" ] && echo } +GET_LACROSSE_INFO "ServerRoomLA" +echo "HERE: ${DEVICE_INFO[@]}" + CHECKTEMPSENSOR(){ echo ${PW_THRESHOLDS[${1}]} | cut -d',' -f 1 | read temp_warn echo ${PW_THRESHOLDS[${1}]} | cut -d',' -f 2 | read temp_crit @@ -108,8 +111,7 @@ CHECKTEMPSENSOR(){ elif [ "${PW_SENSOR_TYPE[${1}]}" == "lacrosse" ]; then GET_LACROSSE_INFO "${1}" - echo "HERE: ${DEVICE_INFO[@]}" - # temp_c=${DEVICE_INFO['probe_temp']} + temp_c=${DEVICE_INFO['probe_temp']} elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ]; then temp_c=$(vcgencmd measure_temp)