update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
VERS='2.5.56-12242023'
|
||||
VERS='2.5.57-12242023'
|
||||
|
||||
noheader=' update service dailytemp confsync '
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ CHECKPOWER_SERVICE(){
|
||||
touch ${PW_TMPFOLDER}/power.ac.start
|
||||
touch ${PW_TMPFOLDER}/power.dc.start
|
||||
while true; do
|
||||
source /opt/idssys/powerwall/defaults.inc
|
||||
source ${PW_FOLDER}/defaults.inc
|
||||
|
||||
[ "${TEST_INPUTACV}" != "" ] || [ "${TEST_BATTVOLT}" != "" ] && TESTMODE=1 || TESTMODE=0
|
||||
|
||||
@@ -543,6 +543,7 @@ Shutting down main servers" 1
|
||||
POWERLOGGER_SERVICE(){
|
||||
while true; do
|
||||
LogDataTime=`date +'%Y-%m-%d %H:%M:%S'`
|
||||
source ${PW_FOLDER}/defaults.inc
|
||||
|
||||
INVSTATSINFO=$(curl -s "http://${PW_INVERTER_IP}/stats.json")
|
||||
if [ "${INVSTATSINFO}" != "" ]; then
|
||||
|
||||
@@ -245,7 +245,7 @@ CHECKTEMP_SERVICE(){
|
||||
declare -A last_temp
|
||||
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - 'Check Temp' Service Startup" >> ${PW_LOGFILE}
|
||||
while true; do
|
||||
source /opt/idssys/powerwall/defaults.inc
|
||||
source ${PW_FOLDER}/defaults.inc
|
||||
|
||||
# start=`date +%s`
|
||||
# time="$(date +%H)$(date +%M)"
|
||||
|
||||
2
run.sh
2
run.sh
@@ -40,7 +40,7 @@ if [ "${1}" == "update" ]; then
|
||||
git pull >/dev/null 2>&1
|
||||
git submodule update --remote >/dev/null 2>&1
|
||||
/bin/chmod +x /opt/idssys/powerwall/powerwall.sh 2>&1
|
||||
source /opt/idssys/powerwall/defaults.inc
|
||||
source ${PW_FOLDER}/defaults.inc
|
||||
if [ "${2}" != "q" ]; then
|
||||
echo -en "\e[1A";
|
||||
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}\n"
|
||||
|
||||
Reference in New Issue
Block a user