<% layout("/en/layout") %> <%~ include("/en/partials/topbar") %> <% const tickIcon = ` ` %> <% const xIcon = ` ` %> <% const tempIcon = ` ` %> <% const pressureIcon = ` ` %> <% const humidityIcon = ` ` %> <% const altitudeIcon = ` ` %>
<% /*

High temperature was detcted!

High pressure was detcted!

High humidity was detcted!

*/ %>

indoor

<%~ tempIcon %> <%= it.data?.[0]?.indoorTemp / 100 %> °C

<%~ pressureIcon %> <%= it.data?.[0]?.indoorPressure / 100 %> hPa

<%~ humidityIcon %> <%= it.data?.[0]?.indoorHumidity / 100 %> %

<%~ altitudeIcon %> <%= it.data?.[0]?.indoorAltitude / 100 %> m

outdoor

<%~ it.data?.[0]?.outdoorConnected ? tickIcon : xIcon %> <%= it.data?.[0]?.outdoorConnected ? `connected` : `disconnected` %>

<%~ tempIcon %> <%= it.data?.[0]?.outdoorTemp / 100 %> °C

<%~ pressureIcon %> <%= it.data?.[0]?.outdoorPressure / 100 %> hPa

<%~ humidityIcon %> <%= it.data?.[0]?.outdoorHumidity / 100 %> %

<%~ altitudeIcon %> <%= it.data?.[0]?.outdoorAltitude / 100 %> m