Smart offices: the indoor conditions the law asks for and how to measure space use
An office has to meet legal ranges for temperature, humidity and fresh air for every person working in it, and with hybrid work almost no company knows how much of its space is actually used. Both questions are answered with the same sensors. This guide sets out what the rules require inside an office, why CO2 per room is the practical way to check ventilation, how to measure occupancy without identifying anyone and how to start on one floor.
What the law requires inside an office
In Spain, Royal Decree 486/1997 sets the workplace ranges: 17 to 27 °C for sedentary work such as an office, relative humidity between 30% and 70% and at least 30 m³ of fresh air per hour per worker. It is enforced by the labour inspectorate, and a complaint from an employee is usually how it reaches one.
The RITE adds the building side. Offices need IDA 2 indoor air, 12.5 litres of outdoor air per second per person, which is more than the workplace minimum. In administrative premises heating may not be set above 21 °C nor cooling below 26 °C, and offices over 1,000 m² must show temperature and humidity on a visible display.
Directive (EU) 2024/1275 goes further: building automation systems in non-residential buildings must monitor indoor environmental quality, and new or deeply renovated buildings need devices that measure and regulate indoor air. Spain has not transposed it yet. In the United States OSHA has no indoor air quality standard, but the employer's general duty to keep the workplace free of recognized hazards applies.
| Rule | Temperature | Humidity | Fresh air |
|---|---|---|---|
| Royal Decree 486/1997 | 17 to 27 °C | 30% to 70% | 30 m³/h per worker |
| RITE, IDA 2 (offices) | Max 21 °C heating, min 26 °C cooling | 30% to 70% | 12.5 l/s per person |
| EPBD 2024/1275 | Standards set by each country | Same | Indoor quality monitored by the BACS |
Why measure CO2 room by room
The rules speak of fresh air per person, which nobody can see. CO2 is how it shows: people breathe it out, and when a meeting room fills up and the ventilation does not keep pace, the level climbs within minutes. The RITE itself uses CO2 as a reference in one of its methods for indoor air categories. Royal Decree 486/1997 sets no CO2 limit, so the reading is evidence of ventilation, not a legal threshold.
A ventilation system designed for the right flow can still miss a room: a damper closed, a partition added, a space used by twice the people it was drawn for. A sensor per room, such as the Milesight AM307 or the AM103, logs CO2, temperature and humidity every few minutes and raises an alert, so the facility team acts before the complaint and the prevention service has a record when one arrives.
Occupancy: how much space is really used
Booking systems show what was reserved, not what was used. Occupancy sensors show the real use of every desk, room and floor by hour and by day of the week, which is the data behind consolidating floors, resizing meeting rooms or deciding the next lease.
The same data also runs the building: ventilation and lighting of empty zones can be lowered, and Directive (EU) 2024/1275 already expects lighting controls with occupancy detection in larger non-residential buildings.
- Desks: Presence sensors under the desk, such as the Milesight VS340, report whether the desk is in use.
- Rooms and floors: People counters such as the VS121 give how many people are in a room or enter a floor.
- No one identified: Measuring occupancy needs counts and presence, not names. Ask any provider what is stored and choose sensors that only send numbers.
Our device library lists the occupancy and air quality sensors with their decoder ready for the platform.
What is already mandatory, what is coming and what banks look at
In Spain the RITE already requires it. Non-residential buildings with more than 290 kW of heating or cooling had to have a building automation and control system by 2025, able to monitor, log and analyse energy use continuously and to detect losses. Installations above 70 kW must meter fuel and electricity separately, and the maintenance company has to keep five years of consumption. Running without the mandatory maintenance contract or without passing inspections is a serious infraction under the Industry Act, with fines of up to 6 million euros.
What is coming is Directive (EU) 2024/1275. It lowers the automation threshold to 70 kW by the end of 2029, adds monitoring of indoor environmental quality, and requires every non-residential building to leave the worst 16% of the national stock by 2030 and the worst 26% by 2033. Spain had to transpose it by 29 May 2026; in November 2026 there are only drafts of the new CTE and RITE under consultation, so the dates are running even though the Spanish text is not published yet.
And where there is no fine, the bank is already looking. Since 12 August 2025 every mortgage valuation in Spain includes the registered energy certificate, and since January 2026 the EBA guidelines ask banks to weigh the energy efficiency of real estate in credit risk and in the valuation of collateral. To count as a green asset under the EU Taxonomy a building needs an A rating or to be in the top 15%, and above 290 kW it must also prove it is operated with energy performance monitoring.
| Rule | Who | When | Type |
|---|---|---|---|
| RITE, automation and control | Non-residential, over 290 kW | Since 2025 | Law (Spain) |
| RITE, metering and 5-year record | Installations over 70 kW | In force | Law (Spain) |
| EPBD, automation and control | Non-residential, over 70 kW | By end of 2029 | EU law, pending in Spain |
| EPBD, minimum standards | All non-residential | 2030 and 2033 | EU law, pending in Spain |
| Certificate in the mortgage valuation | Every mortgaged building | Since August 2025 | Lender |
| EBA guidelines on ESG risks | Banks lending on real estate | Since January 2026 | Lender |
The platform does not certify anything. It provides the continuous measurement, history and alerts these rules ask for and a certificate does not have. Each rule, with its article and official source, is in the regulations section of this page.
How to plan a pilot
- 1. One floor, every room: Air quality in every meeting room and open area, occupancy on desks and rooms. A floor is enough to see patterns.
- 2. Measure a few weeks as it is: The baseline shows which rooms fall short of fresh air, which zones are over or under the legal ranges and how much of the floor is used.
- 3. Set alerts and share the screen: Alerts to facilities when CO2 climbs or a zone leaves its range, and a public display of conditions, which over 1,000 m² the RITE already asks for.
- 4. Decide with data, then extend: Ventilation fixes, room sizes, floors to consolidate. Then copy the same dashboards to the rest of the offices.
What to ask a provider
- Does it combine air quality and occupancy?: Two separate systems mean two installations, two apps and data that never meets.
- Does it work with my BMS and booking tool?: Through an API, a room can be prepared from the calendar and the ventilation can follow real occupancy.
- What personal data does it keep?: For occupancy, none should be needed.
- Does it claim to certify compliance?: No platform does. It provides the measured record; the prevention service, the inspector and the authority decide.
Cloud Studio IoT runs in AWS (Frankfurt for Europe) or on your own servers, and under your brand if you are an integrator or a workplace services company. Tell us about your offices.
















