In this research, we propose IoT-Based Automatic Hydro-Organic Smart Farming System (AHOSFS) in Greenhouse with Solar Panels for Khok Nong Na, design and development with Internet of Things and solar energy. Data is collected from sensors for the following factors that affect plant growth: humidity, temperature, light, pH, EC, air quality, water temperature, and water level. The Firebase cloud-based application was used to collect all the data, and it enables farmers to monitor and control the system using their smartphones. The results showed AHOSFS can mix water and nutrient solution, which measure pH of 6.61 and EC of 1.23, control water level and mix nutrient solution in appropriate quantities. Green oak can thrive at pH levels between 6.0 and 7.0, EC levels between 1.1 and 1.7, and humidity level between 75 and 85. The sensor measured temperature value between 18 and 25 °C, which was adequate for the growth of green oak. Sensor also measured water temperature between 25 and 28 °C. The comparative value of cultivation in a hydro-organic system deployed between AB solution, organic fertilizer Formula 1 and Formula 2 found that organic fertilizer formula 1 has an effective and approximate AB solution at 81.64%. The fertilizer formula 2 has AB solution at 89.72%, which was more secure at a comparable level.