Socket
Socket
Sign inDemoInstall

node-red-contrib-stepper

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-stepper

A Node-RED node that steps through numbers from a start value to an end value at configurable intervals.


Version published
Weekly downloads
7
Maintainers
1
Install size
51.3 kB
Created
Weekly downloads
 

Readme

Source

node-red-contrib-stepper

This Node-RED node facilitates the generation of stepped numerical sequences with user-defined parameters. It is ideal for scenarios where a controlled sequence of numbers is required, such as in simulations, iterative testing, or gradual value changes in automation tasks.

Installation

Install the node directly by using the Node-RED Palette Manager or by running the following command in your Node-RED installation directory:

npm install node-red-contrib-stepper

Features

  • Configurable Range: Set start and end points for the sequence.
  • Step Control: Define the increment or decrement step size.
  • Timing Adjustment: Specify the duration for each step.
  • Dynamic Control: Start, stop, resume, and reset the sequence dynamically with input messages.

Usage

Configure the node with the following settings:

  • From: The initial value of the sequence.
  • To: The final value of the sequence.
  • Step: The value by which to increment or decrement.
  • Duration: The delay between steps in milliseconds.

Control the node by sending a message with a boolean true payload and one of the following topics:

  • start: Initiates the sequence.
  • stop: Halts the sequence.
  • reset: Resets the sequence to the initial From value.
  • resume: Resumes the sequence from where it was stopped.

Example

Refer the example included with this node

Copy and import it into your Node-RED environment to see the stepper node in action.

Issues and Support

For bug reports, feature requests, or any other queries, please open an issue on the GitHub repository:

Issue Tracker for node-red-contrib-stepper

Contributing

Feel free to dive in! Open an issue or submit PRs. Contributions should be made via a GitHub pull request with a clear list of what you've done.

License

node-red-contrib-stepper is available under the GNU General Public License v3.0. See the LICENSE for more details.

Acknowledgments

This node was developed by Harshad Joshi. Contributions and feedback are always welcome to improve the tool's capabilities.

Development Information (Latest)

  • Version: 1.2.0
  • Release Date: March 24, 2024
  • Changelog: Added resume functionality for resuming the sequence from where it was stopped.

Keywords

FAQs

Last updated on 24 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc