Zetta Keen.io data collection
Collect all your zetta sensor data, and put it into keen.io.
Usage
npm install zetta-device-data-keenio
var zetta = ;var KeenCollector = ; var collector = collection: 'My Collection' projectId: processenvKEEN_PROJECT_ID writeKey: processenvKEEN_WRITE_KEY ; var hub = name'cloud' ;
Docs
Constructor
- arguments: A javascript object
- returns: nothing
- description: Initializes a new collector for sending data to keen.io. Required params in the options object are:
- collection - The collection which events will be stored within keen.io.
- projectId - The project id where you'll send events.
- writeKey- The write key for the project where you'll send events.
collect()
- arguments: nothing
- returns: nothing
- description: Starts the collection process from device data.