node-red-contrib-resend-last-msg

1.0.6 • Public • Published

node-red-contrib-resend-last-msg

A lightweight node that allows you to resend the last received message, by pressing a simple button. Especially useful for diagnostics.

Install

Use the Manage Palette > Install option from the menu inside node-red

or

Run the following npm command in your Node-RED user directory (typically ~/.node-red):

npm install node-red-contrib-resend-last-msg

Usage

When this node receives a msg via input it will pass it through and store it (using deep clone). The node will resend the last received msg when the button is pressed.

Optionally, you can resend msg.payload only. Additionally, the node counts received messages. The message counter can be reset automatically by choosing the time and day(s) of the week.

License

Licensed under the Apache License 2.0

Package Sidebar

Install

npm i node-red-contrib-resend-last-msg

Weekly Downloads

7

Version

1.0.6

License

Apache-2.0

Unpacked Size

25.3 kB

Total Files

6

Last publish

Collaborators

  • softy2k