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: Germination

Planted Jun 12, 2026 · Day 2
Harvest ETA Sep 10, 2026
Go to planner

Suitability verdict

Risky

Cucumber @ Lala, Lanao del Norte

Cucumber is not ideal for planting in Lala, Lanao del Norte during June. While the current temperature of 29.21°C is within its optimal range and the previous crop (Talong, Solanaceae) does not directly conflict with cucumber (Cucurbitaceae) in terms of crop rotation or shared major pests, June marks the peak of the rainy season in Mindanao. This leads to consistently high humidity, prolonged overcast conditions, and heavy rainfall. Such conditions significantly increase the risk of fungal diseases like downy mildew and powdery mildew, as well as bacterial wilt, which are highly detrimental to cucumber plants. Furthermore, cucumbers require well-drained soil and are highly susceptible to root rot from waterlogging, a common issue during the wet season, making successful cultivation challenging without extensive disease management and drainage systems.

Mung Beans Peanuts Cowpeas
Updated Jun 10, 2026 | 9:12 AM Run suitability
Field health 100% Rain locks 2 Varieties 2

Live health index

100%

Autonomous care window synced to the latest telemetry.

Status Pulse

Scans orchestrated

  • Total logs 4
  • Treatments last 24h 0
  • Unique varieties watched 2

Metrics refresh whenever n8n stores a new row in agricultural_logs.

Latest field insight

Awaiting first scan

Command: WATER • Fluid: None

Captured Jun 13, 2026 | 2:09 PM · 23h 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

Unknown

2.4% of schedule · Germination

Generated Jun 12, 2026 | 12:21 PM Launch planner

Crop Suitability

Cucumber @ Lala, Lanao del Norte

Risky window

Cucumber is not ideal for planting in Lala, Lanao del Norte during June. While the current temperature of 29.21°C is within its optimal range and the previous crop (Talong, Solanaceae) does not directly conflict with cucumber (Cucurbitaceae) in terms of crop rotation or shared major pests, June marks the peak of the rainy season in Mindanao. This leads to consistently high humidity, prolonged overcast conditions, and heavy rainfall. Such conditions significantly increase the risk of fungal diseases like downy mildew and powdery mildew, as well as bacterial wilt, which are highly detrimental to cucumber plants. Furthermore, cucumbers require well-drained soil and are highly susceptible to root rot from waterlogging, a common issue during the wet season, making successful cultivation challenging without extensive disease management and drainage systems.

Mung Beans Peanuts Cowpeas
Logged Jun 10, 2026 | 9:12 AM Run suitability

Live Telemetry

View full logbook →
Plant Diagnosis Command Fluid / Dose Temp / Hum Captured
Talong N/A WATER None | N/A 23.00°C / 50.00% Jun 13, 2026 | 2:09 PM
Watermelon Fungal Leaf Spots PESTICIDE Neem Oil | 5s — / — Jun 12, 2026 | 12:35 PM
Unknown N/A SLEEP None | N/A 0.00°C / 0.00% Jun 12, 2026 | 12:16 PM
Talong Late Blight PESTICIDE Neem Oil | 5s — / — Jun 08, 2026 | 4:28 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.