How to fetch faults through OpenAPI? Need fault time and recovery time
Currently, when fetching fault history for a specific device using the device serial number, we are only getting the faultCode, faultMessage and timestamp.

Is there any other way to get the recovery time as we see it in the new PV hub UI? Also, is it possible to get the fault codes for the entire plant directly? Instead of getting it per device?

Code: Select all

{
  "errno": 0,
  "msg": "Operation successful",
  "result": {
    "sn": "W0Q124********",
    "faults": [
      {
        "faultCode": "4158",
        "faultMessage": "AC Under Voltage",
        "timestamp": 1777949788306
      },
      {
        "faultCode": "4158",
        "faultMessage": "AC Under Voltage",
        "timestamp": 1777961857828
      }
    ]
  }
}