The integration of Internet of Things (IoT) technology into agriculture has revolutionized farming practices by using connected devices and sensors to optimize processes and facilitate sustainable execution. Because most IoT devices have limited resources, the vital requirement to efficiently manage data traffic while ensuring data security in agricultural IoT solutions creates several challenges. Therefore, it is important to study the data amount that IoT protocols generate for resource-constrained devices, as it has a direct impact on the device performance and overall usability of the IoT solution. In this paper, we present a comprehensive study that focuses on optimizing data transmission in agricultural IoT solutions with the use of compression algorithms and secure technologies. Through experimentation and analysis, we evaluate different approaches to minimize data traffic while protecting sensitive agricultural data. Our results highlight the effectiveness of compression algorithms, especially Huffman coding, in reducing data size and optimizing resource usage. In addition, the integration of encryption techniques, such as AES, provides the security of the transmitted data without incurring significant overhead. By assessing different communication scenarios, we identify the most efficient approach, a combination of Huffman encoding and AES encryption, to strike a balance between data security and transmission efficiency.
The Internet of Things (IoT) has evolved into the Artificial Intelligence of Things (AIoT), where intelligent data processing complements large-scale connectivity across applications ranging from smart homes to industrial automation. However, its rapid expansion and the increasing adoption of AI have led to growing environmental concerns, particularly increased energy consumption and electronic waste. These issues highlight the importance of Green AIoT practices, which extend Green IoT by combining energy-efficient communication, computing, and intelligent resource management to achieve energy-efficient and sustainable AIoT operation. This paper presents a comprehensive survey of techniques aimed at improving the energy efficiency and sustainability of Green AIoT systems. The focus is placed on networking aspects, particularly machine-to-machine (M2M) communications and wireless sensor networks (WSNs), alongside the roles of computing infrastructures, data centers, and energy-efficient processor architectures. The survey further examines how AI-assisted techniques, including TinyML, edge AI, and intelligent computation offloading, complement traditional Green IoT mechanisms to reduce energy consumption. Key approaches such as low-power communication protocols, energy-efficient data processing, data compression, smart energy management, and energy harvesting are reviewed and compared. Furthermore, the paper summarizes representative state-of-the-art solutions with quantitative insights and discusses open challenges and future research directions toward environmentally sustainable AIoT systems.