This commit is contained in:
2023-05-12 22:47:06 -05:00
parent 16b312e95b
commit 654b45e9f2
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
VERS='1.95-05122023'
VERS='1.100-05122023'
noupdate=' stop start _service '
@@ -16,6 +16,7 @@ min_battvolt_sys=47
FOLDER='/opt/idssys/powerwall'
logfile=${FOLDER}/logfile
logacv=${FOLDER}/log-acv
[ ! -f ${logacv} ] && touch ${logacv}
declare -A TEMP_THRESHOLDS
TEMP_THRESHOLDS['ServerRoomTH']="83,88,95"

View File

@@ -37,6 +37,7 @@ CHECKTEMP(){
CHECKTEMP_SERVICE(){
logsrvc=${FOLDER}/log-${1}
[ ! -f ${logsrvc} ] && touch ${logsrvc}
last_temp=0
mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1`
while true