Abstract: Wireless sensor networks (WSNs) are a crucial component of modern information technology and are widely used in applications such as environmental monitoring, smart homes, and healthcare.