Update powerwall.sh

This commit is contained in:
2023-11-07 17:59:13 -06:00
parent db867cb0f7
commit 256d60cc0d

View File

@@ -553,7 +553,7 @@ CHECKPOWER(){
if [ "${PTYPE}" == "" ] || [ "${PTYPE}" == "all" ] || [ "${PTYPE}" == "mainsite" ]; then
echo
DIVIDER . yellow 75
echo -e "${idsCL[Yellow]}Mainsite Power Information ${avgdayshdr}"
echo -e "${idsCL[Yellow]}Mainsite Power Information | ${avgdayshdr}"
DIVIDER . yellow 75
INVSTATSINFO=$(curl -s "http://${PW_INVERTER_IP}/stats.json")
@@ -651,7 +651,7 @@ CHECKPOWER(){
DIVIDER . yellow 75
echo -e "${idsCL[Yellow]}Offsite Power Information ${avgdayshdr}"
echo -e "${idsCL[Yellow]}Offsite Power Information | ${avgdayshdr}"
DIVIDER . yellow 75
upsinfo=$(ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 admin@10.2.1.1 'upsc CP1500PFCLCD')
@@ -699,7 +699,7 @@ CHECKPOWER(){
DIVIDER . yellow 75
echo -e "${idsCL[Yellow]}ESXi Host Power Information ${avgdayshdr}"
echo -e "${idsCL[Yellow]}ESXi Host Power Information | ${avgdayshdr}"
DIVIDER . yellow 75
for SENSOR in ${PW_SENSOR_ORD[@]}; do