Photoelectric smoke alarm installed to detect fire