<p>I was surprised by the OP’s rather impassioned, specific request… can’t help but agree with JHS.</p>
<p>Anyway, I did a bit of digging, and came up with this:
[url=<a href=“http://www.codigotecnico.org/web/recursos/documentos/dbsi/si4/010.html]CTE[/url”>http://www.codigotecnico.org/web/recursos/documentos/dbsi/si4/010.html]CTE[/url</a>]</p>
<p>It basically says, if I’m not mistaken, that viviendas must have smoke detectors if the evacuation height is >50m, and buildings that are *residencial público<a href=“which%20to%20me%20sounds%20like%20hotels,%20hostels,%20etc.”>/i</a> must have smoke detectors if the constructed floor area exceeds 500 sq m. An apartment building is probably classified as a vivienda.</p>