An interactive lowcost smart device to detect Smoke Fire Gas in residential buildings to avoid disasters related to fire and gas incidents