In the context of the Internet of Things (IoT) in smart grid architecture, sensors play a crucial role in gathering real-time data from various components of the grid infrastructure.