This commit is contained in:
2023-12-24 14:35:20 -06:00
parent 5d8df34a4c
commit 4c290ba17e
4 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
VERS='2.5.56-12242023'
VERS='2.5.57-12242023'
noheader=' update service dailytemp confsync '

View File

@@ -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

View File

@@ -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
View File

@@ -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"