Update powerwall.sh

This commit is contained in:
2022-09-03 13:02:58 -05:00
parent e87eba9b5a
commit 7655aae5be

View File

@@ -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