add time handler for sensor listener