get https://cloud.synaccess.com/v1/logs/inlets
Access raw logging data of inlet measurements over time.
The parameter since
must not be used with any of before
, after
, page
, and per_page
parameters. if since
is used, it will always return all events created since that time, ordered by their create time limited till 1000.
Example Inlet Event Information
{
"id": 42,
"inlet_id": "I1-1502530",
"inlet_name": "30A Circuit",
"enclosureSerialNumber": 1502530,
"energyAccumulation": 2.96,
"currentRms": 0.15,
"voltageRms": 117.9,
"lineFrequency": 60.19,
"powerFactor": 0.46,
"activePower": 8.27,
"apparentPower": 17.9,
"deviceFirmware": "2.5.51-13-g997a1564",
"createdAt": "2022-08-13T21:50:56.470Z"
}
Key | Type | Description |
---|---|---|
id | integer | Unique identifier for this inlet data point. |
inlet_id | string | Inlet ID this data point belongs to. This is unique to each inlet of the PDU. |
inlet_name | string | Custom inlet name that is set by the user. |
atsInletId | string | Available for devices with ATS. Specifies the ID of the ATS Inlet. |
atsInletReady | boolean | Available for devices with ATS. Specifies if this inlet is powered but not yet active |
atsInletActive | boolean | Available for devices with ATS Specifies if this inlet is powered and is the active source of power |
enclosureSerialNumber | integer | Serial Number of the PDU which this inlet belongs to. |
energyAccumulation | float | kWH value to show energy consumption for inlet plug. If multiple inlets, value will stay same for all inlets. |
currentRms | float | Inlet current draw in amps |
voltageRms | float | Inlet voltage RMS in volts |
lineFrequency | float | Inlet line frequency in hertz |
powerFactor | float | Power factor ratio |
activePower | float | Inlet Active Power in watts |
apparentPower | float | Inlet Apparent Power in Volt-amperes (VA) |
deviceFirmware | string | Firmware for device at the given time |
createdAt | string | Time in ISO format when the data point was saved to database |