node-red-contrib-qnap-timeseries

0.0.3 • Public • Published

node-red-contrib-qnap-timeseries

A Node-RED node to save time-series data in a MongoDB database.

Pre-requisite

To run this you need a local MongoDB server running. For details see the MongoDB site.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-contrib-qnap-timeseries

Usage

Nodes to save and retrieve data in a local MongoDB instance.

Input

Find queries a collection using the msg.payload as the date query statement.

Optionally, you may also set

  • a msg.payload.start_date object to constrain the returned data set,
  • a msg.payload.end_date object to constrain the returned data set

Default query using historic configuration provided to aggregation method of collections.

Output

A simple MongoDB output node. Can save and update objects from a chosen collection to time-series format.

Package Sidebar

Install

npm i node-red-contrib-qnap-timeseries

Weekly Downloads

3

Version

0.0.3

License

Apache-2.0

Last publish

Collaborators

  • weikunlu