Update powerwall.sh
This commit is contained in:
@@ -51,7 +51,7 @@ CHECKTEMPSENSOR(){
|
|||||||
elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then
|
elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then
|
||||||
temp_c=$(vcgencmd measure_temp)
|
temp_c=$(vcgencmd measure_temp)
|
||||||
temp_c=${test%\'*}; temp_c=${test#*=}
|
temp_c=${test%\'*}; temp_c=${test#*=}
|
||||||
|
echo "HERE: $temp_c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then
|
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user