http-atrium-cdvi

2.1.0 • Public • Published

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:
      1. Create a user with first name New1 and last name AtriumUser.
        • Upon creating the user, it will login initially.
      2. Set the user's key code to 99991.
      3. Delete the newly created user before finishing the test.

Readme

Keywords

none

Package Sidebar

Install

npm i http-atrium-cdvi

Weekly Downloads

1

Version

2.1.0

License

ISC

Unpacked Size

24.7 kB

Total Files

9

Last publish

Collaborators

  • akassab
  • quintonmak