npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-peak-value-calculator

v1.0.1

Published

A Node-RED node for calculating peak (maximum) and lowest peak (minimum) value

Downloads

57

Readme

Node-RED Peak Value Calculator Node

Table of Contents

Overview

The Node-RED Peak Value Calculator Node is a node designed for Node-RED. It allows you to effortlessly calculate peak and low peak values in real-time data streams. It's particularly useful for systems that require monitoring and analysis of peak data points, such as analog input systems, control systems, and more.

Installation

You can install this node directly from the Node-RED palette manager, or use the following npm command:

npm install node-red-contrib-peak-value-calculator

After installation, the node will appear in your Node-RED palette under the category you specified.

Usage

Features

  1. Start/Stop Controls: This feature allows you to control when the node starts or stops accepting new data points.
  2. Peak Calculation: The node will automatically calculate the peak value among the received data points.
  3. Status Indicators: Real-time status updates are shown for all the operations performed by the node.
  4. Ease of Use: Simply drag and drop the node into your Node-RED flow to start using it.

Input

Send boolean input with following topics

  1. start (boolean): Starts accepting values for peak calculation
  2. stop (boolean): Stops accepting values
  3. peak (boolean): Triggers a peak value calculation and sends the result containing peak and low peak value
  4. low_peak (boolean): Triggers a peak value calculation and sends the result containing low peak value only
  5. clear (boolean): Clears the stored peak value and stops accepting values

Example Workflow

  1. Insert the Peak Value Calculator Node into your Node-RED flow.
  2. Connect it to the desired data stream.
  3. Use control messages to start and stop data collection and to initiate peak value calculation.
  4. The node will output the calculated peak value in the specified format.

For more detailed information, please refer to the example folder in the GitHub repository.

Applications

  1. Signal Processing: For normalizing and limiting audio signals.
  2. Control Systems: To monitor peak values for maintaining system stability.
  3. Healthcare: To analyze peak values in ECG/EKG and EEG data.
  4. Data Analytics: Useful in detecting peaks in financial data, stock market trends, or sensor data.
  5. Electrical Engineering: For measuring peak voltage and current levels.
  6. Networking: To monitor peak data traffic for optimizing network performance.

Contributing

We welcome contributions! Please see the CONTRIBUTING.md file for details.

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details.

Contact

For any questions or suggestions, please open an issue on the GitHub repository: Node-RED Peak Value Calculator.

Thank you for using the Node-RED Peak Value Calculator Node!