IEEE 802.15.4 is the technology behind wireless sensor networks (WSNs) and ZigBee. Most of the IEEE 802.15.4 radios operate in the crowded 2.4 GHz frequency band, which is used by many technologies. Since IEEE 802.15.4 is a low power technology, the avoidance of interference is vital to conserve energy and to extend the lifetime of devices. A lightweight classification algorithm is presented to detect the common external sources of interference in the 2.4GHz frequency band, namely, IEEE 802.11-based wireless local area networks (WLANs), Bluetooth, and microwave ovens. This lightweight algorithm uses the energy detection (ED) feature (the feature behind received signal strength indication (RSSI)) of an IEEE 802.15.4-compliant radio. Therefore, it classifies the interferers without demodulation of their signals. As it relies on time patterns instead of spectral features, the algorithm has no need to change the channel. Thus, it allows the radio both to stay connected to the channel and to receive while scanning. Furthermore, it has a maximum runtime of merely one second. The algorithm is extensively tested in a radio frequency anechoic chamber and in real world scenarios. These results are presented here.