Update powerwall.sh

This commit is contained in:
2024-02-05 20:50:47 -06:00
parent f4d49f5634
commit deb1f5e071

View File

@@ -887,6 +887,11 @@ fi
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[power]}' Service Stopped" >> ${PW_LOGFILE}
elif [ "${2}" == "offsitepower" ]; then
STOP_SERVICE offsitepower
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - '${PW_POWERWALL_SERVICES[power]}' Service Stopped" >> ${PW_LOGFILE}
elif [ "${2}" == "powerlogger" ]; then
STOP_SERVICE powerlogger
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${PW_LOGPOWER}