Topic will be always [MQTT_BROKER_TOPIC_PREFIX]/[EVENT NAME]/Event Message represent an event
{
"Action": "Start",
"Data": {
"CallID": "1",
"IsEncryptedStream": false,
"LocaleTime": "2020-03-02 20:11:13",
"LockNum": 2,
"SupportPaas": false,
"TCPPort": 37777,
"UTC": 1583172673
}
}
{
"Action": "Start",
"Data": {
"LocaleTime": "2020-03-02 20:44:28",
"UTC": 1583174668
}
}
Action: Represented whether event Start or Stop Data.Device: IP of the device connected / disconnected
{
"Action": "Pulse",
"Data": {
"LocaleTime": "2020-03-02 20:24:07",
"State": 8,
"UTC": 1583173447
}
}
{
"Action": "Pulse",
"Data": {
"BeforeModifyTime": "02-03-2020 21:41:40",
"LocaleTime": "2020-03-02 21:41:40",
"ModifiedTime": "02-03-2020 21:41:39",
"UTC": 1583178100
}
}
{
"Action": "Pulse",
"Data": {
"Address": "time.windows.com",
"Before": "02-03-2020 21:41:38",
"LocaleTime": "2020-03-02 21:41:40",
"UTC": 1583178100,
"result": true
}
}
Data.Status: Repesents whether the state changed to On or Off
Action: Represents whether event Start or Stop
Data.FingerPrintID: Finger print ID, if 0, check failed
{
"Action": "Pulse",
"Data": {
"Date": "02-03-2020 21:42:59",
"LocaleTime": "2020-03-02 21:42:59",
"Success": true,
"UTC": 1583178179
}
}
{
"Action": "Pulse",
"Data": {
"CardNo": "",
"CardType": null,
"LocaleTime": "2020-03-02 20:24:08",
"Method": 4, // 4=Remote/WebIf/SIPext | 6=FingerPrint
"Name": "OpenDoor", // Access control action name
"Password": "",
"ReaderID": "1",
"RecNo": 691,
"SnapURL": "",
"Status": 1,
"Type": "Entry",
"UTC": 1583173448,
"UserID": "" // By FingerprintManager / Room Number / SIPext
}
}
Data.DeviceType: Which device type Data.RemoteID: UserID Data.RemoteIP: IP of VTH / SIP device Data.ChannelStates: Status
{
"Action": "Pulse",
"Data": {
"CallID": "1",
"IsEncryptedStream": false,
"LocaleTime": "2020-03-02 20:11:13",
"LockNum": 2,
"SupportPaas": false,
"TCPPort": 37777,
"UTC": 1583172673
}
}
Data.FtpUrl: FTP uploaded to
Action: ? Data.LocaleTime: Date and time of the event Data.Index: Index of the call
Action Data.LocaleTime: Date and time of the event Data.Index: Index of the call
Action: ? Data.AlarmType: Alarm type Data.DevSrcType: Device triggered the alarm Data.SenseMethod: What triggered the alarm
{
"Action": "Pulse",
"Data": {
"LocaleTime": "2020-03-02 20:24:07",
"UTC": 1583173447
}
}
{
"Action": "Pulse",
"Data": {
"LocaleTime": "2020-03-02 20:23:39",
"UTC": 1583173419
}
}
{
"Action": "Stop", //Represents whether event for Start or Stop
"Data": {
"LocaleTime": "2020-03-02 20:11:16",
"UTC": 1583172676
}
}
{
"Action": "Stop",
"Data": {
"Error": "SSIDNotValid",
"LocaleTime": "2020-03-02 19:20:07",
"Result": false,
"Type": "Timerconnect",
"UTC": 1583158807
}
}
{
"id": [MESSAGE ID],
"method":"client.notifyEventStream",
"params":{
"SID":513,
"eventList":[
{
"Action":"[EVENT ACTION]",
"Code":"[EVENT NAME]",
"Data":{
"LocaleTime":"YYYY-MM-DD HH:mm:SS",
"UTC": [EPOCH TIMESTAMP]
},
"Index": [EVENT ID IN MESSAGE],
"Param":[]
}
]
},
"session": [SESSION IDENTIFIER]
}