Update powerwall.sh
This commit is contained in:
@@ -50,7 +50,10 @@ 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#*=}
|
echo "HERE: $temp_c"
|
||||||
|
temp_c=${test%\'*}
|
||||||
|
echo "HERE: $temp_c"
|
||||||
|
temp_c=${test#*=}
|
||||||
echo "HERE: $temp_c"
|
echo "HERE: $temp_c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user