Complete Cannabis Grow Management System
Professional IoT solution for indoor cannabis cultivation with real-time monitoring, automation, and comprehensive plant lifecycle tracking
Key Features
Real-Time Monitoring
Track temperature, humidity, pH, EC, COโ, light intensity, and soil moisture in real-time with ESP32 sensors and MQTT integration.
Learn more โSmart Automation
Automated lighting, watering, dosing, and climate control based on environmental conditions and plant phases.
Learn more โIoT Device Integration
Support for ESP32, ESP8266, Arduino, and Raspberry Pi devices with OTA firmware updates and remote configuration.
Learn more โPlant Lifecycle Tracking
Complete tracking from seed to harvest with 8 distinct phases: germination, seedling, vegetative, flowering, harvesting, drying, curing, and completed. Track phase-specific metrics including height, width, node count, bud sites, trichome color, and pistil color.
Analytics & Reporting
Comprehensive analytics dashboard with charts, statistics, and data export capabilities (CSV, JSON).
Alert System
Real-time alerts and notifications for environmental thresholds, device status, and automation triggers.
Technology Stack
Frontend
- React 18+ (Vite build tool)
- React Query (server state management)
- Chart.js (data visualization)
- Socket.io-client (real-time updates)
- Axios (HTTP client)
- React Router (navigation)
Backend
- Node.js 18+ / Express.js
- MongoDB 6+ / Mongoose ODM
- MQTT (Mosquitto broker)
- Socket.io (WebSocket server)
- JWT (authentication)
- Pino (structured logging)
- node-cron (scheduled tasks)
Infrastructure
- Docker & Docker Compose
- Traefik (reverse proxy)
- Portainer (container management)
- Nginx (static file serving)
- etcd (Traefik configuration)
IoT Hardware
- ESP32 / ESP8266 microcontrollers
- DHT22/DHT11 sensors
- Analog soil moisture sensors
- pH/EC meters (planned)
- COโ sensors (planned)
System Architecture
Scalable, modular architecture designed for reliability and performance.
Data Flow
1. IoT Sensors
ESP32/ESP8266 devices collect environmental data (temperature, humidity, soil moisture) and publish to MQTT broker.
2. MQTT Broker
Mosquitto MQTT broker receives sensor data and routes messages to backend subscribers.
3. Backend Services
MQTT service processes messages, stores data in MongoDB, triggers automation rules, and sends WebSocket updates.
4. Frontend Dashboard
React frontend receives real-time updates via WebSocket, displays data, and allows user interaction.
Service Architecture
API Server
Express.js REST API handling all HTTP requests, authentication, and business logic.
WebSocket Server
Socket.io server providing real-time bidirectional communication for live updates.
MQTT Service
Handles IoT device communication, message routing, and device control commands.
Automation Engine
Rule-based automation system evaluating conditions and executing actions.
Scheduler Service
Cron-based task scheduler for time-based automation and scheduled tasks.
Device Control
Service for controlling IoT devices (lights, pumps, fans) via MQTT commands.
Supported Devices
ESP32 Sensors
Production-ready firmware for ESP32 devices with temperature, humidity, and soil moisture sensing. Features WiFi connectivity, MQTT communication, and OTA updates.
- DHT22/DHT11 support
- Analog soil moisture sensing
- Deep sleep power saving
- Remote configuration
ESP8266 Sensors
Lightweight sensor nodes for cost-effective monitoring solutions with similar capabilities to ESP32.
Automation Controllers
Smart controllers for lights, pumps, fans, and dosing systems with schedule-based and condition-based automation.
Use Cases
Indoor Grow Operations
Complete management for indoor cannabis cultivation with automated environmental control, light scheduling (18/6, 12/12 cycles), automated watering, and nutrient dosing. Perfect for home growers and small-scale operations.
Greenhouse Management
Monitor and control greenhouse environments with distributed sensor networks, automated climate control, and multi-zone management. Track multiple grow areas with centralized monitoring.
Research & Development
Track detailed metrics and phases for cannabis research, breeding programs, and optimization studies. Export data for analysis, track custom metrics, and maintain comprehensive records.
Commercial Cultivation
Scale to multiple grows with inventory management, product tracking, comprehensive reporting, and team collaboration. Manage hundreds of plants across multiple facilities.
Complete Plant Lifecycle Management
Track your cannabis plants through all 8 growth phases with phase-specific environmental targets, metrics, and automation.
๐ฑ Germination
Track seed germination with temperature and humidity monitoring. Optimal conditions: 70-85ยฐF, 70-90% RH.
๐ฟ Seedling
Monitor early growth with light cycle tracking (24/0 or 18/6). Track first leaves and root development.
๐ณ Vegetative
18/6 light cycle, optimal temperature 70-85ยฐF, 40-60% RH. Track height, width, node count, and training techniques.
๐ธ Flowering
12/12 light cycle, temperature 65-80ยฐF, 40-50% RH. Monitor bud development, trichome color, and pistil maturity.
โ๏ธ Harvesting
Record harvest data including yield (wet/dry weight), harvest date, and harvest method. Track trichome maturity (clear, cloudy, amber).
๐จ Drying
Monitor drying conditions: 60-70ยฐF, 45-55% RH. Track drying duration and weight loss. Optimal drying time: 7-14 days.
๐ฏ Curing
Track curing process: 60-65ยฐF, 58-65% RH. Monitor curing duration, burping schedule, and final product quality.
โ Completed
Final phase with complete harvest data, yield statistics, and quality metrics. Archive for future reference and analysis.
Product Marketplace
Comprehensive marketplace with 11 product categories and 200+ products from leading manufacturers.
๐ Grow Tents
Mars Hydro, Vivosun tents in sizes from 2x2 to 5x5 feet
๐ก Grow Lights
25+ LED lights from 45W to 800W (TS, FC, SP series)
๐ฑ Soil & Media
CANNA Terra, Coco Professional, FoxFarm, organic mixes
๐งช Nutrients
CANNA, Advanced Nutrients, General Hydroponics complete lines
๐จ Ventilation
AC Infinity fans, carbon filters, smart controllers
๐ Monitoring
BlueLab pH/EC meters, Apera instruments, thermometers
๐ฟ Seeds
18+ premium strains from Barney's Farm, Royal Queen, FastBuds
๐ชด Containers
Fabric pots, air pots in sizes 1-10 gallons
๐ IoT Devices
WiFi smart plugs, automation controllers, sensors
๐ง Irrigation
Submersible pumps, drip systems, watering timers
๐ง Accessories
Timers, trellis nets, fans, tools, measurement equipment