node-red-data-generator

The node-red-data-generator is a customizable Node-RED node developed to simulate various data patterns for testing, prototyping, and debugging dashboards, PLC interfaces, and IoT flows.

Supported data types include:

  • Sinusoidal
  • Random
  • Rising
  • Falling
  • Square
  • Triangle
  • Exponential
  • Sine + Noise
  • Step Change

Each data type can be configured with:

  • Min / Max values
  • Step size (0.001 up to max)
  • Frequency (in ms)

The node emits a msg.payload with the generated value and msg.topic with the selected data type. This makes it easy to connect to dashboards or loggers for visual feedback.

→ View Source on GitHub
→ Install via npm

Related pages: FESTO CPS case study | All projects