API Reference

Get outlet current consumption information

curl 'http://192.168.1.100/api/outlets' \
  --header 'Authorization: Bearer rKKHIKivalp6ihp6e09'
[
  {
    "outletName": "Example outlet Name 1",
    "id": "1-1200568",
    "outletIndex": 1,
    "bankId": 1200568,
    "receptacle": "NEMA 5-20R",
    "customRebootTimeEnabled": false,
    "customRebootTime": 5,
    "circuitVoltage": 114.69999694824219,
    "rebootStatus": "none",
    "currentRms": 0,
    "state": "OFF",
    "voltageDetection": false,
    "relayHealth": "OK",
    "pwrOnState": "ON"
  },
  ...
]

🚧

Note that the availability of certain power consumption metrics depends on the PDU model and capabilities.