Using a leaky bucket counter as an advanced threshold mechanism for event detection in wireless sensor networks | IEEE Conference Publication | IEEE Xplore