node-red-contrib-qnap-timeseries
v0.0.3
Published
Node-RED node to process time-series data in mongodb
Downloads
7
Maintainers
Readme
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.