To run the steps you just need have Go 1.21.4 or later installed and run go run .
inside of any step folder.
To connect to visionline, you must create a 3 webviews, each for one of the services you're connecting:
- Seam Bridge (to connect you to the Visionline Network)
- Assa Abloy Credential Service
- On-Prem Visionline
Each webview has a URL, you go to this URL to log in!
Here are the commands, after executing each one, open the webview and fill in the sample credentials:
seam connect-webviews create --accepted-providers seam_bridge
- Pairing Code:
1234
- Name:
My Network
- Pairing Code:
seam connect-webviews create --accepted-providers assa_abloy_credential_service
- Username:
jane
- Password:
1234
- Username:
seam connect-webviews create --accepted-providers visionline
- Username:
jane
- Password:
1234
- Lan IP:
192.168.1.100
- Username:
All steps beyond this point you repeat for each incoming Guest
seam user-identities create --email-address jane@example.com
seam user-identities enrollment-automations launch
- For
user_identity_id
selectjane@example.com
- For
credential_manager_acs_system_id
select "Assa Abloy Credential Service" - For
create_credential_manager_user
selecttrue
- For
seam acs users create
- For
acs_system_id
selectVisionline
- For
user_identity_id
selectjane@example.com
- For
full_name
enterJane Doe
(or anything, but cannot be blank) - Our command line doesn't support editing the
access_schedule
at the moment, but normally you would want to set this to the duration of the Guest's stay
- For
Now we create a Visionline User and connect it to our User Identity.
You can see all your ACS credentials with
seam acs entrances list
, entrances are typically named like "Room 301" or "Front Entrance", but in our demo data it's an empty string (sorry)
seam acs entrances grant-access
- For
acs_user_id
selectVisionline
andjane@example.com
- For
acs_entrance_id
select any entrance
- For
A multi_phone_sync_credential
will automatically sync with all phones owned by a user identity.
seam acs credentials create
- For
acs_user_id
selectVisionline
thenjane@example.com
- For
access_method
selectmobile_key
- For
is_multi_phone_sync_credential
selecttrue
- For
card_format
selectvisionline_metadata
- For
starts_at
andends_at
select the valid window of the credential
- For
There are 3 ways to connect a user to their phone, we're going to go over the Mobile SDK/you build a custom app version here, but it's even easier with Seam Passport.
Use seam client_sessions create --user_identity_id=...
to create a a client session for this
user.
Now you must give the client session to the SeamDeviceController in your app!