Smart Factory Data Generator

Smart Factory Data Generator automates the generation of machine data, including random temperature and uptime values, triggered manually at set intervals. It efficiently sends this data to the AMQP sink, enhancing real-time monitoring and analysis of factory operations.

7/8/2025
3 nodes
Simple
manualsimpleintervalamqp
Categories:
Manual TriggeredSimple WorkflowMarketing & Advertising Automation
Integrations:
IntervalAmqp

Target Audience

This workflow is ideal for:
- Manufacturing Engineers: Those looking to automate data collection from machines.
- Data Analysts: Professionals who need real-time temperature and uptime data for analysis.
- Factory Managers: Individuals who want to monitor machine performance and optimize operations.
- IoT Developers: Developers integrating machine data into larger systems or applications.

Problem Solved

This workflow addresses the challenge of manually collecting machine data, which can be time-consuming and error-prone. By automating the data generation process, it ensures consistent and accurate data collection, allowing for better monitoring and decision-making.

Workflow Steps

  • Manual Trigger: The workflow can be initiated manually, allowing users to start data generation at their convenience.
    2. Interval Node: This node triggers the workflow at specified intervals, ensuring regular data collection without manual intervention.
    3. Set Node: This node generates random values for:
    - machine_id.name: Set to n8n_cr8
    - temperature_celsius: Randomly generated between 0 and 99
    - machine_id.uptime: Randomly generated between 0 and 99
    - time_stamp: Current timestamp in milliseconds.
    4. AMQP Sender: The generated data is sent to the AMQP broker labeled berlin_factory_01 for further processing or storage.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the Machine ID: Change the machine_id.name value to represent different machines.
    - Adjusting Random Value Ranges: Alter the random number generation logic in temperature_celsius and machine_id.uptime for different operational conditions.
    - Changing the AMQP Sink: Update the sink parameter in the AMQP Sender to direct data to different brokers or queues as needed.
    - Setting Different Intervals: Adjust the interval settings to control how often data is generated and sent.