Description
TTHotel Smart Locks module for RosarioSIS. Manage student or user access, consult Smart Lock records. Access and accounts are of 3 types: NFC card, eKey (via bluetooth and the TTHotel Guest smartphone app), and password.
The module adds 4 menu entries to the Entry and Exit module:
- Configuration: enter the TTHotel API integration details
- Smart Locks: add Smart Locks and associate them to a checkpoint. Consult records (unlock, other) of a Smart Lock.
- Accounts: create (or delete) accounts (NFC card, eKey, or password) for students and users
- Access: add, edit or remove access to/from a Smart Lock
Each time a user or student successfully unlocks a Smart Lock, a record is added and can be consulted from the Entry and Exit > Records program.
Translated in French, Spanish, Slovenian and Portuguese (Brazil).
Note: the TTHotel Smart Locks module requires the Entry and Exit module to work.
Note 2: for now, only accounts of the “NFC card” type can be created.
TTHotel
https://www.ilockey.com/ttlock-101-guide/
TTHotel Windows
- Download and install TTHotel Windows
- Create an account (email, password). You will use this same account for the TTHotel APP
- Enter the lock supplier code (should be communicated by the lock supplier)
- Create an hotel for your school
RosarioSIS integration
- Open TTHotel Windows
- Go to menu Settings > Integration and copy the API Integration details
- Open RosarioSIS and go to menu Entry and Exit > Configuration
- Save the API Integration details you have copied in step 2
- Copy the Callback URL and save it in TTHotel Windows, menu Settings > Integration
TTHotel APP
Add Smart Lock to TTHotel
- Download and install the TTHotel APP (staff) on your smartphone
- Login with the TTHotel account you have created on Windows
- Add the Smart Lock to the hotel
https://hoteldoc.ttlock.com/en/docs/常见问题/智能锁
Smart Lock
Add Smart Lock to RosarioSIS
- Open RosarioSIS and go to menu Entry and Exit > Smart Locks
- Add the Smart Lock and associate it to a checkpoint
Note: when powered off, the Smart Lock’s time will go out of sync. This can result in denied access with code from lock 25 “unlock by card failed—card expired”. Use the TTHotel APP to synchronize the lock’s time.
E3 Card Reader/Encoder
Create “NFC card” accounts in RosarioSIS
- Connect the E3 Card Reader/Encoder to the PC
- Open RosarioSIS and go to menu Entry and Exit > Accounts
- Select a User or Student and click on the “NFC card number” text input
- Swipe an NFC card: the number should be automatically saved
Note: sometimes, the NFC card number you get from the reader will be incomplete. It should be at least 9 digits. In this case, empty the “NFC card number” text input and try again.
G2 Smart Lock Gateway
Connect Smart Lock to Wifi
- Open TTLock APP > Click the side menu > Select Gateway > Tap “+” > Select G2
- Connect the G2 Smart Lock Gateway
- Make sure the light flashes red and blue alternately
- TTLock APP, tap the “+” next to the discovered gateway
- Select the correct “Wifi Name”. Make sure this is your network
- Enter the Wifi password for the selected network
- Enter a “Gateway Name” to identify your gateway (e.g. “Primary Gateway”)
- Click OK. It takes about a few minutes to complete the setup
- Once the gateway is configured, it will automatically search for nearby locks. Please note, that your Smart Lock should be within bluetooth range (3-7 meters)
Add access to Smart Lock from RosarioSIS
- Open RosarioSIS and go to menu Entry and Exit > Access
- Select a type of account (NFC card, eKey or password) and a Smart Lock
- Select a student or user with an account
- Select “Add” from the “Action” dropdown
- Enter the access “From” and “To” date/time
- Click the “Add access” button
Note: under the hood, RosarioSIS is consuming the sciener Open Platform Cloud API v3.
Buy
Install
Copy the TTHotel_Smart_Locks/
folder (if named TTHotel_Smart_Locks-master
, rename it) and its content inside the modules/
folder of RosarioSIS.
Go to School > Configuration > Modules and click “Activate”.
Requires RosarioSIS 11.0+ and the Entry and Exit module 2.5+
Demo
The TTHotel Smart Locks module can be freely previewed in the online demonstration of RosarioSIS.
Note: Activate the module first if it is not appearing in the left menu.
Copyleft
- Author François Jacquet
- License GNU/GPLv2 or later