This smart irrigation system uses a NodeMCU with DHT11 and soil moisture sensors, connected to the ThingSpeak IoT cloud. A Python-based central controller retrieves real-time data, gathers precipitation info via API, and uses a Random Forest ML model to predict optimal soil moisture. It accounts for crop type and day/night conditions (via LDR) to control irrigation efficiently. The system supports remote monitoring and dynamic, data-driven water management for precision farming.