AI-Powered IoT Agronomy

Spade AgriOS keeps every plot self-healing.

Computer vision, artificial intelligence, and autonomous pumps converge so each plant is inspected, diagnosed, and treated without waiting on manual patrols.

Plant canopy chip

Gemini Vision

Tomato Canopy
IoT relay chip

IoT Relay

North Node

Active Crop

Talong

Stage: Ripening

Planted Mar 16, 2026 · Day 78
Harvest ETA Jun 09, 2026
Go to planner

Suitability verdict

Risky

Cucumber @ Kapatagan, Lanao del Norte

Cultivating cucumber in Kapatagan, Lanao del Norte during May presents significant challenges. The current temperature of 31.87°C is at the higher end of cucumber's optimal growth range, potentially causing heat stress, reduced fruit set, and decreased yield. May typically marks the onset of the wet season in Mindanao, bringing increasing rainfall and high humidity. While current conditions show light rain, the likelihood of heavier, more frequent downpours and persistent high humidity during the month significantly increases the risk of fungal diseases like downy mildew and powdery mildew, as well as bacterial blights, which can severely impact plant health and productivity. Excessive moisture can also lead to flower abortion and poor pollination.

Taro Kangkong Sweet Potato
Updated May 22, 2026 | 6:55 AM Run suitability
Field health 100% Rain locks 10 Varieties 1

Live health index

100%

Autonomous care window synced to the latest telemetry.

Status Pulse

Scans orchestrated

  • Total logs 33
  • Treatments last 24h 0
  • Unique varieties watched 1

Metrics refresh whenever n8n stores a new row in agricultural_logs.

Latest field insight

Awaiting first scan

Command: SLEEP • Fluid: None

Captured May 19, 2026 | 4:37 AM · 14d ago View logbook

Immersive Field Lens

Images courtesy of on-site optics

Precision Diagnostics

Early Stress Detection

AI-driven visual analysis to instantly identify and address crop health anomalies.

IoT Spine

Autonomous pump cluster

Real hardware driving nutrient, pesticide, and misting.

Canopy Health

Vitality analysis

Visual spot checks ensure continuous crop health and growth tracking.

System Architecture

Perception → Intelligence → Action
Layer 1
Node A - Field Unit

ESP32-CAM, soil sensors, dual relays, diaphragm pump, LM2596 regulator, solar + 12V lead-acid battery bank.

Layer 2
Node B - n8n Brain

Receives webhook payloads, orchestrates Gemini vision prompts, enforces logic gates, and issues actuator commands.

Layer 3
Node C - Gemini AI

Vision models diagnose leaf images and respond with JSON containing disease label, confidence, and treatment_needed flag.

Layer 4
Node D - MySQL Ledger

Hostinger-managed database storing agricultural_logs for traceability, reporting, and dashboard analytics.

Layer 5
Node E - OneSignal Cloud

Push notifications to Android devices plus service worker fallback via OneSignalSDKWorker.js.

Layer 6
User Layer - Farmer App

Material Dashboard UI that visualizes telemetry, acknowledges alerts, and issues manual overrides.

Autonomous Workflow

1. Capture

ESP32-CAM wakes on schedule, captures the target canopy, and posts multipart data to the n8n webhook.

2. Diagnose

n8n uploads imagery to Gemini with structured prompt, returning JSON with diagnosis, confidence, and treatment flag.

3. Decide

Logic node evaluates treatment_needed plus rain, battery, and soil thresholds before issuing the `ai_command`.

4. Execute

Bridge responds to the field unit with command payloads ({"command":"PESTICIDE","duration":5}). Relays drive the pump.

5. Notify

Simultaneous OneSignal REST call posts alerts to all subscribed Android devices, even if the app is closed.

6. Log

Every decision writes to `agricultural_logs` for traceability, dashboards, and future ML fine-tuning.

Crop Ops Intelligence

Lifecycle planning + Suitability insights

Lifecycle Planner

Talong

91.8% of schedule · Ripening

Generated Mar 16, 2026 | 8:02 AM Launch planner

Crop Suitability

Cucumber @ Kapatagan, Lanao del Norte

Risky window

Cultivating cucumber in Kapatagan, Lanao del Norte during May presents significant challenges. The current temperature of 31.87°C is at the higher end of cucumber's optimal growth range, potentially causing heat stress, reduced fruit set, and decreased yield. May typically marks the onset of the wet season in Mindanao, bringing increasing rainfall and high humidity. While current conditions show light rain, the likelihood of heavier, more frequent downpours and persistent high humidity during the month significantly increases the risk of fungal diseases like downy mildew and powdery mildew, as well as bacterial blights, which can severely impact plant health and productivity. Excessive moisture can also lead to flower abortion and poor pollination.

Taro Kangkong Sweet Potato
Logged May 22, 2026 | 6:55 AM Run suitability

Live Telemetry

View full logbook →
Plant Diagnosis Command Fluid / Dose Temp / Hum Captured
Talong N/A SLEEP None | N/A 30.00°C / 60.00% May 19, 2026 | 4:37 AM
Talong N/A SLEEP None | N/A 30.00°C / 60.00% May 19, 2026 | 4:36 AM
Talong N/A WATER Water | 30s 27.00°C / 52.70% Apr 29, 2026 | 6:38 AM
Talong N/A SLEEP None | N/A 27.00°C / 51.70% Apr 29, 2026 | 6:36 AM
Talong Healthy SLEEP None | N/A — / — Apr 29, 2026 | 6:28 AM
Talong Healthy SLEEP None | N/A — / — Apr 29, 2026 | 6:20 AM

Ready to sync Spade AgriOS with your field?

Deploy the ESP32 firmware, point it to the n8n webhook, and this dashboard will reflect your crops within minutes.