Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 736 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 736 Bytes

Qblinks Quantum Cloud XIM Driver for Light/HUE

Prepare

  1. Run 'npm install'.
  2. Add auth_url=https://authdev.qblinks.com/api into shell environment variables.
  3. Add xim_url=https://ximdev.qblinks.com/api into shell environment variables.
  4. Add ./bin into shell PATH variable.
  5. Using Qblinks Clound account and password to login and get valid Quantum Token.
  6. Get OAuth URL and proceed OAuth processes on Browser.
  7. Apply authenticate method.

Test Locally

  1. Modify MY_QUANTUM_TOKEN in .xim_config file as a valid Quantum Token.
  2. Create test data in event-samples folder.
  3. Run quantum-local script to test driver and method locally.
quantum-local -l index.js -h handler -e event-samples/discovery.js -t 15