Skip to content

Commit 8c98faa

Browse files
committed
chore(gallagher/rest_api): add new events
1 parent 27f3cd9 commit 8c98faa

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

drivers/gallagher/rest_api.cr

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ class Gallagher::RestAPI < PlaceOS::Driver
6363
types: [15800, 15816, 20001, 20002, 20003, 20006, 20047, 41500, 41501, 41520, 41521, 42102, 42415],
6464
action: "granted",
6565
},
66+
{
67+
# Door status events
68+
group: 26, # Door Status
69+
types: [23031], # Door Opened
70+
action: "request_to_exit",
71+
},
72+
{
73+
# card swipe events for various door / lift types
74+
group: 27, # "Non-Card Door Unlock"
75+
action: "request_to_exit",
76+
},
6677
{
6778
group: 29,
6879
action: "forced_door",

drivers/rhombus/security_interop.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require "./security_interop_models"
55
class Rhombus::SecurityInterop < PlaceOS::Driver
66
descriptive_name "Rhombus Security Interop"
77
generic_name :RhombusSecurity
8-
description %(provides an interface for rhombus and local security platforms.)
8+
description %(provides an interface for rhombus and local security platforms)
99

1010
default_settings({
1111
debug_webhook: false,

shard.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ shards:
239239

240240
placeos-driver:
241241
git: https://github.com/placeos/driver.git
242-
version: 7.11.9
242+
version: 7.12.0
243243

244244
placeos-log-backend:
245245
git: https://github.com/place-labs/log-backend.git

0 commit comments

Comments
 (0)