How tahawey/dpm-scada works
Main Components
• Node-RED Environment: Represented by the “node-red-flow.json”, this is the engine of the system where all logic flows are defined.
• DPM Dashboard (HMI): The visual interface generated by Node-RED to display real-time data from digital power meters.
• Digital Power Meter Interface: While not directly visible as code, the README mentions integration with digital meters (e.g., Schneider PM710). It should be represented as the data source.
Component Interactions and Relationships
• The Node-RED flows (from node-red-flow.json) handle data acquisition from the DPM (digital power meter) and pass this information to the dashboard.
• An external connection or interface (denoted as the Digital Power Meter) should be connected to Node-RED, indicating data flow from the hardware (like the Schneider PM710) to the software platform.
Architectural Patterns and Design Principles
• Minimalism in design—no traditional SCADA server is used; instead, a single lightweight Node-RED-based system drives the entire application.
• Stress how the dashboard is generated in real-time from flows, which act as the middleware between the hardware (digital meter) and the visualization layer.