Cabinet to house automation and control gear for automated gates and automated bollards or retractable bollards