In WSNs network congestion frequently appears in parts of the system and, as it has a vast effect on performance, special care should be taken to alleviate its influence, by developing specific methods. We designed and implemented an innovative congestion avoidance method and performed extensive simulations using the Contiki OS and the Cooja network simulator.