flowfuse icon indicating copy to clipboard operation
flowfuse copied to clipboard

Blueprint: Device offline notifications

Open ntvandehey opened this issue 1 year ago • 6 comments

Description

Provide notifications to select emails/ phone numbers when a device goes offline for a given amount or time. Maybe allow for disabling notifications while in developer mode.

Maybe the same could apply to cloud instances, but those just stay running, right?

This would have come in handy when a computer was unknowingly unplugged forcing me to lose data.

Which customers would this be available to

Team + Enterprise Tiers (EE)

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

ntvandehey avatar May 16 '24 05:05 ntvandehey

Maybe the same could apply to cloud instances, but those just stay running, right?

They are constantly running, correct, we do already have e-mail alerts in place when an instance crashes, so we should be able to extend this infrastructure here? @knolleary thoughts?

joepavitt avatar May 21 '24 09:05 joepavitt

This would also tie with #277 infrastructure changes too

joepavitt avatar May 22 '24 10:05 joepavitt

Given what we have in place for observability already, it seems sensible to extend email notifications for remote instances as well. I imagine: an instance in developer mode disables all alert notifications, otherwise, alert via email and notifications hub when a device goes offline.

gstout52 avatar Aug 12 '25 20:08 gstout52

@hardillb what APIs/live data streams do we have that we could feed into for this? Toying with the idea that this is in fact a Blueprint instead, user can then choose from any integration where this gets sent to, rather than hardcoded into FF Platform as a feature and risk potential spam.

joepavitt avatar Aug 20 '25 14:08 joepavitt

@joepavitt the only API we have is the device information returned by something like /api/v1/teams/:teamId/devices or /api/v1/applications/:appicationId/devices which includes a last seen timestamp.

The timestamps are set from the heatbeat messages that can be sent via HTTP to the forge app or via MQTT (The customer CAN NOT subscribe to this MQTT topic)

hardillb avatar Aug 20 '25 16:08 hardillb

Following up from discussion with @joepavitt , I'm open to this being a Blueprint.

gstout52 avatar Aug 20 '25 18:08 gstout52