Cayenne Streaming API using node.js

Download the folder from the dropbox.
Run the following commands

  • npm install

  • npm config set cayenne-demo:client_id <your_cayenne_client_id>

  • npm config set cayenne-demo:client_secret <your_cayenne_client_secret>

    where your_cayenne_client_id is the app key and your_cayenne_client_secret is the app secret which you get from Create APP in your cayenne dashboard.

  • npm run demo

  • Add your cayenne username (email_id) and password.

Thanks @jnacci for this script.

1 Like