Smoke alarm comprising at least one internal chamber, which chamber has at least one opening towards the surroundings, such that air may pass through the chamber, and where means are provided for emitting light and means for detecting said light is provided in or around said chamber, where the change in light intensity registered by the means generates a smoke alarm.