Development of Smart Fire Extinguishing