Sensor networks and data streams: Basics