Occidental Mindoro onion training field — PIA

Capstone · Sprague & Carlson DSS

Built for
onion farmers

A decision support system combining weather, AI, and field management — mobile-first, designed with and for Occidental Mindoro.

Flutter app + Next.js admin · MapLibre · No weather API key needed

Mindoro lowland field
AgriSmart

Field · Sablayan

Auto stage from planting date

One cycle, two surfaces.

Mobile — Flutter

Onboarding

Size, irrigation, variety, planting & sowing dates, geolocation.

Field management

Multiple fields, edit & delete, DAP auto stage.

Home

Live weather, alerts, articles, 5-day forecast.

Local

English & Tagalog + dark mode.

Auth

Email, Google, OTP, guest · profile & photo.

Alerts

Push for heavy rain, wind, heat, humidity.

Admin — Next.js

Dashboard

Growth chart & fields by variety.

Users

Search, roles, pending approvals.

Guides

Publish farming articles.

Alerts

Global toggles & deletes.

Weather

Province forecast + advisory.

Farms

All fields with stage & progress.

How it’s built

Turban — knowledge base separate from inference.

Data

Firestore (farms, alerts, articles) · Open-Meteo · SharedPreferences offline cache

Model

Rule engine for alerts · Groq LLM · On-device inference

Interface

Flutter app · Next.js admin · Tailwind · Recharts · MapLibre

Growth stages — auto from planting date

0–14 DAP

Germination

Seed sprouts

15–30 DAP

Seedling

First leaves

31–60 DAP

Vegetative

Rapid leaf growth

61–90 DAP

Bulbing

Bulb swells

91–110 DAP

Maturation

Neck softens

111+ DAP

Ready

Harvest

Weather intelligence

Thresholds live here only — not repeated elsewhere.

Heavy rain> 10 mm
Strong wind> 60 km/h
Extreme heat> 38 °C
High humidity> 85 %
Drought risk0 mm + < 40 %

Maya

Onion-aware, offline-capable

Maya is exclusive to this card — model names appear nowhere else. Auto-switch with manual force-offline for low-connectivity sitios.

Online

LLaMA 3.3 70B

GROQ API

Offline

Qwen2.5 0.5B

GGUF on-device

Onion fields — Occidental Mindoro — PIA
Apo Reef → Mina de Oro

Occidental Mindoro

The market story, in one place.

Numbers on this page appear only here — nowhere else — to keep the story decluttered.

National output · 2024

264,324 MT +4.5%

PSA Crops Survey

Planted area

5,715 → 7,569 ha

2021 → 2022 · doubled after high earnings

Sablayan growth

321 → 521 ha

244 → 359 farmers · 3,210 MT · +64% (2023→2024)

Potential & price

7,000 ha · ₱40–45/kg

MAO expansion · farmgate stabilized Mar 2026

Value chain unlocked

PRDP cold storages — 2× 2,800 MT (100k bags) in Magsaysay (Genaro MPC) & San Jose (Watchers MPC) at ₱125M each, plus ₱200k assistance & GAP training — monitored in Bulalacao.

Sources: PIA MIMAROPA, DA-MIMAROPA, PSA.

Red CreoleYellow GranexSablayan · Bulalacao · Magsaysay · San Jose
Furrows like the icon

Icon’s furrows, real fields

Irrigated lowland after rice

Lowland after rice

Onboarding

Front page → portal → app/admin

Choose End User (APK) or Admin (login) at /portal.

Go to portal

Grow smarter, together.

For Sablayan, Magsaysay, and San Jose.