How to connect Home Assistant with NTFy to receive push notifications

Last update: 24/06/2026

  • Versatile integration through official components, HACS, or REST and Apprise protocols.
  • Ability to deploy using your own Docker servers for total data control.
  • Advanced notification support with attachments, priorities, labels, and interactive actions.
How to connect Home Assistant with NTFy

If you're into home automation, you know that receiving alerts on your phone when something happens at home is essential. ntfy presents itself as a solution. excellent HTTP-based which allows sending push notifications to smartphones or computers without complications, avoiding dependence on the closed ecosystems of large technology companies.

The best thing about it is that, being software completely open sourceYou have the freedom to use the official public instance or set up your own server at home. In this sense, integrating it with Home Assistant opens up a range of possibilities for your home to speak to you in real time, and thus you can receive push notifications efficiently.

Related article:
How can I receive push notifications?

Home Assistant integration methods

Home Assistant integration methods

There are several ways to make these two tools understand each other. The most modern option is to use the official NTFS integrationThis method allows you to publish messages to ntfy.sh services or personal instances. This approach is ideal because it allows you to manage specific topics and leverage event entities to trigger automations.

For those who prefer something more flexible, there is a custom component that can be installed via HACSThis method is very powerful because it supports file attachmentsJPEG compressed images and custom action buttons, all configurable from the file configuration.yaml.

If you don't want to install anything complex, you can use the platform Apprise as an intermediaryYou just need to define the ntfy URL in your notification settings, following the format ntfy://usuario:password@host:puerto/temaIt's a quick and effective solution that works wonders for those looking for absolute simplicity.

Related article:
How do I enable push notifications in the mobile app?

Finally, there are those who opt for the most direct route using the platform REST of Home AssistantBy configuring a POST method to the ntfy server URL, you can send the title and message directly. This is the preferred option for those who don't want to... depend on integrations external users prefer to handle JSON manually.

Exclusive content - Click Here  How to roll back a KB update in Windows 10 and 11: complete guide

Deploying your own server with Docker

Deploying a custom server with Docker to connect Home Assistant with NTFy

Setting up your own instance is the next level for privacy enthusiasts. The easiest way to do this is through Docker or Docker-ComposeUsing the official binwiederhier/ntfy image, it is vital to allocate the correct volumes for caching and configuration data. don't miss out when restarting the container.

To make the server accessible from outside the home, it is best to use a Cloudflare Tunnel or Nginx Proxy ManagerThis allows you to obtain a secure URL with HTTPS, which is essential if you want notifications to reach your mobile phone when you're not connected to your home Wi-Fi without exposing your data. dangerous ports on your router.

Related article:
How do I set up push notifications on my iOS device?

Regarding access control, NTFy allows you to block all traffic by default using the option auth-default-access: deny-all in the file server.ymlIn this way, only users with a authentication token Valid users will be able to read or write in the topics, preventing any curious person who guesses your URL from being able to send you spam.

Exclusive content - Click Here  Edge logs you out when you close the browser: causes and solutions

Advanced settings and features

Advanced Home Assistant configuration with NTFy

Once connected, you can experiment with message settings. Don't just send text; you can add alert prioritiesTags to categorize ads and links that open a specific website when clicked. It's even possible to send ZIP files or images resized to avoid saturating the bandwidth.

The official integration also provides very useful sensors that monitor the status of your account. You can follow the statistics of messages sent, your plan's daily limits and remaining attachment space. All of this is reflected in Home Assistant as diagnostic entities that warn you if you are reaching the service limit.

If you use your own instance, Home Assistant can create a updating entityThis lets you know instantly if a new version of NTFY is available for download, making it easier to keep your system up to date. advertising infrastructure always up-to-date and bug-free.

Use cases and creative automations

Notification settings

The potential is enormous. You can configure Home Assistant so that when it detects an intruder with the Frigate NVR, it sends an alert. notification with photo of the event through a "Critical Alerts" thread. By using high prioritiesThe phone may ring even if it is in do not disturb mode.

Exclusive content - Click Here  How to lock a folder in Windows 11 without external programs

Another interesting example is using n8n as a bridge. You can create a flow where a webhook receives a request from an internal menu, calculates data, and then uses ntfy to notify staff and, simultaneously, activate a script of TTS on Google Home to announce the order aloud in the kitchen.

To better organize the information, the ideal is to create multiple channelsFor example, one theme for general notifications (like the washing machine status) and another exclusively for emergencies (like a water leak). This way, you can configure your mobile app to different reaction depending on the importance of the topic subscribed to.

Having a robust notification system means combining the ease of use of NTFY with the power of Home Assistant. Whether through official integration, HACS, or a simple REST call, you gain complete control over your alerts, allowing you to manage everything from simple notifications to complex workflows. secure authentication and self-hosted servers that protect your privacy.