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

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