Update powerwall.sh

This commit is contained in:
voltron committed 2023-05-16 21:28:07 -05:00
1 parent 43971fbb91
commit 1f3ee6aaf2
1 file changed
+1 -1
+1 -1
View File
@@ -613,7 +613,7 @@ TEST(){
while IFS=$'\t' read date sensorid temp hum ;do while IFS=$'\t' read date sensorid temp hum ;do
echo date:$date sensorid:$sensorid temp:$temp hum:$hum echo date:$date sensorid:$sensorid temp:$temp hum:$hum
done < <(${mysql_conn} -se "USE servermonitor; SELECT date,sensorid,temp,hum from sensor_data, LIMIT 100, ORDER BY id DESC;") done < <(${mysql_conn} -se "USE servermonitor; SELECT date,sensorid,temp,hum from sensor_data, LIMIT 100, ORDER id DESC;")
# QRY="INSERT INTO inv_jsonstats (\`date\`, \`data\`) VALUES ('${datetime}','${JSONSTATS}')" # QRY="INSERT INTO inv_jsonstats (\`date\`, \`data\`) VALUES ('${datetime}','${JSONSTATS}')"
# ${mysql_conn} -e "USE servermonitor; ${QRY}" # ${mysql_conn} -e "USE servermonitor; ${QRY}"