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

Test Crop - CRITICAL

Stage: Ripening

Planted Nov 15, 2025 · Day 80
Harvest ETA Feb 13, 2026
Go to planner

Suitability verdict

Risky

Onion @ Kapatagan, Lanao del Norte

Onion is not suitable for Kapatagan, Lanao del Norte during January given the current real-time temperature of 32.54°C. Onions thrive best in cooler temperatures, typically between 13°C and 24°C, for optimal bulb formation. Sustained high temperatures above 29°C, such as the observed 32.54°C, are detrimental to onion development, leading to smaller bulbs, poor quality, and an increased risk of premature bolting, significantly reducing potential yields.

Rice Corn Cassava
Updated Jan 20, 2026 | 4:02 AM Run suitability
Field health 100% Rain locks 0 Varieties 1

Live health index

100%

Autonomous care window synced to the latest telemetry.

Status Pulse

Scans orchestrated

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

Metrics refresh whenever n8n stores a new row in agricultural_logs.

Latest field insight

Purple Blotch and Thrips

Command: PESTICIDE • Fluid: Neem Oil

Captured Jan 20, 2026 | 4:01 AM · 14d ago View logbook

Immersive Field Lens

Images courtesy of on-site optics

Disease Mapping

Row 04 · Tomato

Captured by Gemini Vision to fine-tune blight responses.

IoT Spine

Autonomous pump cluster

Real hardware driving nutrient, pesticide, and misting commands.

Canopy Glow

Night scan readiness

Thermal cues ensure optimal spraying windows before dawn.

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

No lifecycle plan yet

Use the AI planner to turn your crop inputs into a day-by-day schedule.

Launch planner

Crop Suitability

Onion @ Kapatagan, Lanao del Norte

Risky window

Onion is not suitable for Kapatagan, Lanao del Norte during January given the current real-time temperature of 32.54°C. Onions thrive best in cooler temperatures, typically between 13°C and 24°C, for optimal bulb formation. Sustained high temperatures above 29°C, such as the observed 32.54°C, are detrimental to onion development, leading to smaller bulbs, poor quality, and an increased risk of premature bolting, significantly reducing potential yields.

Rice Corn Cassava
Logged Jan 20, 2026 | 4:02 AM Run suitability

Live Telemetry

View full logbook →
Plant Diagnosis Command Fluid / Dose Captured
Test Crop - CRITICAL Purple Blotch and Thrips PESTICIDE Neem Oil | 5s Jan 20, 2026 | 4:01 AM
Test Crop - CRITICAL Magnesium Deficiency SLEEP None | 5s Jan 20, 2026 | 3:57 AM
Test Crop - CRITICAL Corn Smut SLEEP None | 5s Jan 20, 2026 | 3:44 AM
Test Crop - CRITICAL Lygus bug infestation SLEEP None | 5s Jan 15, 2026 | 11:51 PM
Test Crop - CRITICAL undefined undefined undefined | N/A Jan 15, 2026 | 11:49 PM
Test Crop - CRITICAL Early Blight (Alternaria solani) PESTICIDE Neem Oil | 5s Jan 10, 2026 | 12:38 PM

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.