node-red-contrib-journal 0.1.6

Journalling of sequential messages to provide basic time series output

npm install node-red-contrib-journal

#Node Red Journal Node

A node that implements a persistable fixed length FIFO for basic time series operations

Journal takes input messages and buffers them up to its maximum length. Journal can be work in two different modes, clocked and message driven.

In clocked mode, arriving messages are cached and added to the journal every 'clock interval' seconds, which is then output.

In message driven mode, the journal is added to and output every time new messages arrive.

Every 'maximum entries' input messages, the journal outputs a message which is the average of all input messages in the journal. This enables cascading of journals in successively longer time series.

Note that if the input messages are objects rather than simple numbers, you should specify the 'Keys to average' property, which is a comma separated list of message properties to be averaged. All other properties of the message will be passed through to the next journal unchanged from the last received message.

This node has been designed to be used with ThingStudio and the widgets which take journal inputs, such as the Sparkline widget.

Node Info

Version: 0.1.6
Updated 1 year, 3 months ago

Downloads

0 in the last day
21 in the last week
176 in the last month

Nodes

  • journal

Keywords

  • node-red
  • thingstudio

Maintainers

  • mkarliner