🌱 Smart Farming Dashboard

SIMULATED SENSORS — demo data
updating every 2s · seeded random walk
Soil moisture
— %
Air temperature
— °C
Humidity
— %
Last update
—

Soil moisture % — last 24h (rolling)

Air temp °C — last 24h (rolling)

Humidity % — last 24h (rolling)

Recommendation engine — rules (visible)

💧 IRRIGATE — soil moisture < 30%
Rule: if soil_moisture < 30 → recommend irrigation now.
—
🦠 DISEASE RISK — humidity > 80% AND temp 20–30°C
Rule: if humidity > 80 AND 20 ≤ temp ≤ 30 → warn: fungal disease risk high.
—
❄ FROST WARNING — temp < 4°C
Rule: if temp < 4 → warn: frost risk, protect crops.
—
✅ ALL CLEAR
No rule triggered → conditions normal.
—

Event log

Simulation model: every 2 seconds a seeded PRNG (mulberry32, seed shown in console) advances a random walk: soil moisture drifts ±1.5% (decay −0.15%/tick, rain adds +25% once), air temp follows a 24h sine curve ±2.5°C around 24°C plus ±0.4°C noise, humidity anti-correlates with temp plus ±1% noise. The 24h charts are back-filled with the same model at 5-minute steps so they show a full day on first load. Charts, cards, rules, and log are all driven by this synthetic stream — no real sensors.