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: Vegetative Growth

Planted Jun 12, 2026 · Day 36
Harvest ETA Aug 26, 2026
Go to planner

Suitability verdict

Awaiting AI verdict

Run the suitability workflow to pull real-time advisories.

No consultation cache entries yet. Run suitability
Field health 100% Rain locks 122 Varieties 1

Live health index

100%

Autonomous care window synced to the latest telemetry.

Status Pulse

Scans orchestrated

  • Total logs 268
  • 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 Jul 17, 2026 | 1:02 PM · 18h 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

48.0% of schedule · Vegetative Growth

Generated Jun 15, 2026 | 5:49 AM Launch planner

Crop Suitability

Awaiting first verdict

Submit a plant + location and Gemini + OpenWeather will return the viability score here.

Run suitability

Live Telemetry

View full logbook →
Plant Diagnosis Command Fluid / Dose Temp / Hum Captured
Talong N/A SLEEP None | N/A 28.40°C / 81.40% Jul 17, 2026 | 1:02 PM
Talong Healthy SLEEP None | N/A — / — Jul 17, 2026 | 7:01 AM
Talong N/A SLEEP None | N/A 31.10°C / 77.20% Jul 17, 2026 | 1:11 AM
Talong N/A SLEEP None | N/A 30.80°C / 77.50% Jul 17, 2026 | 1:05 AM
Talong N/A SLEEP None | N/A 30.70°C / 78.90% Jul 17, 2026 | 1:01 AM
Talong N/A SLEEP None | N/A 30.60°C / 79.20% Jul 17, 2026 | 12:57 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.