node-red-contrib-timeout 1.0.8

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

npm install node-red-contrib-timeout

A simple timeout by Peter Scargill ([email protected]). After setting the topic and both safe and unsafe messages, for, 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", there is also msg.countdown showing the remaining time in seconds.

For more IOT, visit https://tech.scargill.net

Node Info

Version: 1.0.8
Updated 2 days ago
License: MIT
Rating:

Downloads

26 in the last day
165 in the last week
478 in the last month

Nodes

  • timeout

Keywords

  • node-red
  • timeout
  • time-out
  • scargill

Maintainers

  • scargill