Smart sensor networks