diff --git a/defaults.inc b/defaults.inc index d428b9ab..3236aafa 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.7.120b-11042024' +VERS='2.7.120c-11042024' noheader=' update service dailytemp confsync -r -report test ' diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 4c73e0d5..fa95ee91 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -1322,7 +1322,7 @@ Previous Temp: ${last_temp}${GAUGESH}" QRY="" elif [ "${SENSOR}" == "AC" ]; then - if [ "${target}" != "32" ]; then + if [ "${target}" != "32" ] && [ "${target}" != "32.00" ]; then ${mysql_conn} -e "USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\`) VALUES ('38',CONVERT_TZ('$(date +'%Y-%m-%d %H:%M:%S')', 'America/Chicago', 'UTC'),'${target}')" QRY="USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\`) VALUES ('${PW_SENSOR_ID[${SENSOR}]}',CONVERT_TZ('$(date +'%Y-%m-%d %H:%M:%S')', 'America/Chicago', 'UTC'),'${temp_f}')" fi