A mushroom production process comprising the steps of: preparing a mushroom growing shed (3) with at least one bed of mushroom compost; supply heat to the mushroom growing shed (3); collect mushrooms; remove the spent mushroom compost from the mushroom growing shed (3); perform the combustion of spent mushroom compost in an energy conversion system (29); take advantage of the heat generated by the combustion of spent mushroom compost; and use the heat used to control the temperature of the mushroom growth shed (3); characterized in that the combustion stage of spent mushroom compost comprises combustion of spent mushroom compost in a fluidized bed unit (37); and, the fluidized bed unit (37) comprises a plurality of temperature sensors that are arranged in the fluidized bed unit (37) to closely monitor the temperature of the fluidized bed in the fluidized bed unit (37); such that, if the temperature of the fluidized bed deviates from the desired values or ranges, a corrective action is taken; whereby, if the temperature of the fluidized bed falls, the process comprises the steps of increasing the amount of fuel delivered to the fluidized bed unit (37), and, if the fuel delivered to the fluidized bed unit (37) has a relatively high moisture content such that the fuel cannot immediately cause the temperature of the fluidized bed to rise, then an auxiliary burner is activated so that it acts in the fluidized bed to increase the temperature of the fluidized bed in the fluidized bed unit (37).Un proceso de producción de setas que comprende las etapas de: preparar un cobertizo (3) de crecimiento de setas con por lo menos un lecho de compost de setas; suministrar calor al cobertizo (3) de crecimiento de setas; recolectar las setas; retirar el compost de setas gastado del cobertizo (3) de crecimiento de setas; realizar la combustión del compost de setas gastado en una sistema de conversión de energía (29); aprovechar el calor generado por la combustión del compost de setas g