The Internet of Things (IoT) is a cutting-edge innovation that facilitates the cost-effective development of smart system architectures. Although current regulations necessitate installing an analog fire alarm system, such a system lacks the intelligence to instantly notify the appropriate parties in a timely fashion. In addition, since people are not always present, an analog fire alarm will not be able to prevent immediate danger or damage in the event of a fire. Therefore, the incident must be reported as soon as possible to the appropriate party in order to lessen the impact of a fire. In this study, we suggest a smart fire-alarm system made of a fire sensor and a sound sensor that can both detect fire and noise as well as the status of the analog fire alarm system to ascertain whether the analog fire alarm system is operational. We first tested our proposed smart fire alarm system to determine its effectiveness before putting it into use. From there, we ran experiments to determine how well it worked. The outcomes show that the system is trustworthy in a range of scenarios.