Smart sensors for efficient machine communication