This commit is contained in:
2025-06-22 09:49:38 -05:00
parent 8573ecdabb
commit 578fcc7523
2 changed files with 7 additions and 7 deletions

View File

@@ -734,7 +734,7 @@ CHECKTEMPSENSOR(){
temp_c=''
fi
elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ]; then
elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] || "${PW_SENSOR_TYPE[${1}]}" == "remotesystem" ]; then
if [[ "${1}" = *"CPU"* ]]; then
if ! temp_c=$(${SSHCMD} root@${PW_REMOTE_SENSORS[${1}]} vcgencmd measure_temp) ; then TIMEOUT=1; fi
if [ "${temp_c}" != "" ]; then