Salto EventStream

Die Salto EventStream-Schnittstelle schlüsselt jedes Event in ein Gerät auf. Dieses wird dann als Datenpunkt zur Verfügung gestellt. Geräte können auch manuell erstellt werden.

Konfiguration seitens Salto

Antcas unterstützt nur die folgende Event-Konfiguration:

  • TCP/IP
  • JSON-Format
  • Definieren einer DoorExtID ist zwingend notwendig
  • EventDateTimeUTC ist zwingenbd notwendig, um ein Telegramm als gültig zu erkennen
  • Zeichencodierung muss auf UTF-8 eingestellt werden

Das ausgehende Port kann dabei nach den Kriterien der gültigen Ports gewählt werden. Der Standardport ist 3200. Eine Schnittstelle ist in der Lage, mehrere Clients zu handeln.

Eindeutige ID's

Zur Kommunikation werden eindeutige ID's verwendet. Diese werden seitens Salto jeweils als DoorExtID übergeben. Wurde dieses nicht definiert, so werden die Empfangene Daten nicht an die SPS weitergeleitet.

Alle neuen ID's erzeugen automatisch eine Tür in der Installation.

Auswertung

Um einen Trigger zu erstellen, kann dieser beim Objekt event_id erstellt werden. Da das Objekt bei jedem Empfang geändert wird, kann die Auswertung mittels Funktionsblock TRIG umgesetzt werden. Falls EventID nicht definiert wurde, wird diese automatisch generiert.

Info: Die Schnittstelle synchronisiert automatisch mit dem langsamsten Zyklus der zugeordneten SPS. Die Telegramme werden vom System gepuffert, sodass kein Telegramm verloren geht.

Variable JSON-Datenpunkt Datentyp
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

Werte von usertype

Wert Beschreibung
0 Benutzerkarte
1 Tür
2 Software Ereignis

Werte von op_id

Wert Beschreibung (Englisch)
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