Salto EventStream

الواجهة Salto EventStream تشفر كل حدث في جهاز. ثم يتم تقديم هذا الجهاز كنقطة بيانات. يمكن إنشاء الأجهزة يدويًا أيضًا.

التكوين من جانب Salto

يدعم Antcas فقط التكوين التالي للأحداث:

  • TCP/IP
  • تنسيق JSON
  • تعريف DoorExtID هو إلزامي
  • EventDateTimeUTC هو إلزامي لتحديد رسالة صالحة
  • يجب تعيين ترميز الأحرف على UTF-8

يمكن اختيار الميناء الصادر وفقًا لمعيار الموانئ الصالحة. الميناء الافتراضي هو 3200. يمكن للواجهة التعامل مع عدة عملاء.

المعرفات الفريدة

يتم استخدام المعرفات الفريدة للتواصل. يتم تقديم هذه المعرفات من جانب Salto على أنها DoorExtID. إذا لم يتم تعريف هذا المعرف، فلن يتم نقل البيانات المستلمة إلى PLC.

جميع المعرفات الجديدة تخلق بابًا تلقائيًا في التثبيت.

التقييم

لإنشاء محفز، يمكن إنشاؤه عند الكائن event_id. نظرًا لأن الكائن يتغير عند كل استقبال، يمكن تنفيذ التقييم باستخدام كتلة الوظيفة TRIG. إذا لم يتم تعريف EventID، فسيتم توليدها تلقائيًا.

معلومات: تتزامن الواجهة تلقائيًا مع دورة PLC المرتبطة الأبطأ. يتم تخزين الرسائل المؤقتة من قبل النظام، مما يضمن عدم فقدان أي رسالة.

المتغير نقطة بيانات JSON نوع البيانات
event_id EventID string
op_id OperationID int
op_desc OperationDescription string
usercard_id UserCardID string
usercard_snr UserCardSerialNumber string
is_exit IsExit bool
usertype UserType int
username UserName string
user_gpf1 UserGPF1 string
user_gpf2 UserGPF2 string
user_gpf3 UserGPF3 string
user_gpf4 UserGPF4 string
user_gpf5 UserGPF5 string
doorname DoorName string
door_gpf1 DoorGPF1 string
door_gpf2 DoorGPF2 string
time EventDateTimeUTC datetime

قيم usertype

القيمة الوصف
0 بطاقة المستخدم
1 الباب
2 حدث برمجي

قيم op_id

القيمة الوصف (الإنجليزية)
8 New renovation code for key (online).
16 Door opened: inside handle.
17 Door opened: key.
18 Door opened: key and keyboard.
19 Door opened: multiple guest key.
20 Door opened: unique opening.
21 Door opened: switch.
22 Door opened: mechanical key.
25 Door opened: PPD.
26 Door opened: keyboard.
27 Door opened: spare card (hotel).
28 Door opened: online command.
29 Door most probably opened: key and PIN.
32 End of office mode (keypad).
33 Door closed: key.
34 Door closed: key and keyboard.
35 Door closed: keyboard.
36 Door closed: switch.
37 Key inserted (energy saving device).
38 Key removed (energy saving device).
39 Room prepared (energy saving device).
40 Start of privacy.
41 End of privacy.
42 “Duress” alarm.
47 Communication with the reader lost
48 Communication with the reader reestablished
49 Start of office mode.
50 End of office mode.
51 Hotel guest cancelled.
54 Door programmed with spare key.
55 New hotel guest key.
56 Start of forced opening (online).
57 End of forced opening (online).
58 Start of forced closing (online).
59 End of forced closing (online).
60 Alarm: intrusion (online).
61 Alarm: tamper (online)
62 Door left opened (DLO).
63 End of DLO (door left opened).
64 End of intrusion.
65 Start of office mode (online).
66 End of office mode (online).
67 End of tamper.
68 Automatic change.
69 Key updated in "out of site" mode (online).
70 Expiration automatically extended (offline).
72 Online peripheral updated.
76 Key updated (online).
78 Key deleted (online).
79 Door has lost communication with the Salto software.
80 Door has re-established communication with the Salto software.
81 Opening not allowed: key no activated.
82 Opening not allowed: key expired.
83 Opening not allowed: key out of date.
84 Opening not allowed: key not allowed in this door.
85 Opening not allowed: out of time.
87 Opening not allowed: key does not override privacy.
88 Opening not allowed: old hotel guest key.
89 Opening not allowed: hotel guest key cancelled.
90 Opening not allowed: antipassback.
92 Opening not allowed: no associated authorization.
93 Opening not allowed: invalid PIN.
95 Opening not allowed: door in emergency state.
96 Opening not allowed: key cancelled.
97 Opening not allowed: unique opening key already used.
98 Opening not allowed: key with old renovation number.
99 Warning: key has not been completely updated (online).
100 Opening not allowed: run out of battery.
101 Opening not allowed: unable to audit on the key.
102 Opening not allowed: locker occupancy timeout.
103 Opening not allowed: denied by host.
104 Blacklisted key deleted.
107 Opening not allowed: key with data manipulated.
111 Closing not allowed: door in emergency state.
112 New renovation code.
113 PPD connection.
114 Time modified (daylight saving time).
115 Low battery level.
116 Incorrect clock value.
117 RF Lock date and time updated.
118 RF Lock updated.
119 Unable to perform open/close operation due to a hardware failure.
120 Lock restarted.
1000 The Salto software has re-established communication with the door.
1001 The Salto software has lost communication with the door.
2000 Guest new key
2001 Guest copy key