andrewdavidmackenzie / pingr

A wifi monitoring tool
MIT License
6 stars 0 forks source link

Add timestamps to events, and store with them. #54

Closed andrewdavidmackenzie closed 8 months ago

andrewdavidmackenzie commented 8 months ago

This will allow to know (for example) how long ago a device/ssid went offline for display on UI, and with a time in email.

Also, over time, could be used to calculate some downtime statistics.

andrewdavidmackenzie commented 8 months ago

Added timestamp to the StateChange event and processed by worker from queue. Now need to add them to the status entry in field, showing when the device entered that state