Skip to content

softy2k/node-red-contrib-resend-last-msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published