This document presents a low-cost system for automatically monitoring and controlling the environment inside a greenhouse using IoT technology. The system uses sensors to monitor parameters like light intensity, temperature, humidity, and soil moisture and sends this data to a microcontroller connected to the cloud. When sensor readings exceed predefined thresholds, control actions are taken to adjust devices like lights, fans, water sprayers, and pumps using relays. This creates a closed-loop system that monitors conditions in real-time and makes adjustments to maintain optimal growing conditions without human intervention, improving efficiency and crop yields.