update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
VERS='1.95-05122023'
|
VERS='1.100-05122023'
|
||||||
|
|
||||||
noupdate=' stop start _service '
|
noupdate=' stop start _service '
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@ min_battvolt_sys=47
|
|||||||
FOLDER='/opt/idssys/powerwall'
|
FOLDER='/opt/idssys/powerwall'
|
||||||
logfile=${FOLDER}/logfile
|
logfile=${FOLDER}/logfile
|
||||||
logacv=${FOLDER}/log-acv
|
logacv=${FOLDER}/log-acv
|
||||||
|
[ ! -f ${logacv} ] && touch ${logacv}
|
||||||
|
|
||||||
declare -A TEMP_THRESHOLDS
|
declare -A TEMP_THRESHOLDS
|
||||||
TEMP_THRESHOLDS['ServerRoomTH']="83,88,95"
|
TEMP_THRESHOLDS['ServerRoomTH']="83,88,95"
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ CHECKTEMP(){
|
|||||||
|
|
||||||
CHECKTEMP_SERVICE(){
|
CHECKTEMP_SERVICE(){
|
||||||
logsrvc=${FOLDER}/log-${1}
|
logsrvc=${FOLDER}/log-${1}
|
||||||
|
[ ! -f ${logsrvc} ] && touch ${logsrvc}
|
||||||
last_temp=0
|
last_temp=0
|
||||||
mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1`
|
mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1`
|
||||||
while true
|
while true
|
||||||
|
|||||||
Reference in New Issue
Block a user