← All projects

Pushover Notifications

Alerts that actually reach the phone

One shared script for homelab alerts: Pushover first, Home Assistant as fallback, one notification per event.

Scheduled jobs call one shared notification script instead of implementing their own alerting. It sends a title, message, priority and an optional link through the Pushover API; if Pushover fails or is not configured, the same alert goes out through the Home Assistant mobile app, so one event produces one phone notification rather than two.

The script is a short shell wrapper around curl and jq. Emergency-priority alerts repeat until acknowledged and expire on their own, callers suppress repeat failures while an issue is unresolved, and the exit status separates delivered, partially delivered and failed.

ShellPushover APIHome Assistantcurljq