Installing a hard wired ... to replace more than one smoke detector, buy multiples of the same brand and model and replace them all at the same time to prevent any complications. Safety first ...