The present invention relates to a humidifier for humidifying medical gases, comprising a humidification module including a control unit, wherein the humidification module is adapted for receiving a humidification chamber. Furthermore, the humidification module is further adapted to sense and/or receive information upon connection of the humidification chamber and/or additional equipment such as hoses, power supply pack.