Package Exports
- nodejs-collector
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodejs-collector) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nodejs-collector (1.1.x)
This app reads data from Elitech RC-4 data logger and push them to a remote server. It uses the elitech-reader module.
Install
In your local machine, use npm:
npm install nodejs-collector -gRunning
nodejs-collector
Usage: nodejs-collector [OPTION] --list|--once|--loop (one is required)
-u, --url=<url> Webservice url. Eg: http://somehost.com/temperatureData. Default: false (it means that no data will be uploaded)
-i, --interval=<interval> Upload interval: interval between data upload. Default: 10 (unit: seconds)
-s, --size=<size> Maximun page site to upload data to server. Default: 1000
-p, --port=<port> Serial port. Default: false (it means that collector will try to retrieve it from operating system)
-o, --once Run measurement cycle once and exit.
-L, --loop Run measurement cycle in a loop. Type [ctrl+c] to exit.
-l, --list List serial ports
-h, --help display this helpGet it
Please feel free to get our code and improve it. You are welcome to be a contributor. Contact us!
git clone https://github.com/john-orr/collector.gitFinally
Cheers