An air freshener and automated unblocking device to be arranged in a plumbing trap for a basins or similar, the plumbing trap comprising a pipe, a siphon, a connecting piece and a valve of the basin, wherein the connecting piece is connected to the valve of the basin and located between the valve of the basin and the siphon, the air freshener and automated unblocking device comprising a receptacle consisting of:. a compartment for products, comprising an unblocker compartment with an unblocker tank for an unblocker product,. a discharge medium compartment housing an unblocker discharge medium compartment with an unblocker discharge pump for automatic dosing of the unblocker product,. and an electronic compartment with a programmable microchip for controlling and commanding the unblocker discharge pump; the air freshener and automated unblocking device further comprising an unblocking duct and a nozzle for ejecting the unblocker product to the water pipe; wherein, in use, the unblocker discharge pump drives the unblocker product from the unblocker tank through the unblocking duct to the nozzle being placed, in use, in the connecting piece; characterised in that the compartment for products further comprises an air freshener tank; and in that the discharge medium compartment further houses an air freshener discharge medium compartment with an air freshener discharge pump and an air compressor; wherein the air freshener and automated unblocking device further comprises an air duct connected to the air freshener discharge pump, another air duct connected to the air compressor, a cavity where both ducts (21,22) end and a nebuliser; wherein the programmable microchip is configured for controlling and commanding the air freshener discharge pump and the air compressor; and wherein, in use, a mixture of air from the air compressor and air freshener from the air freshener discharge pump is produced in the cavity and expelled in the form of a mist by the nebuliser connected to the cavity, the nebuliser, in use, being inserted in the connecting piece. the air freshener and automated unblocking device comprising a receptacle consisting of:. a compartment for products, comprising an unblocker compartment with an unblocker tank for an unblocker product,. a discharge medium compartment housing an unblocker discharge medium compartment with an unblocker discharge pump for automatic dosing of the unblocker product,. and an electronic compartment with a programmable microchip for controlling and commanding the unblocker discharge pump;. a compartment for products, comprising an unblocker compartment with an unblocker tank for an unblocker product,. a discharge medium compartment housing an unblocker discharge medium compartment with an unblocker discharge pump for automatic dosing of the unblocker product,. and an electronic compartment with a programmable microchip for controlling and commanding the unblocker discharge pump; the air freshener and automated unblocking device further comprising an unblocking duct and a nozzle for ejecting the unblocker product to the water pipe; wherein, in use, the unblocker discharge pump drives the unblocker product from the unblocker tank through the unblocking duct to the nozzle being placed, in use, in the connecting piece; characterised in that the compartment for products further comprises an air freshener tank; and in that the discharge medium compartment further houses an air freshener discharge medium compartment with an air freshener discharge pump and an air compressor; wherein the air freshener and automated unblocking device further comprises an air duct connected to the air freshener discharge pump, another air duct connected to the air compressor, a cavity where both ducts (21,22) end and a nebuliser; wherein the programmable microchip is configured for controlling and commanding the air freshener discharge pump and the air compressor; and wherein, in use, a mixture of air from the air compressor and air freshener from the air freshener discharge pump is produced in the cavity and expelled in the form of a mist by the nebuliser connected to the cavity, the nebuliser, in use, being inserted in the connecting piece.