Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-topic-timeframe-trigger

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-topic-timeframe-trigger

Node-RED node which observes input topics and only produces an output if n distinct topics are received n times each within the specified time frame.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-topic-timeframe-trigger

Node-RED node which observes input topics and only produces an output if n distinct topics are received n times each within the specified time frame.

Installation

Change directory to your node red installation:

$ npm install node-red-contrib-topic-timeframe-trigger

Outputs

When enough messages are received to trigger, a message is output as per the configuration. In addition, all of the messages received within the timeframe are added to the message as an array property called triggers.

Enabling extra debugging

Install node-red-contrib-config and drag a config node into your workspace. Configure the node to set a global variable called topic-timeframe-trigger with a JSON value of {"debug": true}. Also make sure that the config tickbox for active is unchecked. Redeploy. Now click the button on the config node. This will trigger all instances of topic-timeframe-trigger to write extra logging to the os syslog next time they're invoked.

Keywords

FAQs

Package last updated on 03 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc