From 7655aae5bebc54fdb7a2bff5c91e5344d3c07f83 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 3 Sep 2022 13:02:58 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index e3c252ab..fca1d8c6 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -66,7 +66,7 @@ CHECKTEMP_SERVICE(){ fi - QRY="USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\` \`hum\`) VALUES ('${SENSOR_ID[$1]}','${temp_d} ${temp_t}','${temp_f}','${temp_h}')" + QRY="USE servermonitor; INSERT INTO sensor_data (\`sensorid\`, \`date\`, \`temp\`, \`hum\`) VALUES ('${SENSOR_ID[$1]}','${temp_d} ${temp_t}','${temp_f}','${temp_h}')" ${mysql_conn} -e "${QRY}" fi done