http-atrium-cdvi
v2.1.0
Published
Communicates with Atrium CDVI smart locks in http://storage.squareremoteaccess.com/#/ by running GET and POST requests. Handles setting cookies, and rc4 encryption needed to access the portal.
Downloads
15
Readme
Smart-Locks-Atrium-Cdvi
Communicates with Atrium CDVI smart locks in http://storage.squareremoteaccess.com/#/ by running GET and POST requests. Handles setting cookies, and rc4 encryption needed to access the portal.
Installion
- Run
npm install
Testing
- Create
.env
file using the keys from the "Developer’s Secret Files" Google Doc (ask for permission if you don't have access yet). Move the file into the "test" folder. - Tests are located in the "test" folder. Run
npm test
to run the test.- This will:
- Create a user with first name
New1
and last nameAtriumUser
.- Upon creating the user, it will login initially.
- Set the user's key code to
99991
. - Delete the newly created user before finishing the test.
- Create a user with first name
- This will: