Come configurare un sensore.