update
This commit is contained in:
@@ -37,9 +37,9 @@ declare -A PW_TEMP_THRESHOLDS
|
|||||||
# PW_TEMP_THRESHOLDS['ServerRoomTH']="83,88,95" #Normal broken
|
# PW_TEMP_THRESHOLDS['ServerRoomTH']="83,88,95" #Normal broken
|
||||||
PW_TEMP_THRESHOLDS['ServerRoomTH']="78,85,91" #Normal -4
|
PW_TEMP_THRESHOLDS['ServerRoomTH']="78,85,91" #Normal -4
|
||||||
PW_TEMP_THRESHOLDS['Powerwall-CPU']="122,131,176"
|
PW_TEMP_THRESHOLDS['Powerwall-CPU']="122,131,176"
|
||||||
PW_TEMP_THRESHOLDS['Powerwall-CPU-Usage']="40,80"
|
PW_TEMP_THRESHOLDS['Powerwall-CPU-Usage']="4,8,90"
|
||||||
PW_TEMP_THRESHOLDS['OctoPi-CPU']="122,131,176"
|
PW_TEMP_THRESHOLDS['OctoPi-CPU']="122,131,176"
|
||||||
PW_TEMP_THRESHOLDS['OctoPi-CPU-Usage']="40,80"
|
PW_TEMP_THRESHOLDS['OctoPi-CPU-Usage']="1,3,90"
|
||||||
|
|
||||||
declare -A PW_SENSOR_TYPE
|
declare -A PW_SENSOR_TYPE
|
||||||
PW_SENSOR_TYPE['ServerRoomTH']='mqtt'
|
PW_SENSOR_TYPE['ServerRoomTH']='mqtt'
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
fi
|
fi
|
||||||
echo ${PW_TEMP_THRESHOLDS[${SENSORa}]} | cut -d',' -f 1 | read temp_warn
|
echo ${PW_TEMP_THRESHOLDS[${SENSORa}]} | cut -d',' -f 1 | read temp_warn
|
||||||
echo ${PW_TEMP_THRESHOLDS[${SENSORa}]} | cut -d',' -f 2 | read temp_crit
|
echo ${PW_TEMP_THRESHOLDS[${SENSORa}]} | cut -d',' -f 2 | read temp_crit
|
||||||
temp_crit_sys=${temp_crit}
|
echo ${PW_TEMP_THRESHOLDS[${SENSORa}]} | cut -d',' -f 3 | read temp_crit_sys
|
||||||
temp_h=''
|
temp_h=''
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user