ntfy Notifications Generator for Home Assistant

This tool helps you generate configurations for notifications sent from Home Assistant through the ntfy.sh integration. Visit pasevsu.github.io for more generators and projects.

Important Usage Information

Basic Settings

  • Server: Use the public ntfy.sh or your own server
  • Topic: Unique name that will identify your notifications
  • Title & Message: Required fields for every notification
  • Method: POST for most cases, PUT for specific scenarios

Additional Options

  • Priority: Determines the importance of the notification (min, low, default, high, urgent, max)
  • Tags: Add emojis for visual recognition
  • Icon & Image: URL to images for visual enrichment
  • Attachment: Link to files for download
  • Click URL: Opens when the notification is clicked

Actions (Action Buttons)

  • View: Button that opens a URL in the browser
  • HTTP: Sends an HTTP request to a specific endpoint
  • Clear: Automatically deletes the notification after clicking

Configuration

  • REST Command: notification with rest_command configuration.yaml
  • # configuration.yaml:
    rest_command: !include_dir_named yaml/rest_command
  • Service ั„ะพั€ะผะฐั‚: notification with Service (direct in automations)
  • # configuration.yaml:
    rest_command:
      ntfy_notification:
        url: !include yaml/ntfy/notification.yaml

Usage Tips

  • Detailed information about "ntfy", usage methods, configuration and documentation can be found on the official website https://docs.ntfy.sh/
  • Test your notifications before implementing them in automations
  • Use unique topics for different types of notifications
  • Combine actions and additional options for complex scenarios
  • We haven't added a field to enter your own tag, but after generating the code you can replace it with your desired one from the large list: list of tags

Common Uses

  • ๐Ÿ”” Home Assistant automation notifications
  • ๐Ÿšจ System alarms and warnings
  • ๐Ÿ“Š Device and sensor status reports
  • ๐Ÿ”— Quick access links to panels and tools
  • ๐Ÿ“Ž File and image sharing
Basic Settings
Actions

Basic Settings

Additional Options

Actions

Add action buttons to your notification

Configuration Preview

REST Command: For use with rest_command in configuration.yaml
Service Format: For direct use in automations
The file will be downloaded with .yaml extension
Configuration will appear here after clicking "Generate Configuration"

Ready Examples

Example 1: Standard Notification
Title, tags, priority and click URL
Example 2: File Attachment
File attachment with custom name
Example 3: "View" Action
Button to open URL
Example 4: HTTP Action
Interaction with Home Assistant via HTTP request
Example 5: Notification with Image
Notification with external image and preview