get https://cloud.synaccess.com/v1/events
Returns a list of event triggers from all Synaccess Cloud connected PDUs
Returns
A JSON array
{
"data": [
{
"enclosureSerialNumber": 1000036,
"triggered": false,
"numTicksBeyond": 0,
"id": 1,
"name": "Example High Current Event for Bank #1",
"enabled": true,
"code": 31,
"params": [
"1200578",
"16",
"10"
],
"actions": [
1
]
},
{
{
"enclosureSerialNumber": 1000036,
"triggered": false,
"numTicksBeyond": 0,
"id": 2,
"name": "Unlock Door When User is in Network",
"enabled": true,
"code": 11,
"params": [
"192.168.1.101",
"10",
""
],
"actions": [
9
]
},
{
"enclosureSerialNumber": 1000036,
"triggered": true,
"numTicksBeyond": 10,
"id": 3,
"name": "Lock Door when User is Away",
"enabled": true,
"code": 12,
"params": [
"192.168.1.101",
"10",
""
],
"actions": [
8
]
},
{
"enclosureSerialNumber": 1000036,
"triggered": true,
"numTicksBeyond": 5,
"id": 4,
"name": "Outlet Current RMS Drops below 0.5A",
"enabled": true,
"code": 46,
"params": [
"1-1200578",
"0.5",
"5"
],
"actions": [
6,
10
]
},
{
"enclosureSerialNumber": 1000036,
"triggered": false,
"numTicksBeyond": 0,
"id": 5,
"name": "Turn Off Outlet #1 When Device Stops Pinging",
"enabled": true,
"code": 12,
"params": [
"192.168.1.1",
"1",
""
],
"actions": [
11
]
},
{
"enclosureSerialNumber": 1000036,
"triggered": true,
"numTicksBeyond": 1,
"id": 6,
"name": "Turn On Outlet When Device Pings Successfully",
"enabled": true,
"code": 11,
"params": [
"192.168.1.1",
"1",
""
],
"actions": [
12
]
},
{
"enclosureSerialNumber": 1000036,
"triggered": false,
"numTicksBeyond": 0,
"id": 7,
"name": "Above 2 Amp Inlet",
"enabled": true,
"code": 15,
"params": [
"I1-1000036",
"2",
"3"
],
"actions": []
}
]
}