Haseel automates greenhouse farming with IoT precision. Our system monitors temperature, humidity, soil moisture, and nutrients in real-time, while intelligently controlling cooling, irrigation, and ventilation. Set your ideal thresholds once, and let SmartFarm maintain perfect growing conditions automatically - or take manual control anytime from our mobile-friendly dashboard. Grow smarter with 24/7 precision care for your plants.
1- ThingSpeak Integration:
const thingSpeakAPIKey = 'Your ThingSpeak API Key';
const channelID = 'Your Channel ID';
2- Data Fetching from ThingSpeak:
function getRealTimeData(realTimeData, field) {
var url = "https://api.thingspeak.com/channels/" + channelID + "/fields/" + field + "/last.json";
$.getJSON(url, function (data) {
var value = data["field" + field];
if (value < 1000) {
$(realTimeData).text(value);
}
});
}
Monitor real-time sensor data and explore historical data with graphs.
Manually adjust toggle switches or set threshold values to configure automation rules.
Enable/disable automation features and configure system preferences.
- Replace channelID and API keys with environment variables.
- Enable Firebase Email/Password auth with authorisation.
- Set up ThingSpeak rate limiting (15 sec/update free tier).
Area | Constraint | Improvement Path |
---|---|---|
Authentication | Basic Firebase (No RBAC) | Implement role-based access |
Responsiveness | Optimized for mobile only | Tablet/desktop layouts |
Data Pipeline | ThingSpeak free tier limits | Migrate to AWS IoT/Azure |
- Applying better mechanism for accessing APIs and storing keys.
- Improving the automation mechanism by creating a database that stores thresholds of the measured factors for all kinds of plant.
- Applying visual monitoring by adding cameras at the farm.
- Implmenting ML model for detecting plant diseases.