The project presents automation for controlling the ventilation systems of the garage. The designed automation enables monitoring of the concentration of CO or eventual occurrence of fire and according to that it swithes on ventilation in the appropriate mode of operation. The project also provides occasional ventilation of the garage according to a certain algorithm, based on the use of a programmable relay. The project has been realized within several objects: