Socket
Book a DemoInstallSign in
Socket

node-red-contrib-timeout

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-timeout

A simple timeout node which can also be used as a toggle for testing.

latest
npmnpm
Version
1.1.5
Version published
Maintainers
1
Created
Source

Timeout

A simple timeout by Peter Scargill (pete@scargill.org). After (optionally) setting a msg.topic and (optionally) altering the default "safe" and "unsafe" msg.payload messages, for output to, for example MQTT (or simply putting 1 and 0 into the two messages) the node is triggered by any input and will send the SAFE message out. If continually triggered nothing more will happen but if allowed to timeout, the UNSAFE message will be sent. Hence this can be used as a watchdog. Options include "repeat message every second" and "auto-restart when timed out". As well as msg.payload showing "Safe", "Warning" or "Unsafe", you can also (optionall) use msg.countdown showing the remaining time in seconds. You can specifically inject the message "unsafe" if you wish to set the node to "unsafe" immediately.

See my other nodes including node-red-contrib-bigtimer. For more IOT, visit https://tech.scargill.net

Keywords

node-red

FAQs

Package last updated on 27 May 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