This commit is contained in:
voltron committed 2024-01-14 16:48:19 -06:00
1 parent 931b87a936
commit 3f1e219e79
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -701,7 +701,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
# if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "lacrosse" ]; then
# ${mysql_conn} -e "USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\`) VALUES ('${PW_SENSOR_ID["${SENSORa}-Probe"]}','$(date +'%Y-%m-%d %H:%M:%S')','${temp_probe_f}')"
# fi
touch ${PW_TMPFOLDER}/.lastinsert/${SENSOR}
echo "${temp_f}" >| ${PW_TMPFOLDER}/.lastinsert/${SENSOR}
fi
#### LOGGING OF SERVERROOM SENSOR DIFFERENCE