node-red-contrib-input-split 0.1.0

Split an input on multiple outputs based on the provided configuration.

npm install node-red-contrib-input-split

RedConnect Approved

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-input-split

Overview

Split an input on multiple outputs based on the provided configuration.

Example

Assuming that our configuration is to split the input on :

payload.a --> output 1
payload.b --> output 2
payload.c --> output 3

The below input will become

{
       "payload" : {
           "a" : 2,
           "b" : 3,
           "c" : 4
       },
       "_other" : 4
}

Output 1

{
       "payload" : 2,
       "_other" : 4
}

Output 2

{
       "payload" : 3,
       "_other" : 4
}

Output 3

{
       "payload" : 4,
       "_other" : 4
}

Input Split

This node defines from which point the flow splits.

The node have the following properties :

Properties to Split

Here you define how many couples of input [tiny arrow] --> outputs that you want, the value in output is always putted as payload.

Node Info

Version: 0.1.0
Updated 1 year, 3 months ago
License: Apache-2.0

Downloads

22 in the last day
55 in the last week
235 in the last month

Keywords

  • node-red
  • flow
  • split
  • redconnect

Maintainers

  • redant

Contributors

  • Maurizio Carboni