A Node-RED node to save time-series data in a MongoDB database.
To run this you need a local MongoDB server running. For details see the MongoDB site.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-qnap-timeseries
Nodes to save and retrieve data in a local MongoDB instance.
Find queries a collection using the msg.payload as the date query statement.
Optionally, you may also set
- a
msg.payload.start_dateobject to constrain the returned data set, - a
msg.payload.end_dateobject to constrain the returned data set
Default query using historic configuration provided to aggregation method of collections.
A simple MongoDB output node. Can save and update objects from a chosen collection to time-series format.