Connected sensors and cameras have been used to monitor the number of people admitted into confined spaces and building automation systems were used to control regular ventilation to reduce contagion risks.