Back to AI Q&A
Hermes Agent ntfy Not Receiving Notifications? First, check the topic and gateway

Hermes Agent ntfy Not Receiving Notifications? First, check the topic and gateway

AI Q&A Admin 72 views

Hermes Agent is configured with ntfy but does not receive notifications on the phone. First, check the topic URL, whether the gateway is running, and whether the task has actually triggered the send_message. v0.15.0 added ntfy as a messaging platform. The advantage is that you don't need to register an account and can push messages using a single topic. But because it's simple, if the topic is written incorrectly or the gateway doesn't start, it's easy to miss the issue.

First, confirm whether Hermes sent the message

Don't doubt the NTFY service from the start. First, check the Hermes gateway log to confirm whether cron, Kanban completes events, or whether send_message in the dialogue is called. If Hermes never sends a message, the problem is triggered by the task; If it has already been sent but not received by ntfy, then check the topic, network, and server.

Shortest troubleshooting path

  1. Access your ntfy topic directly in your browser or command line, confirm that the topic exists and that the client subscribes to the same one.
  2. Confirm that the hermes gateway is running, especially if the service automatically boots up after the server restarts.
  3. Check whether the ntfy server URL and topic name in the configuration have any extra spaces or typos.
  4. If you are using self-hosted ntfy, check the reverse proxy, HTTPS certificate, and firewall.

Many cases where notifications are not received are due to "my phone subscribes to topic A, Hermes sends to topic B." Topic has no account system to cover you; the name must be exactly the same. When using the team, it's best to agree on naming rules; don't have everyone create a topic that looks pretty similar.

What scenarios are they suitable for?

ntfy is very suitable for personal servers, home automation, Kanban task completion reminders, and cron result notifications; It is not very suitable as an enterprise messaging system with strong auditing and strong permissions. It addresses the issue of "pushing results to my phone as quickly as possible," not replacing Slack, WeCom, or a complete ticketing system.

Recommended Tools

More