This article analyzes the latest technologies used in IoT-based smart agriculture and homes. It first summarizes previ- ous research and introduces new IoT innovations for agriculture, such as drones, wireless technologies.This paper discusses the use of IoT devices in modern agricultural practices, commonly referred to as smart agriculture. With the help of these devices, farmers can monitor and control various aspects of their farms remotely, resulting in better crop yields and reduced costs. The paper provides an overview of the technologies involved in smart agriculture, including sensors, drones, and data analytics. It also explores various applications of IoT devices in agriculture, such as precision farming, livestock management, and environmental monitoring. Furthermore, the paper highlights some of the challenges that must be addressed when implementing IoT-based agriculture, such as cost, infrastructure, and data privacy. Finally, the paper concludes with a discussion of the potential benefits and future directions of smart agriculture. It also categorizes IoT applications for smart agriculture into seven categories, including smart monitoring, disease control, and supply chain management. The article also compares blockchain- based supply chain management strategies for agricultural IoTs. The technologies mentioned are used in functional prototypes that demonstrate their excellent performance in smart agriculture. Lastly, the article discusses potential future research directions and unresolved issues.