Smart Factory Data Generator

The smart factory data generator periodically generates simulated operational data for factory machines, including machine ID, temperature, runtime, and timestamps, and sends it to a designated message queue via the AMQP protocol. This workflow effectively addresses the lack of real-time data sources in smart factory and industrial IoT environments, supporting developers and testers in system functionality validation, performance tuning, and data analysis without the need for real devices, thereby enhancing overall work efficiency.

Workflow Diagram
Smart Factory Data Generator Workflow diagram

Workflow Name

Smart Factory Data Generator

Key Features and Highlights

This workflow uses a timer to periodically generate simulated factory machine operation data, including machine ID, temperature, runtime, and timestamp. The data is structured as objects and sent via the AMQP protocol to a designated message queue ("berlin_factory_01"). Random values are employed to mimic real-world data fluctuations, facilitating testing and data-driven application development.

Core Problem Addressed

It solves the challenge of lacking real-time data sources for testing, development, and demonstration in smart factory or industrial IoT environments. By automatically generating and pushing simulated data, it enables system developers and testers to build data-driven scenarios without relying on physical devices, allowing for process validation and performance tuning.

Application Scenarios

  • Industrial equipment status monitoring and testing
  • Development and debugging of factory automation systems
  • Demonstrations of IoT data stream processing
  • Providing virtual data for data analysis and machine learning model training
  • Performance testing of message queues and real-time data pipelines

Main Workflow Steps

  1. Interval (Timer Trigger): Periodically triggers the workflow to ensure continuous data generation.
  2. Set (Data Construction Node): Creates simulated data objects containing machine ID, random temperature values, random runtime, and current timestamp.
  3. AMQP Sender (Message Sending Node): Sends the simulated data objects to the specified AMQP message queue "berlin_factory_01" for real-time data push.

Involved Systems or Services

  • AMQP (Advanced Message Queuing Protocol): Used for message publishing and delivery, supporting integration with industrial-grade message middleware.
  • n8n internal nodes: Interval, Set, AMQP Sender.

Target Users and Value

  • Industrial IoT developers and test engineers: Quickly simulate factory equipment data for system functionality verification.
  • Data engineers and architects: Build and test data flow pipelines to enhance system stability.
  • Product managers and demonstrators: Showcase smart factory solutions with realistic simulated data.
  • Machine learning engineers: Obtain structured simulated industrial data to support model training and validation.

This workflow provides a simple and efficient solution for professionals to virtually generate and transmit smart factory data in real time, offering robust data support for industrial automation and IoT applications.