Home Assistant Telegram Notification Without a Bot

Home Assistant Telegram Notification Without a Bot

push.tg

Home Assistant's Telegram integration needs a BotFather bot, a chat_id and an allow-list. If you just want "front door opened" on your phone (or in the family group), one rest_command does it. Checked against the Home Assistant RESTful Command docs (October 2026).

Step 1: get your endpoint (30 seconds)

Open @trafficRobot in Telegram and press Start. You get an address like k3x9q@push.tg. Your endpoint is the part before the @: https://push.tg/k3x9q. Every example below uses k3x9q, so swap in your own key.

There's no bot to create, no chat_id to look up and no token to keep safe. Add @trafficRobot to a group and the group gets its own address, so the whole team sees the alerts.

Step 2: add a rest_command

In secrets.yaml:

pushtg_url: "https://push.tg/k3x9q"

In configuration.yaml:

rest_command:
  pushtg:
    url: !secret pushtg_url
    method: post
    content_type: "text/plain; charset=utf-8"
    payload: "{{ message }}"

Restart Home Assistant, or reload YAML. You now have an action called rest_command.pushtg.

Step 3: use it in automations

actions:
  - action: rest_command.pushtg
    data:
      message: "🚪 Front door opened at {{ now().strftime('%H:%M') }}"

You can test it from Developer Tools → Actions: pick RESTful Command: pushtg and pass message: hello.

Ideas

  • Washing machine done: trigger on power below 5 W for 3 minutes.
  • Leak sensor wet. Freezer above −10 °C. UPS on battery.
  • Send to a family group: add @trafficRobot to the group and use the group's address as a second rest_command.

Check that the message really arrived. push.tg answers HTTP 200 even when the key is wrong. The body says {"error":"no such user"} instead of {"ok":...}. So a green "test sent" in your tool doesn't prove delivery. Look at Telegram.

More copy-paste guides

Get your endpoint: t.me/trafficRobot?start=tg-home-assistant. It takes 30 seconds, it has no ads, and it has been running since 2016.

Report Page