update
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user