Real-Time Monitoring

Monitor your cannabis grow environment in real-time with comprehensive sensor data collection, visualization, and alerting.

Overview

The monitoring system provides real-time and historical tracking of all environmental parameters critical to cannabis cultivation. Data is collected from IoT sensors via MQTT, stored in MongoDB, and displayed in real-time on the frontend dashboard via WebSocket connections.

Environmental Sensors

Comprehensive sensor support for all critical environmental parameters.

Temperature Monitoring

DHT22/DHT11 Sensors

High-accuracy temperature and humidity sensors connected to ESP32/ESP8266 devices.

  • DHT22 Specifications: Temperature range -40°C to 80°C, accuracy ±0.5°C, humidity 0-100% RH, accuracy ±1% RH
  • DHT11 Specifications: Temperature range 0°C to 50°C, accuracy ±2°C, humidity 20-90% RH, accuracy ±5% RH
  • Sampling Rate: DHT22: 0.5 Hz (one reading per 2 seconds), DHT11: 1 Hz (one reading per second)
  • Real-Time Updates: Readings published to MQTT every 2-10 seconds
  • Historical Tracking: All readings stored in MongoDB with timestamps for trend analysis
  • Optimal Ranges: Vegetative: 70-85°F, Flowering: 65-80°F, Drying: 60-70°F, Curing: 60-65°F
  • Alert Thresholds: Configurable alerts for temperature too high (>85°F) or too low (<65°F)
Hardware Setup →

Humidity Monitoring

pH Monitoring

EC (Electrical Conductivity) Monitoring

COâ‚‚ Monitoring

Light Intensity Monitoring

Soil Moisture Monitoring

Analog Soil Moisture Sensors

Analog sensors connected to ESP32 ADC pins for precise soil moisture measurement.

  • ADC Resolution: 12-bit (0-4095 values) for high precision
  • Calibration: Dry calibration (~4095) and wet calibration (~1500) for accurate percentage conversion
  • Moisture Levels: Percentage-based (0-100%) for easy interpretation
  • Optimal Ranges: Vegetative: 40-60%, Flowering: 30-50%, varies by medium (soil vs coco)
  • Automated Triggers: Automatic watering when moisture drops below threshold (e.g., <30%)
  • Multi-Sensor Support: Multiple sensors per grow for different zones or plants
  • Sensor Placement: Position at root zone depth for accurate readings
  • Calibration Guide: See hardware documentation for detailed calibration steps
Calibration Guide →

Data Collection

MQTT Integration

Sensor data is collected via MQTT protocol for reliable, scalable IoT communication.

Data Storage

Real-Time Updates

Data Visualization

Comprehensive charts and graphs for analyzing environmental data.

Real-Time Charts

Historical Analysis

Dashboard Widgets

Alert System

Stay informed with real-time alerts for critical environmental conditions.

Alert Types

Threshold Alerts

Alerts when environmental parameters exceed defined thresholds.

  • Temperature too high/low
  • Humidity out of range
  • pH levels critical
  • EC levels abnormal

Device Alerts

Notifications for device status and connectivity issues.

  • Device offline
  • Connection errors
  • Sensor reading failures
  • Battery low (for battery-powered devices)

Automation Alerts

Notifications when automation rules trigger actions.

Alert Severity Levels

Alert Delivery

Data Filtering

Advanced filtering capabilities for analyzing specific data subsets.

Statistics & Analytics

Comprehensive statistics for data-driven cultivation decisions.

Environmental Statistics

Phase Analytics

Data Export

Export monitoring data for external analysis and record-keeping.

Best Practices