Advanced Node-RED nodes for AI-powered IoT data simulation, environmental monitoring, and manufacturing intelligence with FlowForge integration
This comprehensive Node-RED contrib package provides 20+ advanced nodes for creating sophisticated IoT simulations, implementing AI-powered analytics, and building modern dashboard applications. Perfect for developers, researchers, and enterprises working with sensor data, predictive analytics, and industrial IoT applications.
- Open your Node-RED instance
- Go to Menu β Manage palette β Install
- Search for
node-red-contrib-enhanced-data-generators
- Click Install
cd ~/.node-red
npm install node-red-contrib-enhanced-data-generators
npm install -g node-red-contrib-enhanced-data-generators
- 25+ environmental sensors with realistic data patterns
- Seasonal and daily cycles for authentic simulation
- Air quality monitoring (PM2.5, PM10, CO2, NOx, O3)
- Weather patterns with wind, rainfall, and solar radiation
- Soil and water quality metrics
- Configurable anomaly injection for testing
- Production line metrics and quality control
- Predictive maintenance data simulation
- Energy consumption and efficiency tracking
- Supply chain and inventory management
- Safety and compliance monitoring
- 5 prediction algorithms: Linear regression, exponential smoothing, moving average, polynomial, isolation forest
- Anomaly detection with configurable sensitivity
- Confidence scoring and accuracy metrics
- Real-time model updates with streaming data
- Configurable history management (10-2000 data points)
- Statistical outlier detection using Z-scores
- Isolation forest for complex anomaly patterns
- Adaptive thresholds based on data characteristics
- Severity classification (low, medium, high)
- Real-time alerting integration
- Natural language analysis of sensor data
- Intelligent insights and recommendations
- Contextual alerts with human-readable explanations
- Trend summarization in plain English
- Custom prompt engineering for specialized analysis
- Real-time line, bar, and scatter plots
- 3D visualizations with WebGL acceleration
- AI prediction overlays with confidence bands
- Interactive zoom and pan controls
- Export functionality (PNG, SVG, PDF)
- Animated circular and linear gauges
- Multi-zone color coding with thresholds
- Trend indicators and sparklines
- Customizable styling and themes
- Alert integration with visual notifications
- Three.js powered 3D scenes
- Real-time data visualization in 3D space
- Interactive camera controls
- Custom geometries and materials
- VR/AR ready for immersive experiences
- Real-time heatmap visualizations
- Geographic mapping integration
- Time-series animation controls
- Custom color scales and legends
- Density clustering algorithms
- Instance-based data storage with unique IDs
- Automatic cleanup and memory management
- Cross-instance communication capabilities
- Persistent storage options (Redis, file, memory)
- Data analytics and statistical functions
- Multi-device simulation management
- Dynamic instance creation and destruction
- Load balancing across instances
- Status monitoring and health checks
- Configuration synchronization
- Statistical analysis (mean, median, std dev, percentiles)
- Trend analysis and pattern recognition
- Data quality assessment and scoring
- Correlation analysis between sensors
- Automated reporting generation
- System resource monitoring (CPU, memory, network)
- Node-RED flow performance metrics
- Database connection health checks
- Alert thresholds and notifications
- Historical performance tracking
- Team collaboration features
- Remote device management
- Version control integration
- Deployment automation
- Enterprise security and RBAC
- Redis, InfluxDB, MongoDB, MySQL support
- Connection pooling and failover
- Query optimization and caching
- Transaction management
- Schema migration tools
- Intelligent alert routing based on context
- Escalation policies and notification chains
- Alert correlation and deduplication
- Multi-channel notifications (email, Slack, SMS)
- Alert analytics and reporting
// Flow: Environmental Simulator β AI Predictor β Dashboard
[Enhanced Env Simulator] β [AI Predictor] β [Advanced Chart]
β
[Anomaly Detector] β [Smart Alert Manager]
// Flow: Manufacturing Data β Analytics β Dashboard
[Manufacturing Simulator] β [Data Analytics] β [Advanced Gauge]
β
[Performance Monitor] β [Multi-DB Connector]
// Flow: Data Sources β AI Analysis β Visualization
[Multiple Simulators] β [Context Manager] β [AI Predictor]
β
[Dashboard 3D] + [Heatmap]
// Configure enhanced environmental simulator
{
"instanceId": "env-station-001",
"sensorCount": 25,
"updateInterval": 5000,
"enableSeasonalPatterns": true,
"enableAnomalyDetection": true,
"location": {
"name": "Industrial Zone Alpha",
"lat": 40.7128,
"lon": -74.0060,
"elevation": 10
}
}
// Configure AI prediction engine
{
"predictionMethod": "exponential_smoothing",
"predictionSteps": 5,
"historySize": 100,
"enableAnomalyDetection": true,
"anomalyThreshold": 2.0,
"confidenceThreshold": 0.7
}
// Configure advanced dashboard chart
{
"chartType": "line",
"realTime": true,
"aiPrediction": true,
"anomalyHighlight": true,
"theme": "dark",
"animations": true,
"exportEnabled": true
}
{
"instanceId": "env-001",
"timestamp": "2024-01-15T14:30:00Z",
"dataType": "environmental",
"location": {
"name": "Sensor Station Alpha",
"coordinates": { "lat": 40.7128, "lon": -74.0060 }
},
"sensors": {
"temperature": { "value": 22.5, "unit": "Β°C", "trend": "increasing" },
"humidity": { "value": 65.2, "unit": "%", "trend": "stable" },
"pm25": { "value": 35.1, "unit": "ΞΌg/mΒ³", "trend": "decreasing" },
"airQualityIndex": { "value": 72, "unit": "AQI" }
},
"metadata": {
"sensorCount": 25,
"qualityScore": 94.2,
"aiEnabled": true
}
}
{
"original": { /* original sensor data */ },
"ai": {
"predictions": {
"temperature": {
"predictions": [
{ "step": 1, "value": 23.2, "confidence": 0.87 },
{ "step": 2, "value": 23.4, "confidence": 0.82 }
],
"confidence": 0.87,
"method": "exponential_smoothing"
}
},
"anomalies": {
"humidity": [{
"value": 95.2,
"severity": "high",
"type": "spike",
"timestamp": "2024-01-15T14:29:00Z"
}]
},
"summary": {
"totalSensors": 25,
"predictionsGenerated": 23,
"anomaliesDetected": 1,
"averageConfidence": 0.78
}
}
}
# AI Configuration
OPENAI_API_KEY=sk-your-openai-key
TENSORFLOW_MODEL_PATH=./models/tensorflow/
# Database Configuration
REDIS_URL=redis://localhost:6379
INFLUXDB_URL=http://localhost:8086
MONGODB_URL=mongodb://localhost:27017/nodered
# FlowForge Configuration
FLOWFORGE_TOKEN=your-flowforge-token
FLOWFORGE_PROJECT_ID=your-project-id
// Add to settings.js
functionGlobalContext: {
// Enhanced Data Generators
enhancedDataGenerators: require('node-red-contrib-enhanced-data-generators'),
// AI Configuration
openai_api_key: process.env.OPENAI_API_KEY,
tensorflow_models: './models/',
// Database connections
redis_url: process.env.REDIS_URL,
influxdb_url: process.env.INFLUXDB_URL
}
- Dark Mode: Professional dark theme with blue accents
- Light Mode: Clean light theme with material design
- Industrial: Orange and gray theme for manufacturing
- Environmental: Green theme for environmental monitoring
- Custom: Fully customizable theme system
{
"theme": "dark",
"primaryColor": "#1976d2",
"accentColor": "#ff4081",
"backgroundColor": "#121212",
"surfaceColor": "#1e1e1e",
"textColor": "#ffffff"
}
# Clear npm cache
npm cache clean --force
# Install with verbose logging
npm install node-red-contrib-enhanced-data-generators --verbose
# Check Node-RED logs
tail -f ~/.node-red/node-red.log
// Check OpenAI API key
console.log(global.get('openai_api_key'));
// Verify TensorFlow installation
const tf = global.get('tensorflow');
console.log(tf ? 'TensorFlow loaded' : 'TensorFlow not available');
// Reduce history size for better performance
{ "historySize": 50 }
// Decrease update intervals
{ "updateInterval": 10000 }
// Disable AI features temporarily
{ "enableAI": false }
We welcome contributions! Please read our Contributing Guide for details.
# Clone the repository
git clone https://github.com/enhanced-node-red/node-red-contrib-enhanced-data-generators.git
# Install dependencies
cd node-red-contrib-enhanced-data-generators
npm install
# Link for local development
npm link
cd ~/.node-red
npm link node-red-contrib-enhanced-data-generators
# Start Node-RED
node-red
# Run unit tests
npm test
# Run integration tests
npm run test:integration
# Run linting
npm run lint
# Run type checking
npm run type-check
- Edge Computing: Support for edge deployment and processing
- Advanced ML Models: LSTM and GRU neural networks
- Real-time Collaboration: Multi-user flow editing
- Enhanced Security: Zero-trust security model
- Cloud Integration: Native AWS, Azure, GCP connectors
- WebAssembly: WASM support for high-performance computing
- Blockchain: Distributed ledger integration
- Voice Control: Voice-activated flow management
- Augmented Reality: AR-based data visualization
- Advanced AI: GPT-4 integration and custom LLMs
- IoT Protocols: Support for newer IoT standards
- Enterprise Features: Advanced RBAC and audit logging
This project is licensed under the MIT License - see the LICENSE file for details.
- Node-RED Team: For the amazing flow-based programming platform
- FlowForge: For enterprise-grade Node-RED management
- OpenAI: For cutting-edge AI capabilities
- TensorFlow.js: For in-browser machine learning
- Three.js: For 3D visualization capabilities
- Community Contributors: For extensive feedback and contributions
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Documentation: Official Docs
- π₯ Tutorials: YouTube Channel
- π¬ Discord: Join our Community
- π§ Email: support@enhanced-node-red.com
π Ready to transform your IoT and data analytics workflows? Install node-red-contrib-enhanced-data-generators
today and start building the future of intelligent automation!