In buildings or structures occupied in whole or in part for residential purposes and not regulated by MGL, c. 148, § 26A, and §§
183-7 and
183-8 of this article shall, by January 1, 1985, be equipped with an approved monitored battery power smoke detector or an approved primary power smoke detector. For buildings or structures occupied in whole or in part for residential purposes and containing a maximum of two dwelling units, either an approved monitored battery power smoke detector or an approved primary power smoke detector shall be installed on each level of habitation and on the basement level; provided, however, that the head of the Fire Department shall allow the installation of approved monitored battery power smoke detectors. Such approved monitored battery power smoke detector or approved primary power smoke detector shall be installed in the following manner: an approved monitored battery power smoke detector or an approved primary power smoke detector shall be installed on the ceiling of each stairway leading to the floor above, near the base of but not within each stairway, and an approved monitored battery power smoke detector or an approved primary smoke detector shall be installed outside of each separate sleeping area. For buildings or structures occupied in whole or in part for residential purposes and containing not less than three nor more than five dwelling units, either an approved monitored battery power smoke detector or an approved primary power smoke detector shall be installed in each dwelling unit outside each separate sleeping area; provided, however, that the head of the Fire Department shall allow the installation of approved monitored battery power smoke detectors; and provided, further, that in all common hallways of residential buildings or structures a series of interconnected approved primary power smoke detectors shall be installed. The head of the Fire Department shall enforce the provisions of this section.