Answers
How to get an alert when a Raspberry Pi goes offline
A Pi can't report its own power loss. Something outside has to notice the silence: a heartbeat to a monitoring service, or an agent whose server alerts you.
Asked on Raspberry Pi Forums, June 2020: “Get notification when Pi goes down or loses network connection”
Short answer
A Pi that lost power or network can't send anything, so the alert has to come from outside. The Pi checks in regularly; a server that stops hearing from it for a few minutes emails you or posts to your chat.
The do-it-yourself way: a heartbeat
Services such as healthchecks.io give you a URL and expect a request every few minutes. A cron line on the Pi does it:
*/5 * * * * curl -fsS -m 10 --retry 3 https://hc-ping.com/YOUR-UUID > /dev/null
It tells you the Pi went quiet, not why, and you still need a separate way in to fix it. A second device or a VPS pinging the Pi works too, but only if the Pi has an address you can reach, which a Pi on 4G or behind CGNAT doesn't.
With Fieldhand
The agent's connection is the heartbeat. Fieldhand alerts when a device has been disconnected for more than 10 minutes, and again when it comes back, by email, Slack, Microsoft Teams, Discord, PagerDuty or a signed webhook. Problems on several devices at once arrive in one message.
- The device page shows a 7-day connection bar and why each drop happened.
- Disk above 90% and temperature above 80 °C alert the same way, before they take the Pi down.
- When it's back, the shell is one click away, so the alert and the fix are in the same place.
Setup is the one-line install; channels are in Alerts.
By Abner Souza, who builds Fieldhand. Updated 2026-10-23. Something wrong or out of date? Write to support@fieldhand.dev.
Something wrong or missing on this page? Tell us.