heatseeknyc / relay

web app for setting up sensors, receiving and storing their data, and viewing it
0 stars 2 forks source link

Base "Last seen x seconds ago" message off of reading time instead of hub time #8

Open hrldcpr opened 8 years ago

hrldcpr commented 8 years ago

Moved from heatseeknyc/firmware#6:

Currently, when setting up cells, the setup page uses the time the relay server receives signals from the hub in determining what to display for the "Last seen x seconds ago" messaging for cells as well as hubs. This means that cells which may have long since been disconnected could show up as last seen a few seconds ago simply because the hub was seen a few seconds ago. To fix this, we need to base the "Last seen x seconds ago" message for the cells off of the timestamp included in the reading.