Send push notifications from a Raspberry Pi

July 14, 2026 · 5 min read

Your Pi watches the temperature, the doorbell, the 3D printer. But how does it tell you? The classic answers, email, Telegram bots, MQTT dashboards, all need accounts, tokens or servers. A Webhooky endpoint needs one HTTPS POST.

The setup, once

  1. Install the Webhooky app (Android / iOS) and create an endpoint, e.g. “Raspberry Pi”.
  2. Copy your endpoint URL, it looks like https://api.webhooky.app/abc123…

That's the whole setup. No API key, no OAuth, no library, the secret is in the URL.

Python: two lines

import requests

requests.post("https://api.webhooky.app/YOUR_KEY", json={
    "title": "🌡️ Greenhouse alert",
    "message": f"Temperature dropped to {temp:.1f} °C",
})

Works with the requests package (pip install requests) on any Pi OS. title and message control what the notification says; add "sound": "buzzer" to pick one of 40 sounds per event.

Bash / cron: a one-liner

curl -X POST "https://api.webhooky.app/YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"✅ Backup finished","message":"nightly rsync completed"}'

Handy in cron jobs or as a failure alarm with the || operator:

0 3 * * * /home/pi/backup.sh || curl -X POST "https://api.webhooky.app/YOUR_KEY" \
  -d '{"title":"🚨 Backup FAILED","sound":"error_1"}'

Ideas from real Pi projects

  • Doorbell / motion sensor: GPIO pin triggers → push with a doorbell sound.
  • 3D printer done: OctoPrint's event hooks can call your endpoint directly.
  • Temperature / humidity: alert when the greenhouse, server closet or terrarium leaves its range.
  • Watchdog: a systemd OnFailure= unit that POSTs when a service dies.

Why not just use email or Telegram?

You can but email is slow and silent, and a Telegram bot means tokens, chat IDs and another app's notification settings. A Webhooky push arrives in about a second, with its own sound per endpoint, and the history of all events lives in the app.

Get Webhooky

100 free notifications every month, set up your endpoint in two minutes.

Get it on Google Play Download on the App Store