Wall mounted detector with integrated pushbutton and used as a slave device to extend detection range