Greenhouse climate control is a complex task due to nonlinear interactions between environmental variables, crop growth, and energy management. Although data-driven and model-based approaches have been explored, many studies remain limited to simulations or rely on simplified models that struggle to represent real greenhouse dynamics. This study proposes a Digital Twin (DT) framework for autonomous greenhouse climate control that integrates Internet of Things (IoT) sensing, hybrid modeling, online learning, and Deep Reinforcement Learning (DRL).A mini-greenhouse equipped with sensors and actuators was developed to establish real-time synchronization between the physical system and its virtual counterpart. The virtual environment combines the physics-based GreenLight greenhouse model with data-driven Deep Neural Network (DNN) predictions, while a Long Short-Term Memory (LSTM) model dynamically balances both components through online learning. A Proximal Policy Optimization (PPO) agent is trained within the DT to control ventilation, lighting, and heating for maintaining optimal crop conditions while reducing energy use.Experimental results using real data from the mini-greenhouse demonstrate that the proposed online learning mechanism substantially improves prediction accuracy, reducing humidity RRMSE from 21.4% to 6.46% and CO2 prediction error from 317.34% to 1.28%. The DRL-based controller achieves up to 40% higher cumulative rewards compared with common scheduled control strategies. These results highlight the potential of DT systems for enabling adaptive, data-driven, and autonomous greenhouse management in real-world agricultural environments.