Update powerwall.sh

This commit is contained in:
2023-11-06 20:36:29 -06:00
parent 92ffc1e471
commit a39e6ab368

View File

@@ -522,8 +522,9 @@ CHECKPOWER(){
rm -f ${PW_TMPFOLDER}/*.hostpower*
if [ "${1}" == "" ] || [ "${1}" == "sensors" ]; then
echo
DIVIDER . yellow 75
echo -e "\n${idsCL[Yellow]}Mainsite Power Information"
echo -e "${idsCL[Yellow]}Mainsite Power Information"
DIVIDER . yellow 75
INVSTATSINFO=$(curl -s "http://${PW_INVERTER_IP}/stats.json")
@@ -593,8 +594,12 @@ CHECKPOWER(){
echo -e "${idsCL[LightCyan]}Total Wattage ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_WATT_disp}'watts${idsCL[Default]}"
echo
########
fi
if [ "${1}" == "" ] || [ "${1}" == "offsite" ]; then
DIVIDER . yellow 75
echo -e "${idsCL[Yellow]}Offsite Power Information"
DIVIDER . yellow 75
@@ -635,9 +640,7 @@ CHECKPOWER(){
echo
fi
########
if [ "${1}" == "" ] || [ "${1}" == "hosts" ]; then
DIVIDER . yellow 75
echo -e "${idsCL[Yellow]}ESXi Host Power Information"