<% var page = 'devices'; %> <% include head %>
<% include header %>
Device
Uptime
FW
VDC
 
Battery
alerts
Sensor status

<% var hh = "" %> <% for (key in Hubs) { %> <% hh = Hubs[key].hub %>
<%= key %>
<%= Hubs[key].uptime %>
<%= Hubs[key].firmware %>
<% for (dev in Hubs[key].devices) { %>
<%= dev %>
<%= Hubs[key].devices[dev].uptime %>
<%= Hubs[key].devices[dev].firmware %>
<%= Hubs[key].devices[dev].voltage.toFixed(2) %>
<% if (dev.substring(0, 2) == 'AR') { %>
<%=Hubs[key].devices[dev].sensor['t']%> <%=Hubs[key].devices[dev].sensor['1']%> <%=Hubs[key].devices[dev].sensor['8']%> <%=Hubs[key].devices[dev].sensor['16']%> <%=Hubs[key].devices[dev].sensor['32']%>
<% } else if (dev.substring(0, 2) == 'SK') { %>
<%=Hubs[key].devices[dev].sensor['t']%> <%=Hubs[key].devices[dev].sensor['64']%> <%=Hubs[key].devices[dev].sensor['128']%> <%=Hubs[key].devices[dev].sensor['256']%>
<% } %>
<% } %>
<% } %> Air Sensors: Total, Lightning, Pressure, Teperature, Humidity
Sky Sensors: Total, Wind, Precip, Light/UV