Summary
Wireless sensor networks (WSNs) are one of the nonnegligible ingredients in any Internet of Things (IoT)‐based system. Fault tolerance in the IoT‐enabled WSNs is an essential part of avoiding harmful actions. Many approaches are reported in the literature on fault detection and fault tolerance for WSNs. However, they either consume additional energy to identify and tolerate failures or use extra hardware and software resources. This paper proposes an intelligent fault tolerance routing scheme for IoT‐enabled WSNs that significantly improves the QoS of the IoT‐enabled WSNs. We propose a novel two‐population z‐test‐based fault detection mechanism to detect faulty nodes in the networks. Furthermore, an intelligent routing scheme is proposed that reuses different partially faulty nodes to tolerate faults within the network. An extensive experiment on the proposed intelligent fault tolerance routing scheme is performed to demonstrate the efficiency of the proposed scheme. Experiment results are compared with the state‐of‐the‐art algorithms to show the effectiveness of the proposed scheme in terms of false‐positive rate, false alarm rate, fault detection accuracy, energy consumption, fault detection accuracy, and network lifetime.