Integrations

Ready-made settings: alerts from monitoring, smart home and your scripts reach subscribers on iPhone, in the browser and in Telegram.

Before you start

  1. In the dashboard, create a device such as “Monitoring” and copy its key dev_…. A separate device per system lets subscribers choose sources.
  2. Subscribe to the device yourself: Invitations tab → link or QR code.
  3. Set the system up as described below and send a test notification.

For Grafana, Alertmanager and Uptime Kuma pushme accepts their native format at https://put.pushme.tech/v1/hook/<system>:

Webhook URL parameters:

ParameterEffect
path=infra/prodReplaces the first part of the branch: infra/prod/highcpu.
priority=criticalPriority for problems instead of the computed one.
ack=1A problem needs a “Got it” and repeats until acknowledged. With it: repeat, escalate, resolve (seconds).
unit=%C2%B0CUnit of the reading (Grafana sends the value itself). Non-ASCII characters in the URL are encoded: %C2%B0C is “°C”.
token=dev_…The key, if the system cannot set an Authorization header.

Grafana

Grafana 9 and later (Grafana Alerting).

  1. Alerting → Contact points → + Add contact point.
  2. Name: pushme, Integration: Webhook.
  3. URL: https://put.pushme.tech/v1/hook/grafana
  4. Optional Webhook settings: HTTP Method POST, Authorization Header – Scheme Bearer, Authorization Header – Credentials dev_….
  5. Click Test — a test notification arrives. Save.
  6. Alerting → Notification policies: make pushme the default contact point or route the labels you need to it.

If a rule has a single value (say, a temperature), it is sent as value, so subscribers can set thresholds. Set the unit in the URL: …/v1/hook/grafana?unit=%C2%B0C (the encoded “°C”). The text comes from the Summary (or Description) annotation.

With provisioning files:

apiVersion: 1
contactPoints:
  - orgId: 1
    name: pushme
    receivers:
      - uid: pushme
        type: webhook
        settings:
          url: https://put.pushme.tech/v1/hook/grafana
          httpMethod: POST
          authorization_scheme: Bearer
          authorization_credentials: dev_…

Prometheus Alertmanager

Add a receiver to alertmanager.yml:

route:
  receiver: pushme
  group_by: [alertname]
  routes:
    - receiver: pushme-oncall          # critical: acknowledgement and escalation
      matchers: [severity="critical"]

receivers:
  - name: pushme
    webhook_configs:
      - url: https://put.pushme.tech/v1/hook/alertmanager
        send_resolved: true
        http_config:
          authorization:
            credentials: dev_…

  - name: pushme-oncall
    webhook_configs:
      - url: https://put.pushme.tech/v1/hook/alertmanager?ack=1&escalate=600
        send_resolved: true
        http_config:
          authorization:
            credentials: dev_…

Reload the configuration (curl -X POST http://localhost:9093/-/reload). An alert group arrives as one message: “🔴 HighCPU ×3” with “instance: summary” lines. The text comes from the summary or description annotations — add them to your Prometheus rules:

- alert: HighCPU
  expr: 100 - avg by (instance) (rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100 > 90
  for: 5m
  labels:
    severity: critical
  annotations:
    summary: "CPU {{ $value | printf \"%.0f\" }}%"

Test without Prometheus:

curl -H "Authorization: Bearer dev_…" -H "Content-Type: application/json" \
  https://put.pushme.tech/v1/hook/alertmanager \
  -d '{"status":"firing","commonLabels":{"alertname":"Test"},"alerts":[{"status":"firing",
       "labels":{"alertname":"Test","instance":"web-1"},"annotations":{"summary":"Connectivity check"}}]}'

Uptime Kuma

  1. Settings → Notifications → Setup Notification.
  2. Notification Type: Webhook, Friendly Name: pushme.
  3. Post URL: https://put.pushme.tech/v1/hook/uptimekuma
  4. Request Body: Preset – application/json.
  5. Turn on Additional Headers and paste:
{"Authorization": "Bearer dev_…"}
  1. Click Test, then Save. Enable the notification on your monitors (or tick “Default enabled” and “Apply on all existing monitors”).

Each monitor gets its own branch uptime/<monitor>. “🔴 Down” arrives with priority high; “✅ Up” replaces it in the feed and carries the response time in milliseconds.

Zabbix

Zabbix 6.0 and later. Create your own Webhook media type.

  1. Alerts → Media types → Create media type (Zabbix 6.0: Administration → Media types).
  2. Name: pushme, Type: Webhook.
  3. Parameters:
NameValue
token{ALERT.SENDTO}
subject{ALERT.SUBJECT}
message{ALERT.MESSAGE}
severity{EVENT.NSEVERITY}
event_value{EVENT.VALUE}
event_id{EVENT.ID}
host{HOST.HOST}
  1. Script:
var p = JSON.parse(value);
function seg(s) { return String(s || '').toLowerCase().replace(/[^a-z0-9_.-]+/g, '-').replace(/^[-_.]+|[-_.]+$/g, '').substring(0, 40) || 'host'; }
function cut(s, n) { s = String(s || ''); return s.length > n ? s.substring(0, n - 1) + '…' : s; }
var problem = p.event_value === '1';
var sev = parseInt(p.severity, 10) || 0;   // 0 not classified … 5 disaster
var body = {
    path: 'zabbix/' + seg(p.host),
    title: cut((problem ? '🔴 ' : '✅ ') + p.subject, 64),
    text: cut(p.message, 512),
    priority: !problem ? 'normal' : sev >= 5 ? 'critical' : sev >= 3 ? 'high' : sev >= 1 ? 'normal' : 'low',
    collapse_key: 'zbx-' + p.event_id
};
var req = new HttpRequest();
req.addHeader('Content-Type: application/json');
req.addHeader('Authorization: Bearer ' + p.token);
var resp = req.post('https://put.pushme.tech/v1/publish', JSON.stringify(body));
if (req.getStatus() !== 200) { throw 'pushme: HTTP ' + req.getStatus() + ' ' + resp; }
return 'OK';
  1. On the Message templates tab add Problem and Problem recovery templates (the defaults are fine).
  2. Give a user (Users → Users → Media) the pushme media with the key dev_… in Send to.
  3. In Alerts → Actions → Trigger actions send to this user via pushme in Operations and Recovery operations.

Each host gets its own branch zabbix/<host>. Severity “Disaster” arrives as critical, “Average” and “High” as high; recovery replaces the problem message.

Home Assistant

In secrets.yaml:

pushme_auth: "Bearer dev_…"

In configuration.yaml:

rest_command:
  pushme:
    url: https://put.pushme.tech/v1/publish
    method: post
    headers:
      authorization: !secret pushme_auth
    content_type: "application/json; charset=utf-8"
    payload: >-
      {"path": "{{ path }}",
       "title": {{ title | default('') | tojson }},
       "text": {{ message | default('') | tojson }},
       "priority": "{{ priority | default('normal') }}"
       {%- if value is defined %}, "value": {{ value }}, "unit": {{ unit | default('') | tojson }},
       "collapse_key": "{{ path }}"{% endif %}}

Restart Home Assistant. Now the rest_command.pushme action can be used in any automation:

automation:
  - alias: "Kitchen leak"
    triggers:
      - trigger: state
        entity_id: binary_sensor.kitchen_leak
        to: "on"
    actions:
      - action: rest_command.pushme
        data:
          path: home/leak/kitchen
          title: "Leak"
          message: "The kitchen sensor went off"
          priority: critical

  - alias: "Greenhouse temperature"
    triggers:
      - trigger: state
        entity_id: sensor.greenhouse_temperature
    actions:
      - action: rest_command.pushme
        data:
          path: home/greenhouse/temp
          value: "{{ states('sensor.greenhouse_temperature') | float(0) }}"
          unit: "°C"
          priority: low

Send readings with priority: low: subscribers set their own threshold in the app (“tell me above 35 °C”), while the feed and the Live Activity always show the current value.

MQTT: ESP32, ESPHome, Tasmota, Zigbee2MQTT

pushme accepts events over MQTT like a regular broker — publish only: topics cannot be subscribed to, notifications go to subscribers in the app.

SettingValue
Serverput.pushme.tech, port 8883, TLS only (Let’s Encrypt certificate)
Passwordthe device key dev_…
Usernameanything
ProtocolMQTT 3.1.1 (or 3.1), QoS 0, 1 and 2
Topicthe branch: greenhouse/temp. Upper case and other characters are normalized

What the notification shows depends on the payload:

PayloadResult
23.5a reading (value) — subscribers set thresholds on it
ON, Door openedtext
{"text":"Leak","priority":"critical","ack":true}pushme fields as in the HTTP API: title, text, priority, value, unit, collapse_key, ack…
{"temperature":21.5,"battery":90} (foreign JSON)the text “temperature: 21.5 · battery: 90”; a single number becomes the reading

If the client sets a Last Will, it is published when the connection drops — that is how subscribers learn the device is gone.

Mind the limit: 300 messages per day per device is one message every 5 minutes. Send readings less often or only on change, and turn off service topics (logs, telemetry).

Test from a computer

mosquitto_pub -h put.pushme.tech -p 8883 --capath /etc/ssl/certs \
  -u test -P "dev_…" -t greenhouse/temp -m 23.5

ESPHome (ESP32)

mqtt:
  broker: put.pushme.tech
  port: 8883
  username: greenhouse            # anything
  password: !secret pushme_token  # dev_…
  discovery: false
  log_topic: null                 # do not send the device log
  topic_prefix: greenhouse
  certificate_authority: |
    -----BEGIN CERTIFICATE-----
    … ISRG Root X1: https://letsencrypt.org/certs/isrgrootx1.pem …
    -----END CERTIFICATE-----

sensor:
  - platform: dht
    pin: GPIO4
    temperature:
      name: temp
      filters:
        - delta: 0.5              # only on a 0.5° change
    update_interval: 10min

The reading appears in the branch greenhouse/sensor/temp/state, and ESPHome itself writes online and offline to greenhouse/status. On ESP8266, where TLS is too heavy, use the http_request component and the HTTP API.

Tasmota

A build with TLS support is required. In the device console:

Backlog MqttHost put.pushme.tech; MqttPort 8883; MqttUser tasmota; MqttPassword dev_…; SetOption103 1; Topic plug1; TelePeriod 3600

SetOption103 1 turns TLS on, TelePeriod 3600 sends telemetry hourly instead of every five minutes. Switching arrives in the branch stat/plug1/power, connectivity in tele/plug1/lwt.

Arduino (ESP32, PubSubClient)

#include <WiFi.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>

WiFiClientSecure net;
PubSubClient mqtt(net);

void setup() {
  WiFi.begin("wifi", "password");
  while (WiFi.status() != WL_CONNECTED) delay(500);
  net.setCACert(ISRG_ROOT_X1);        // the Let’s Encrypt root certificate
  mqtt.setServer("put.pushme.tech", 8883);
}

void loop() {
  if (!mqtt.connected())
    mqtt.connect("esp32-greenhouse", "esp32", "dev_…", "greenhouse/status", 0, false, "offline");
  mqtt.loop();
  static unsigned long last = 0;
  if (millis() - last > 600000) {     // every 10 minutes
    last = millis();
    mqtt.publish("greenhouse/temp", String(readTemperature(), 1).c_str());
  }
}

Zigbee2MQTT and your own Mosquitto broker

If devices already publish to your broker, forward only the topics you need with a bridge in /etc/mosquitto/conf.d/pushme.conf:

connection pushme
address put.pushme.tech:8883
remote_username z2m
remote_password dev_…
bridge_capath /etc/ssl/certs
try_private false
notifications false
cleansession true
topic zigbee2mqtt/kitchen_leak out 0
topic zigbee2mqtt/greenhouse out 0

The try_private false line is required. List specific topics, not #, or the limit will be used up in minutes.

Alarm and fire panels: Contact ID (SIA DC-09)

Panels and communicators that send Contact ID over the internet (SIA DC-09, ADM-CID) — for example Bolid С2000-PGE — report straight to pushme. No server, scripts or bot of your own.

  1. In the dashboard open the device → Contact ID → Turn on. pushme issues an account number; you can also set your own — the one already in the panel (e.g. 1) — if it is free.
  2. In the panel add a destination: address put.pushme.tech (or the IP shown in the dashboard if the panel takes no host names), port 5000, UDP or TCP, protocol SIA DC-09 / Contact ID, the account number.
  3. Optionally issue a key and turn on AES encryption in the panel — then events cannot be forged.
  4. Upload the names: a PProg configuration (С2000М) or CSV — partitions, zones and users appear in the messages. The file is parsed in the browser; the panel's passwords are not sent.
  5. Set the link check a little longer than the panel's test period — a lost link raises “Link to the panel lost”.
Contact ID codeBranchDelivery
110–119fire/pNN — Firecritical, “Got it”, mandatory
100–109, 120–199alarm/pNN — Alarmsimportant, “Got it”, mandatory
200–399trouble/pNN — Troublesnormal
400–499arm/pNN — Arm/disarmquiet, with the user's name
500–699service/pNN — Servicequiet; tests 602/603 only check the link
qualifier 3 (restore)restore/…closes the original alarm

SIA DCS (beta): panels that send two-letter SIA codes instead of Contact ID connect the same way — codes go to the same branches. Checked on the standard's reference frames; if you have such a panel, write to us.

More in the guide. pushme notifies people; it is not a central monitoring station and does not replace a contract with a security company.

E-mail

For anything that can only send e-mail: cameras, NAS boxes, UPSes, printers, routers, legacy monitoring.

  1. In the dashboard open the device → Overview and API → E-mail intake → Enable an address for e-mail. You get an address like in+k7m2…@pushme.tech.
  2. Enter it as the notification recipient in your equipment settings.
  3. Send a test message — subscribers receive it as a notification.
In the messageIn the notification
Subjecttitle (up to 64 characters)
Bodytext (up to 512 characters); HTML is converted to text, the signature after “-- ” and quoted lines are dropped, attachments are ignored
[critical], [high] or [low] at the start of the subjectpriority; without a tag — from the message importance (High → high)
Address in+CODE.servers.backup@pushme.techbranch servers/backup; without the suffix — branch mail

The address is a secret: anyone who knows it can send a notification, and the sender address is not checked. If it leaks, issue a new one in the dashboard — the old one stops working at once. Messages to an unknown address or over the limit are dropped silently.

cron and shell

Keep the key in an environment variable, e.g. in /etc/environment or at the top of the crontab:

PUSHME_TOKEN=dev_…

Backup result:

#!/bin/sh
P="https://put.pushme.tech/v1/publish/servers/$(hostname -s | tr 'A-Z' 'a-z')/backup"
if /usr/local/bin/backup.sh > /tmp/backup.log 2>&1; then
  curl -fsS -H "Authorization: Bearer $PUSHME_TOKEN" "$P?priority=low" -d "Backup done"
else
  tail -c 400 /tmp/backup.log | curl -fsS -H "Authorization: Bearer $PUSHME_TOKEN" \
    "$P?priority=high" --url-query "title=Backup failed" --data-binary @-
fi

Disk usage every hour (0 * * * * /usr/local/bin/disk-to-pushme.sh):

#!/bin/sh
USED=$(df -P / | awk 'NR==2 {sub("%", "", $5); print $5}')
curl -fsS -H "Authorization: Bearer $PUSHME_TOKEN" -d "" \
  "https://put.pushme.tech/v1/publish/servers/$(hostname -s | tr 'A-Z' 'a-z')/disk?value=$USED&unit=%25&priority=low&collapse_key=disk"

A subscriber sets the condition “above 90” in the app and is notified only when the disk is almost full.

Python

Standard library only:

import json, os, urllib.request

def pushme(path, text="", title=None, priority="normal", **extra):
    """extra: value, unit, collapse_key, ack, escalate, i18n …"""
    body = {"path": path, "text": text, "title": title, "priority": priority, **extra}
    req = urllib.request.Request(
        "https://put.pushme.tech/v1/publish", data=json.dumps(body).encode(),
        headers={"Authorization": "Bearer " + os.environ["PUSHME_TOKEN"],
                 "Content-Type": "application/json"})
    with urllib.request.urlopen(req, timeout=10) as r:
        return json.load(r)

pushme("orders/new", "Order #1024, $45.00", title="New order")
pushme("climate/temp", value=23.4, unit="°C", priority="low", collapse_key="temp")
pushme("security/leak", "Kitchen", title="Leak", priority="critical", ack=True, escalate=600)

Any system with a webhook

A key in the URL may end up in proxy logs; pass it in the Authorization header where you can. If a key leaks, reissue it in the dashboard.