https://github.com/rdmtc/node-red-contrib-combine

Node-RED Nodes that outputs combinations of consecutive incoming messages

https://github.com/rdmtc/node-red-contrib-combine

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary

Keywords

combine list logic node-red statistics
Last synced: 6 months ago · JSON representation

Repository

Node-RED Nodes that outputs combinations of consecutive incoming messages

Basic Info
  • Host: GitHub
  • Owner: rdmtc
  • License: mit
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 340 KB
Statistics
  • Stars: 6
  • Watchers: 5
  • Forks: 4
  • Open Issues: 2
  • Releases: 0
Topics
combine list logic node-red statistics
Created almost 8 years ago · Last pushed over 6 years ago
Metadata Files
Readme License

README.md

node-red-contrib-combine

NPM version dependencies Status Build Status Coverage Status XO code style License

Node-RED Nodes that output combinations of consecutive incoming messages

These nodes aim to solve typical use cases where multi-input nodes (something that doesn't exist in Node-RED's concept) would be convenient. Incoming messages are stored internally by the nodes so combinations of multiple messages can be provided. Distinction of these messages is based on their topic property.

Prerequisites

node-red-contrib-combine requires Node.js version 7.0.0 or higher.

Nodes

If

Forwards messages to the first output when previously received a truthy payload on "Condition Topic", otherwise messages will be routed to the second output.

Logic

Logic combination of incoming messages (And, Or, Xor, Nand, Nor, Xnor).

Delta

Simple subtraction of the values received on two configured topics.

Bangbang

Bang-bang (2 step / on-off) Controller. Emits true when the the payload value exceeds the upper bound, emits false when the payload goes below the lower bound. You could e.g. use this as a simple thermostat for a climate control, feed in the actual temperature and use the output to control a cooling device. For a heating device you would have to use the "invert" option, so you receive false when exceeding the upper bound and true when going below the lower bound.

Statistic

Calculate statistic samples like e.g. min, max, mean, median, ... from incoming payloads. Message distinction can be configured to msg.topic or msg._id. A timeout can be configured that removes messages from the internal cache. The statistics are re-composed when a message times out.

List

Compose a table of consecutive incoming topics and payloads. Output as array, csv, html table or html list. Columns and sort order can be configured. Message distinction can be configured to msg.topic or msg._id. A timeout can be configured that removes messages from the internal cache. The tables are re-composed when a message times out.

Defer

Defer a message with truthy payload for given time. If another message arrives with falsy payload the timer is cancelled. Keeps track on each topics state, only one message per topic will be sent until reset by a falsy payload.

License

MIT (c) Sebastian Raff

Owner

  • Name: RedMatic
  • Login: rdmtc
  • Kind: organization

Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 49
  • Total Committers: 2
  • Avg Commits per committer: 24.5
  • Development Distribution Score (DDS): 0.082
Top Committers
Name Email Commits
hobbyquaker b****f@g****m 45
Sineos m****k@g****t 4
Committer Domains (Top 20 + Academic)
gmx.net: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 6
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 6
  • Total pull request authors: 2
  • Average comments per issue: 1.29
  • Average comments per pull request: 0.67
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • akomelj (2)
  • pgalbavy (1)
  • hobbyquaker (1)
  • comlah (1)
  • krzydec (1)
  • Sineos (1)
Pull Request Authors
  • Sineos (5)
  • pavel-demin (1)
Top Labels
Issue Labels
bug (3) question (1) enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • npm 261 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 17
  • Total maintainers: 1
npmjs.org: node-red-contrib-combine

Node-RED Nodes that output combinations of consecutive incoming messages

  • Versions: 17
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 261 Last month
Rankings
Downloads: 6.9%
Forks count: 8.2%
Dependent repos count: 10.3%
Stargazers count: 10.9%
Average: 11.5%
Dependent packages count: 21.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

package-lock.json npm
  • 870 dependencies
package.json npm
  • camo-purge ^1.0.2 development
  • coveralls ^3.0.3 development
  • eslint-plugin-html ^5.0.3 development
  • mocha ^6.0.2 development
  • node-red ^0.19.0 development
  • node-red-node-test-helper ^0.1.8 development
  • nyc ^13.3.0 development
  • should ^13.2.3 development
  • sinon ^7.3.0 development
  • xo ^0.24.0 development