Copy from email:
“I think if you are listening and checking for heartbeat (which you probably do in order to send the offline email), then you can set status of the phone in the DB to 0 when phone goes offline “WENT_OFFLINE”.
Then when next heartbeat happens you can check if the phone previous status was 0 and if it is, trigger the “BACK_ONLINE” event and set the status to 1 in order for the next heartbeat to not trigger this event.
To be honest, WENT_OFFLINE event would be really enough for me in this moment, but it will be really useful to know when the phone comes back online again as well :)”
Looking forward to this. Thank you for your consideration. Cheers
Please authenticate to join the conversation.
Completed
💡 Feature Request
9 months ago
Chris Petrevsky
Get notified by email when there are changes.
Completed
💡 Feature Request
9 months ago
Chris Petrevsky
Get notified by email when there are changes.