   console.log("wakeOnLan : " + cbObject.wakeOnLan);
     console.log("displayMode : " + cbObject.displayMode);
     console.log("allOnTimer : " + cbObject.allOnTimer);
     console.log("allOffTimer : " + cbObject.allOffTimer);         

     // Do something
        ...
  }

  function failureCb(cbObject) {
     var errorCode = cbObject.errorCode;
     var errorText = cbObject.errorText;
     console.log ("Error Code [" + errorCode + "]: " + errorText);
  }

  var power = new Power();
  power.getPowerStatus