Skip to content

feat(place/visitor_mailer): provide a QR code for building access#516

Open
stakach wants to merge 1988 commits intomasterfrom
vistor-building-access-qr
Open

feat(place/visitor_mailer): provide a QR code for building access#516
stakach wants to merge 1988 commits intomasterfrom
vistor-building-access-qr

Conversation

@stakach
Copy link
Copy Markdown
Member

@stakach stakach commented Sep 13, 2024

I created an interface so we can standardise providing guests QR codes that will get them through the base building gates
https://github.com/PlaceOS/driver/blob/master/src/placeos-driver/interface/guest_building_access.cr

This is implemented on our Integriti driver
https://github.com/PlaceOS/drivers/blob/master/drivers/inner_range/integriti.cr#L956-L1010

Somewhat based on how I saw @camreeves code working for Gallagher

Additions we could make to this pull request:

  1. store the credentials against the guest booking (store in metadata)
  2. if the booking is cancelled and has some credentials generated, revoke_guest_access

Currently the QR code being generated is just taking the card data and creating a HEX or Base64 version of that.
I asked ChatGPT about this so we probably need to confirm with the QR code readers that are in use, or maybe @w-le @camreeves can remember what was used when we last did this

stakach and others added 30 commits November 21, 2023 13:14
use out of service check to skip
…ecks room attendee response instead of event.status
…e is the room, as room attendees may incorrectly have .resource: false
stakach and others added 24 commits September 9, 2024 13:34
like "Locked - Normal" instead of just "Locked"
@stakach stakach force-pushed the vistor-building-access-qr branch from 2212b03 to 64cb97a Compare May 8, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants