Actuation by presence of smoke or gases automatic alarm devices for analysing flowing fluid materials by the use of optical means